User forums > Help

SVN trunk bild

<< < (2/2)

MasterAlexei:
O. May be that is problem source. I'll try to use the old one, with which I did compile the wx's

MasterAlexei:
It seems to me totally strange.
With MinGW 3.4.5 wx's compiles in about 1 minute without any problems,
but with the MinGW 4.6.1 and 4.6.2 wx's compiles about 20 minutes and on linkage stage it aborted with a message, that memory is exhausted.
But the problem then with MinGW 3.4.5 the CB does not compiles, it throws an error:


--- Code: ---[ 12.5%] mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE  -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0 -DwxPG_SUPPORT_TOOLTIPS    -I.objs\include -I- -I.objs\include -I. -ID:\Soft\SDKs\wxWidgets-2.8.10\include -ID:\Soft\SDKs\wxWidgets-2.8.10\\contrib\include -ID:\Soft\SDKs\wxWidgets-2.8.10\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Isdk\wxpropgrid\include -Iinclude -ID:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src -ID:\Soft\SDKs\CodeBlocksSVN\src -c D:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src\editors.cpp -o .objs\sdk\wxpropgrid\src\editors.o
cc1plus.exe: note: obsolete option -I- used, please use -iquote instead
In file included from D:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src\editors.cpp:63:0:
sdk\wxpropgrid\include/wx/propgrid/props.h:19:21: fatal error: editors.h: No such file or directory
compilation terminated.
--- End code ---

What I am doing wrong?
During the compilation of the wx's there is only MinGW/bin directory in a path, in both cases.

Alpha:

--- Quote from: MasterAlexei on April 09, 2012, 10:37:22 pm ---It seems to me totally strange.
With MinGW 3.4.5 wx's compiles in about 1 minute without any problems,
but with the MinGW 4.6.1 and 4.6.2 wx's compiles about 20 minutes and on linkage stage it aborted with a message, that memory is exhausted.

--- End quote ---
http://forums.codeblocks.org/index.php/topic,15283.0.html
CXXFLAGS="-fno-keep-inline-dllexport"

MasterAlexei:
Thanks, Alpha, it does work, and I was able to build the wx's.
But CB still does not builds because of the include files, that are missing

Actually the files are on the place, but this header was included from other .c file in other dir, but this header includes the editors.h file in the same dir as the header, but not the .c file, which includes the first header. Thus the quotas must be substitute with the triangle braces with some path. And this is not the only one place in CB Project.

That is why I do not understand, why other users are able to compile the CB, and I - not.


--- Code: ---[ 11.1%] mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE  -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0 -DwxPG_SUPPORT_TOOLTIPS    -I.objs\include -I- -I.objs\include -I. -ID:\Soft\SDKs\wxWidgets-2.8.10\include -ID:\Soft\SDKs\wxWidgets-2.8.10\\contrib\include -ID:\Soft\SDKs\wxWidgets-2.8.10\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Isdk\wxpropgrid\include -Iinclude -ID:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src -ID:\Soft\SDKs\CodeBlocksSVN\src -c D:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src\editors.cpp -o .objs\sdk\wxpropgrid\src\editors.o
cc1plus.exe: note: obsolete option -I- used, please use -iquote instead
In file included from D:\Soft\SDKs\CodeBlocksSVN\src\sdk\wxpropgrid\src\editors.cpp:63:0:
sdk\wxpropgrid\include/wx/propgrid/props.h:19:21: fatal error: editors.h: No such file or directory
compilation terminated.

--- End code ---

Tomorrow I'll try to fix this include issues, and will report here, if I was successful with the build.

MasterAlexei:
So. I did fix my dev Environment. It looks like that in a PATH variable MinGW must be as first one, and, if it possible - no cygwin dirs in path, then everything is compiling without a problems.
Ah, and this switch must be used too, when compiling wx's: CXXFLAGS="-fno-keep-inline-dllexport" (Thanks Alpha)

Now I can investigate my issue further (described here http://forums.codeblocks.org/index.php/topic,16178.msg109263.html#msg109263).
This thread can be closed, I think.

Navigation

[0] Message Index

[*] Previous page

Go to full version