Answer the question
In order to leave comments, you need to log in
Why doesn't helloworld compile using wxWidgets?
Installed Code::Blocks IDE with pre-installed mingw, installed wxWidgets, compiled, set system variables, created a project using wxWidgets, specified the path variable to wxWidgets using a wizard, tried to build and run the project, but got a number of errors:
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_richtext
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_xrc
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_aui
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_dbgrid
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxbase28ud_odbc
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_media
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxbase28ud_net
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_gl
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_qa
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxbase28ud_xml
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_adv
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_html
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw28ud_core
C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -lwxbase28ud
collect2.exe: error: ld returned 1 exit status
Answer the question
In order to leave comments, you need to log in
The path C:/Soft/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ is actually ld.exe.
ld.exe is a dynamic DLL, it has nothing to do with your posts.
You don't have the DLLs for wxWidgets.
In fact, the current version of the library is the third.
For some reason, your linker is looking for libraries for 2.8
Well, after downloading this library from the official site, the first thing you need to do is compile it yourself.
According to instructions from the same site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question