User forums > Help

wxWidgets 2.6 (MSW, GCC) installation instructions

<< < (11/29) > >>

Serge2005:
Project   : wxWidgets application
Compiler  : GNU GCC Compiler (called directly)
Directory : C:\Proj\CODEBLOCKS\wxW\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: main.cpp
Linking executable: C:\Proj\CODEBLOCKS\wxW\wxWidgets.exe
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.4\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 4 seconds)
1 errors, 0 warnings
 

mandrav:
You 're still having wxmsw as a link library.
I told you before: replace it by wxmsw26...

Serge2005:
I have only libwxmsw26.a and added already it everywhere....
Project->Build options->Linker = C:\wx\lib\gcc_lib\libwxmsw26.a (both wxWidgets Application and default)
Project->Build options->Directories->Compiler = C:\wx\include (both wxWidgets Application and default)
Project->Build options->Directories->Linker = C:\wx\lib\gcc_lib (both wxWidgets Application and default)

:( I don't know where should I add libwxmsw26.a else? :(

rickg22:
We'd appreciate it if you deleted your previous 3 "doesn't work" comments that you posted after our answers :lol:

Serge2005:
:) Thank you mandrav, thank you rickg22, you really help me  :) I fixed problem....  :)
I fogot delete "wxmsw" entry in Project->Build options->Linker string.......
now it's OK  :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version