User forums > Help

Compiling CodeBlocks

(1/3) > >>

grandzebu:
I'm trying to compile CodeBlocks.
- I have downloaded and compiled wxWidgets 2.6.2 --> OK
- I have installed TortoiseSVN --> OK
- With Tortoise I have downoaded the CB sources from svn://svn.berlios.de/codeblocks/trunk --> OK
- I have installed a nighty build of CB (Aug 4 2006) --> OK
but now ...
When I launch the build, CB stop on SDK build with this message :

-------------- Build: sdk in Code::Blocks ---------------
Running target pre-build steps
tools/autorevision/autorevision +wx +int +t . sdk/autorevision.h
'svn' n'est pas reconnu en tant que commande interne                      (EN: 'svn' is not an internal or external cmd, nor exe program)
ou externe, un programme executable ou un fichier de commandes.
Error: failed retrieving version information.
Process terminated with status -1 (2 minutes, 13 seconds)

Please help ! :cry:
GZ

mdelfede:

--- Quote from: grandzebu on August 09, 2006, 01:13:51 am ---............
-------------- Build: sdk in Code::Blocks ---------------
Running target pre-build steps
tools/autorevision/autorevision +wx +int +t . sdk/autorevision.h
'svn' n'est pas reconnu en tant que commande interne                      (EN: 'svn' is not an internal or external cmd, nor exe program)
ou externe, un programme executable ou un fichier de commandes.
Error: failed retrieving version information.
Process terminated with status -1 (2 minutes, 13 seconds)

Please help ! :cry:
GZ

--- End quote ---

You must install also the command-line version of svn, which is no more included in tortoise svn.
Just look in tortoise web site for the link.
svn.exe must be installed somewhere in your path, c:\mingw\bin should be a good place.

Ciao

Max

sethjackson:

--- Quote from: grandzebu on August 09, 2006, 01:13:51 am ---I'm trying to compile CodeBlocks.
- I have downloaded and compiled wxWidgets 2.6.2 --> OK
- I have installed TortoiseSVN --> OK
- With Tortoise I have downoaded the CB sources from svn://svn.berlios.de/codeblocks/trunk --> OK
- I have installed a nighty build of CB (Aug 4 2006) --> OK
but now ...
When I launch the build, CB stop on SDK build with this message :

-------------- Build: sdk in Code::Blocks ---------------
Running target pre-build steps
tools/autorevision/autorevision +wx +int +t . sdk/autorevision.h
'svn' n'est pas reconnu en tant que commande interne                      (EN: 'svn' is not an internal or external cmd, nor exe program)
ou externe, un programme executable ou un fichier de commandes.
Error: failed retrieving version information.
Process terminated with status -1 (2 minutes, 13 seconds)

Please help ! :cry:
GZ

--- End quote ---

I get that error all the time. However Code::Blocks never stops building.... BTW the version of wx C::B uses is 2.6.3. ;)

mdelfede:

--- Quote from: sethjackson on August 09, 2006, 03:23:30 am ---I get that error all the time. However Code::Blocks never stops building.... BTW the version of wx C::B uses is 2.6.3. ;)

--- End quote ---

Yes, I got it too before installing svn command line executable.
I think it's used to get the revision number (shown in help), but I'm not sure.

Ciao

Max

MortenMacFly:

--- Quote from: sethjackson on August 09, 2006, 03:23:30 am ---'svn' n'est pas reconnu en tant que commande interne                      (EN: 'svn' is not an internal or external cmd, nor exe program)

--- End quote ---
Make sure you have a svn.exe client software in your PATH. I assume that TortoiseSVN ships with the subversion command line tool (svn.exe). Expand your PATH environment accordingly and it'll work.
To verify, open a command promt and type "svn". This should not error but run the svn tool instead.
With regards, Morten.

Navigation

[0] Message Index

[#] Next page

Go to full version