Building codelite with codelite: stuck at windres invocation
Posted: Thu Mar 26, 2009 9:47 am
Hello, I'm new to what appears to be your excellent IDE and also somewhat new to the mingw toolset, and I'm having a small spot of problem building codelite:
https://codelite.svn.sourceforge.net/sv ... lite/trunk retrieved 3/23/09
with codelite, mingw, and wxwidgets as provided in:
codelite-1.0.2785-mingw3.4.5-wx2.8.7.exe
After manually fixing up the include and linker paths to add the appropriate wxwidget directories, all of the sources compiled, several libraries are created in the lib/gcc_lib subdirectory, a number of plugin dlls are created in Runtime/plugins and then I reach this error and the build stalls:
Running the following line from the command line successfully compiles the resource file:
I can also succesfully invoke it with --include-dir C:\wxWidgets-2.8.7\lib\gcc_dll\mswud
Some notes: this is on Windows XP, I've set the WXWIN and WXCFG environment variables, the mingw/bin directory is in my PATH, all required directories have space-less paths and filenames, and I've deleted the user-account=based TEMP and TMP and made a temp directory to point them (and TMPDIR) to. Also, I've placed wx-config in the windows directory. And it returns:
The only differences between my manual call of windres and the one issued by codelite seems to be argument order and some extra spaces emitted by codelite. I'd appreciate any insight into what I should alter in order to continue the build. Thank you!
https://codelite.svn.sourceforge.net/sv ... lite/trunk retrieved 3/23/09
with codelite, mingw, and wxwidgets as provided in:
codelite-1.0.2785-mingw3.4.5-wx2.8.7.exe
After manually fixing up the include and linker paths to add the appropriate wxwidget directories, all of the sources compiled, several libraries are created in the lib/gcc_lib subdirectory, a number of plugin dlls are created in Runtime/plugins and then I reach this error and the build stalls:
Code: Select all
windres -i "C:/projex/codelite/LiteEditor/code_parser.rc" --use-temp-file --define __WXMSW__ --define __UNICODE__ --include-dir C:\wxWidgets-2.8.7\lib\gcc_dll\mswu --include-dir C:\wxWidgets-2.8.7\include --define WXUSINGDLL --include-dir C:\projex\codelite\LiteEditor -o ./Debug/code_parser.rc.o
c:\MinGW-3.4.5\bin\windres.exe: CreateProcess (null): No such file or directory
Code: Select all
C:\TEMP>mkdir Debug
C:\TEMP>windres -i "C:/projex/codelite/LiteEditor/code_parser.rc" --use-temp-file --define __WXMSW__ --define __UNICODE__ --include-dir C:\wxWidgets-2.8.7\lib\gcc_dll\mswu --include-dir C:\wxWidgets-2.8.7\include --include-dir C:\projex\codelite\LiteEditor --define WXUSINGDLL -o ./Debug/code_parser.rc.o
C:\TEMP>CD Debug
C:\TEMP>Debug>ls -alF
drw-rw-rw- 2 xi 0 0 2009-03-24 10:35 ./
drw-rw-rw- 4 xi 0 0 2009-03-24 09:20 ../
drw-rw-rw- 1 xi 0 50922 2009-03-24 10:36 code_parser.rc.o
Some notes: this is on Windows XP, I've set the WXWIN and WXCFG environment variables, the mingw/bin directory is in my PATH, all required directories have space-less paths and filenames, and I've deleted the user-account=based TEMP and TMP and made a temp directory to point them (and TMPDIR) to. Also, I've placed wx-config in the windows directory. And it returns:
Code: Select all
C:\TEMP>wx-config --rcflags
--use-temp-fille --define __WXMSW --define __WXDEBUG__ --define _UNICODE_ --include-dir C:\wxWidgets-2.8.7\lib\gcc_dll\mswud --include-dir c:\wxWidgets-2.8.7\include --define WXUSINGDLL