User forums > Help

failed to compile wxWidgets projects....

(1/2) > >>

dan:
I've tried to compile a wxWidgets project according to the following instruction
http://wiki.codeblocks.org/index.php/Compiling_wxWidgets_2.6.1_to_develop_Code::Blocks_%28MSW%29

However, the compiler had the message:

Linking executable: E:\wxWidgets.exe
mingw32-g++.exe: .objs\main.o: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

can anyone tell me the reason?
thanks.

grv575:
Could you give more information?  What steps did you go through, which compiler are you using (gcc, ?), etc.

dan:
I installed MinGW compiler and wxWidgets-2.6.1 as the instruction tells me step by step...
Building wxWidgets->Build the STC library->Copy libraries->Setting up paths

and then the compiler told me the message  :(
what cause .o files can't be built?

grv575:
I'm assuming that you compiled wxWidgets successfully using mingw.  Check your project setting against these.  Then click rebuild:









tiwag:
the "link library" has to be adjusted according to the used wxWidgets version to "wxmsw26" in standard wxWidgets builds.

Navigation

[0] Message Index

[#] Next page

Go to full version