Code::Blocks Forums
User forums => Help => Topic started by: dan on August 13, 2005, 03:03:09 am
-
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.
-
Could you give more information? What steps did you go through, which compiler are you using (gcc, ?), etc.
-
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?
-
I'm assuming that you compiled wxWidgets successfully using mingw. Check your project setting against these. Then click rebuild:
(http://www.geocities.com/grv575/wxg0.jpg)
(http://www.geocities.com/grv575/wxg1.jpg)
(http://www.geocities.com/grv575/wxg2.jpg)
(http://www.geocities.com/grv575/wxg3.jpg)
(http://www.geocities.com/grv575/wxg4.jpg)
(http://www.geocities.com/grv575/wxg5.jpg)
(http://www.geocities.com/grv575/wxg6.jpg)
(http://www.geocities.com/grv575/wxg7.jpg)
-
the "link library" has to be adjusted according to the used wxWidgets version to "wxmsw26" in standard wxWidgets builds.
-
Yeah, it's too bad you can't symlink to major/minor library versions like on linux to handle versioning transparently with windows.
-
Yeah, it's too bad you can't symlink to major/minor library versions like on linux to handle versioning transparently with windows.
Yes, you can, but only in Windows 2000/XP.
-
Yeah, it's too bad you can't symlink to major/minor library versions like on linux to handle versioning transparently with windows.
Yes, you can, but only in Windows 2000/XP.
As far as I know that only works on directories though, not on individual files so it'll be less neat than it is on Linux where a 'generic' name without version info is symlinked to another name (often in the same directory) with version info.
Oh, and it only works if you're actually using NTFS, not any FAT variants. Though I don't think many people still use FAT when NTFS is available.
-
Thank grv575 for answering me so clearly.
But it still can't work well, even after I recompiled wxWidgets library.
However, it can work well on another computer(also Windows XP).
ha~ it's so strange! ^^
-
Yeah, it's too bad you can't symlink to major/minor library versions like on linux to handle versioning transparently with windows.
Yes, you can, but only in Windows 2000/XP.
As far as I know that only works on directories though, not on individual files so it'll be less neat than it is on Linux where a 'generic' name without version info is symlinked to another name (often in the same directory) with version info.
Not true, it works with files and directories.