Page 1 of 1
build
Posted: Thu Feb 19, 2009 7:28 pm
by asmcad
hi;
i built it with CodeLite as it says into the BuildInfo.txt , everything is okey. there is no error but when i click run. it's nothing happen?
how can i create executable CodeLite.exe file.
Re: build
Posted: Thu Feb 19, 2009 8:29 pm
by eranif
You will need to provide more info than that.
For example: what do u get in the 'Trace' and 'Output' tab of codelite?
Eran
Re: build
Posted: Fri Feb 20, 2009 6:34 am
by asmcad
sure you're absolutely right ; sorry .
i'm using windows XP with service pack 2.
Build :
Code: Select all
...
----------Building project:[ LiteEditor - WinReleaseUnicode ]----------
Executing Pre Build commands ...
autorev .
'svn' is not recognized as an internal or external command,
Done
operable program or batch file.
windres -i "C:/Documents and Settings/galois galois/Desktop/CodeLite/trunk/LiteEditor/code_parser.rc" --use-temp-file --define __WXMSW__ --define _UNICODE --include-dir C:\wxWidgets-2.8.9\lib\gcc_dll\mswu --include-dir C:\wxWidgets-2.8.9\include --define WXUSINGDLL -o ./Release/code_parser.rc.o
gcc: C:/Documents: No such file or directory
gcc: and: No such file or directory
gcc: Settings/galois: No such file or directory
gcc: galois/Desktop/CodeLite/trunk/LiteEditor/code_parser.rc: No such file or directory
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
windres: gcc exited with status 1
mingw32-make.exe[1]: *** [Release/code_parser.rc.o] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
mingw32-make.exe: *** [All] Error 2
----------Build Ended----------
0 errors, 0 warnings, total time: 00:08:10 seconds
Trace:
Code: Select all
13:11:37: Loaded debugger: GNU gdb debugger, Version: v1.0
13:11:37: Loaded plugin: Abbreviation plugin
13:11:37: Loaded plugin: Source Code Formatter (AStyle)
13:11:37: Loaded plugin: Continuous build plugin which compiles files on save and report errors
13:11:37: Loaded plugin: Copyright Plugin - a small plugin that allows you to place copyright block on top of your source files
13:11:37: Loaded plugin: Cscope Integration for CodeLite
13:11:37: Loaded plugin: A plugin that allows user to launch external tools from within CodeLite
13:11:37: Loaded plugin: Gizmos Plugin - a collection of useful utils for C++
13:11:37: Loaded plugin: Snippet wizard
13:11:37: Loaded plugin: Subversion
13:11:37: Loaded plugin: A Unit test plugin based on the UnitTest++ framework
13:11:37: Loaded plugin: wxFormBuilder integration with CodeLite
13:11:37: Loading accelerators from 'C:\Program Files\CodeLite/config/accelerators.conf.default'
13:11:37: Loading accelerators from 'C:\Program Files\CodeLite\plugins\resources\abbreviation.accelerators'
13:11:37: Loading accelerators from 'C:\Program Files\CodeLite\plugins\resources\external_tools.accelerators'
13:11:37: Loading accelerators from 'C:\Program Files\CodeLite/config/accelerators.conf.default'
13:11:37: Loading accelerators from 'C:\Program Files\CodeLite\plugins\resources\abbreviation.accelerators'
13:11:37: Loading accelerators from 'C:\Program Files\CodeLite\plugins\resources\external_tools.accelerators'
13:11:38: Error: Execution of command '"svn" status --xml --non-interactive --no-ignore -q "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\CodeFormatter" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\CodeLite" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\ContinuousBuild" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Copyright" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Debugger" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\ExternalTools" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Gizmos" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\InnoSetup" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Interfaces" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\LiteEditor" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Plugin" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Runtime" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Runtime\config" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Runtime\rc" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\SnipWiz" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Subversion" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\SymbolView" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\UnitTestCPP" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\abbreviation" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\cscope" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sdk\codelite_indexer\network" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sdk\wxpropgrid\include\wx\propgrid" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sdk\wxpropgrid\src" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sdk\wxscintilla\include\wx" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sdk\wxscintilla\src" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sdk\wxscintilla\src\scintilla\include" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sdk\wxscintilla\src\scintilla\src" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sdk\wxsqlite3\include\wx" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sdk\wxsqlite3\src" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\sqlite3" "C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\wxformbuilder" ' failed (error 2: the system cannot find the file specified.)
13:11:38: Error: XML parsing error: 'no element found' at line 1
13:11:38: Error: XML parsing error: 'no element found' at line 1
13:11:38: Install path: C:\Program Files\CodeLite
13:11:38: Startup Path: C:\Program Files\CodeLite
13:11:39: Info: CodeLite is up-to-date (or newer), version used: 2759, version on site:2759
and the Output tab is emty(?)
after click "run" button "Output" tab is
Code: Select all
Current working directory: C:\Documents and Settings\galois galois\Desktop\CodeLite\trunk\Runtime
Running program: ./CodeLite.exe -b .
Thanks
Re: build
Posted: Fri Feb 20, 2009 12:16 pm
by eranif
As you can see, mingw does not work properly when trying to compile files with spaces in their path.
Move codelite directory from:
Code: Select all
C:/Documents and Settings/galois galois/Desktop/CodeLite
to other path without space, e.g:
In addition, it is recommended that you install svn command line client (not TortoiseSVN) from here:
http://subversion.tigris.org/servlets/P ... derID=8100
Download the zip file extract it somewhere, and add it to your PATH variable.
Eran
Re: build
Posted: Fri Feb 20, 2009 2:00 pm
by asmcad
i did it ; it works!
i'm curious about "space problem " is about CodeLite or MinGw? also isn't it bug?
Thans a lot!