I finally got wxWindows 2.4.2 compiled and reasonably tested (I didn't manually compile all of the samples, but a lot of them and only had one not work).
Now I try and compile using Dev-C++ 4.9.8.1. I got the compile to work clean, but I get all kinds of linking errors. I feel that this is a forest and the trees thing where I just can't spot the error.
Directory Structure:
C:wx2
to compile the menu sample in C:wx2samplesmenu after setting my path to "set PATH=%PATH%;c:dev-cppbin;c:cygwinbin
Made the changes to dev-c++ with the same results (except for my successfully compiled locations of wxWindows). Everything went through the compile and stopped cold on the link just as before.
Help!
2. Re: Problems linking Dev-C++ and wxWindows 2.4.2
#2679
Posted by: 2003-09-27 02:56:28
Hi! Have you tried linking to libgdi32.a?
3. Re: Problems linking Dev-C++ and wxWindows 2.4.2
The question still remains - Is there an xref to libraries and objects?
Thanks for the help upcase!
5. Re: Problems linking Dev-C++ and wxWindows 2.4.2
#2688
Posted by: 2003-09-29 23:34:14
Hi again! It's not really an educational problem you're having :) I don't think that there's a list or something like that out telling you which object file resides in what library. Normally it's not that interesting. BUT: Try the Win32 API help helpfile. That's where all the important stuff is listed. There you can do a search for a specific function (not object file) like GetSaveFileName and you'll ind some info on it (usage etc.). There also should be some "quick info" telling you the correct library for that function in MSVC syntax (comdlg32.lib in that case). Although I normaly use wxWindows when doing GUI stuff this helpfile has been handy more than one time :)
upcase
6. Re: Problems linking Dev-C++ and wxWindows 2.4.2
Thanks for the heads up on checking the Win32 API help file. Unfortunately, I was trying to stay as far away as possible from Windowz, because I want it to be as cross-platform as possible but I guess I can't