Trouble compiling CodeLite
Posted: Sat Jan 07, 2012 10:29 am
Hi all,
after a while I tried again to compile CodeLite myself but it seems I always run into trouble.
I do have the sources in a path with spaces (and actually I don't really want to change that).
When I start compiling I immediately get an error:
...and so on.
The command line looks like:
So you see where the trouble comes from: The include directories are not being quoted. I thought I can quickly change that, but the wx-config tool is used to get all these parameters in once and I didn't find a setting to "force" quotes around include paths (I guess it's the same for the linker / resource compiler etc...).
So... do I have to manually adjust the flags not using wx-config, or can I (somehow) force CodeLite/wx-config to use quotes or 8.3 file names? I recall Code::Blocks offered an option to quote path's if needed and I was hoping I can do the same with CodeLite?
after a while I tried again to compile CodeLite myself but it seems I always run into trouble.
I do have the sources in a path with spaces (and actually I don't really want to change that).
When I start compiling I immediately get an error:
Code: Select all
g++: error: Files: No such file or directory
The command line looks like:
Code: Select all
g++ -c precompiled_header_release.h -O2 -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\My Files\CodeLite\wxWidgets\lib\gcc_dll\mswu -IC:\My Files\CodeLite\wxWidgets\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -I. -I.
So... do I have to manually adjust the flags not using wx-config, or can I (somehow) force CodeLite/wx-config to use quotes or 8.3 file names? I recall Code::Blocks offered an option to quote path's if needed and I was hoping I can do the same with CodeLite?