Page 1 of 1

Build 2419 problem

Posted: Fri Nov 14, 2008 4:56 am
by coder99
Earlier todya I downloaded and installed build 2419.

All looks good, except, after building a small project with 2402 I have a linker problem:

Code: Select all

Building: 
"mingw32-make.exe"  -j 2 -f "wxF_wsp.mk"
----------Building project:[ wxF - Debug ]----------
g++ -o Debug/wxF.exe Debug/wxF.o  "-L"d:/wxWidgetsEclipse2.8.9/lib/gcc_lib""  -lwxmsw28d_core -lwxbase28d_net -lwxbase28d -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexd -lwxexpatd -lwinmm -lcomctl32 -lrpcrt4 -lwsock32 -lodbc32  -O0    /LIBPATH:d:\wxMSW-2.8.8\lib\vc_dll wxmsw28ud_xrc.lib wxmsw28ud_qa.lib wxmsw28ud_html.lib wxmsw28ud_adv.lib wxmsw28ud_core.lib wxbase28ud_xml.lib wxbase28ud_net.lib wxbase28ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib wxregexud.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib  -mwindows 
g++.exe: /LIBPATH:d:wxMSW-2.8.8libvc_dll: No such file or directory
g++.exe: wxmsw28ud_xrc.lib: No such file or directory
g++.exe: wxmsw28ud_qa.lib: No such file or directory
g++.exe: wxmsw28ud_html.lib: No such file or directory
g++.exe: wxmsw28ud_adv.lib: No such file or directory
g++.exe: wxmsw28ud_core.lib: No such file or directory
g++.exe: wxbase28ud_xml.lib: No such file or directory
g++.exe: wxbase28ud_net.lib: No such file or directory
g++.exe: wxbase28ud.lib: No such file or directory
g++.exe: wxtiffd.lib: No such file or directory
g++.exe: wxjpegd.lib: No such file or directory
g++.exe: wxpngd.lib: No such file or directory
g++.exe: wxzlibd.lib: No such file or directory
g++.exe: wxregexud.lib: No such file or directory
g++.exe: wxexpatd.lib: No such file or directory
g++.exe: kernel32.lib: No such file or directory
g++.exe: user32.lib: No such file or directory
g++.exe: gdi32.lib: No such file or directory
g++.exe: comdlg32.lib: No such file or directory
g++.exe: wxregexud.lib: No such file or directory
g++.exe: winspool.lib: No such file or directory
g++.exe: winmm.lib: No such file or directory
g++.exe: shell32.lib: No such file or directory
g++.exe: comctl32.lib: No such file or directory
g++.exe: ole32.lib: No such file or directory
g++.exe: oleaut32.lib: No such file or directory
g++.exe: uuid.lib: No such file or directory
g++.exe: rpcrt4.lib: No such file or directory
g++.exe: advapi32.lib: No such file or directory
g++.exe: wsock32.lib: No such file or directory
mingw32-make[1]: *** [Debug/wxF.exe] Error 1
mingw32-make.exe: *** [All] Error 2
0 errors, 0 warnings, total time: 00:00:00 seconds
----------Build Ended----------
In this case I have NOT set any environment variables within CL and my linker library path is set to only:

"d:/wxWidgetsEclipse2.8.9/lib/gcc_lib"

Re: Build 2419 problem

Posted: Fri Nov 14, 2008 5:19 am
by eranif
I think that for some reason your project (g++) is trying to link vs VC libs.
You should at least set WXCFG and WXWIN for wx-config to work properly (unless they are set in your Windows environement and points to VC ....)

Eran

Re: Build 2419 problem

Posted: Fri Nov 14, 2008 5:59 am
by coder99
Yes, at the system level, WXWIN is set to point to the older MSVC libraries

Setting a new environment variable with the same name inside CL pointing to the libraries compatible with gcc seems to do the trick.