Page 1 of 1

Can not build rev. 4052

Posted: Sat Apr 17, 2010 1:15 am
by DSP_Programmer
Hi Eran,

I did a clean checkout on rev. 4052 and tried to build CL myself on a Windows Vista machine. However, I have some troubles with it. Here is the build log:

Code: Select all

----------Build Started--------
C:\Windows\system32\cmd.exe /c ""mingw32-make.exe"  -j 2 -f "LiteEditor_wsp.mk""
----------Building project:[ sqlite3 - Common ]----------
mingw32-make.exe[1]: Entering directory `S:/svn/user/code/c/codelite/sqlite3'
gcc -c  "S:/svn/user/code/c/codelite/sqlite3/sqlite3.c" -O2  -o ./Release_static/sqlite3.o "-I." "-I." 
ar rcus ../lib/gcc_lib/libsqlite3.a ./Release_static/sqlite3.o 
mingw32-make.exe[1]: Leaving directory `S:/svn/user/code/c/codelite/sqlite3'
----------Building project:[ wxscintilla - WinReleaseUnicode ]----------
mingw32-make.exe[1]: Entering directory `S:/svn/user/code/c/codelite/sdk/wxscintilla'
g++ -c  "S:/svn/user/code/c/codelite/sdk/wxscintilla/src/wxscintilla.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -D_UNICODE -IC:\wxWidgets-2.8.10\lib\gcc_dll\mswu -IC:\wxWidgets-2.8.10\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0    -O2 -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL  -o src/WinReleaseUnicode/wxscintilla.o "-I." "-I." "-I./include" "-Isrc/scintilla/include" "-Isrc/scintilla/src" 
Assembler messages:
FATAL: can't create src/WinReleaseUnicode/wxscintilla.o: No such file or directory
g++ -c  "S:/svn/user/code/c/codelite/sdk/wxscintilla/src/PlatWX.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -D_UNICODE -IC:\wxWidgets-2.8.10\lib\gcc_dll\mswu -IC:\wxWidgets-2.8.10\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0    -O2 -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL  -o src/WinReleaseUnicode/PlatWX.o "-I." "-I." "-I./include" "-Isrc/scintilla/include" "-Isrc/scintilla/src" 
Assembler messages:
FATAL: can't create src/WinReleaseUnicode/PlatWX.o: No such file or directory

Do you have any idea what could be wrong here?

Thanks.

Re: Can not build rev. 4052

Posted: Sat Apr 17, 2010 9:47 am
by eranif
Maybe a permission problems?
It seems like that make is not allowed create directories
Eran

Re: Can not build rev. 4052

Posted: Sun Apr 18, 2010 11:27 pm
by DSP_Programmer
Hi Eran,

after starting the build, the directory:

1.) ../wxscintilla/WinReleaseUnicode

was added by the makefile

However, I had to add the directories

2.) ../wxscintilla/src/WinReleaseUnicode

and

3.) ../wxscintilla/src/scintilla/src/WinReleaseUnicode

myself manually to make all files compile.

After all files seem to compile (see build log) I have the following contents:

1.) contains src_Autocomplete.o.d ... src_XPM.o.d
2.) contains PlatWX.o ...
3.) contains Autocomplete.o

So when the archiver is called, there is no src_PlatWX.o within 1.) but only src_PlatWX.o.d

Any ideas what goes wrong here?

I attached the build log and the makefile for wxscintilla.

Re: Can not build rev. 4052

Posted: Mon Apr 19, 2010 10:40 am
by eranif
Which version of codelite are you using?

I did a clean checkout, and my build output is different, for example, this is the compilation line from PlatWX.cpp:

Code: Select all

g++ -c  "C:/Development/C++/codelite_clean/CL_trunk/sdk/wxscintilla/src/PlatWX.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -D_UNICODE -IC:\wxWidgets-2.8.10\lib\gcc_dll\mswu -IC:\wxWidgets-2.8.10\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0    -O2 -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL  [b]-o WinReleaseUnicode/src_PlatWX.o[/b] "-I." "-I." "-I./include" "-Isrc/scintilla/include" "-Isrc/scintilla/src" 
Note that the object file is WinReleaseUnicode/src_PlatWX.o

Eran

Re: Can not build rev. 4052

Posted: Mon Apr 19, 2010 10:43 am
by DSP_Programmer
Hi Eran,

I used a self compiled rev. 4040 for this.

So as my output is:

-o src/WinReleaseUnicode/PlatWX.o

there must be a difference in the makefile I guess. For this I added my makefile. Note the 3 different locations of "WinReleaseUnicode" in my build as well.

Re: Can not build rev. 4052

Posted: Tue Apr 20, 2010 9:39 am
by eranif
This one was of the fixes of 4032: there is now a single location for the intermediate directory (i.e. WinReleaseUnicode) per project, your makefile seems to think otherwise :)

Eran

Re: Can not build rev. 4052

Posted: Tue Apr 20, 2010 2:45 pm
by DSP_Programmer
Hi Eran,

Finally I solved this issue like this:

- I installed the complete CodeLite bundle on a clean XP machine
- I checked out rev. 4052
- I build the workspace with success

I don't know why it won't compile on my Vista-machine, but I will not try to find out.