User forums > Help
wxWidgets-2.8.7 not linking
Zoom:
Hi, Dje!
Has compiled with UNICODE=1, the same result...
Maybe error in gcc?
What version gcc you will recommend?
Or to download Code::Blocks together with MinGW - codeblocks-8.02mingw-setup.exe?
--
mingw32-g++.exe -v
Reading specs from C:/MinGWStudio/MinGW/bin/../lib/gcc-lib/mingw32/3.3.1/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=
mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable
-languages=c,c++,f77,objc,ada,java --disable-win32-registry --disable-shared --e
nable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-ja
va-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchroniz
ation
Thread model: win32
gcc version 3.3.1 (mingw special 20030804-1)
dje:
Hi !
"Official" version is 3.4.5 on XP.
You can download a working version on C::B site (Vista compatible).
Dje
Deschamps:
--- Quote from: Zoom on April 21, 2008, 03:14:25 am ---Maybe error in gcc?
What version gcc you will recommend?
Or to download Code::Blocks together with MinGW - codeblocks-8.02mingw-setup.exe?
--- End quote ---
It seems to me like a wrong config in your project, so the linker hasn't been able to find the wxWidgets shared libraries. If you have built and are using different versions (different combinations with shared/static, debug/release, unicode/non-unicode, etc), try to specify the path to the appropiate build in your 'Linker search path' project' options for each case. And remember to update the libraries names used in your project if you want to recompile the same project against different versions (for instance: debug libraries have a "d" added to their name, unicode ones have an "u", and so)... or add a new target build.
And also, bear in mind that using shared libraries you'll need to have a copy of your wxMSW dll's somewhere inside your system path, so the app can use them when running.
In regards to the gcc version, I'm using also 3.4.5 in Windows and all is running fine (I'm using C::B svn version -i.e. built from the svn sources-)
Regards.
Zoom:
I even specified a full path and name "C:\wxWidgets-2.8.7\lib\gcc_dll\libwxmsw28u.a" to library in 'Linker search directories' аnd also has created the new project which supports unicode...
аnd certainly I have copy 'dll' in a system path...
I will try now gcc 3.4.5
if it will be interesting to you I soon write here about results...
Seronis:
--- Quote from: Zoom on April 21, 2008, 03:34:46 pm ---I even specified a full path and name "C:\wxWidgets-2.8.7\lib\gcc_dll\libwxmsw28u.a" to library in 'Linker search directories' аnd also has created the new
--- End quote ---
well you put a file where it is asking for a directory.
C:\wxWidgets-2.8.7\lib\gcc_dll
needs to be in the linker search directory and
wxmsw28u
needs to be in the included libs
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version