User forums > Help

wxWidgets 2.6 (MSW, GCC) installation instructions

<< < (6/29) > >>

jmccay:
I got it compiling.  Just incase anyone else has the problem, I will post what I had done.  When I installed mingw32-make.exe I installed it under the mingw directory, and I put that path under the path environment variable.  It didn't have all the other files.  I copied the file into the main bin directory with the other programs, and then reset the path variable to that directory.  After that I tried compiling with mingw32-make at the command prompt.  It's compiling upstairs as I type this.  We'll see if I have other problems.  I added --jobs=3 to the arguments because that should allow 3 to compile at once if possible.  Thanks for the help.  :)
jmccay

mandrav:

--- Quote ---I added --jobs=3 to the arguments because that should allow 3 to compile at once if possible.
--- End quote ---

AFAIK this doesn't work under windows...

Yiannis.

jmccay:
I did eventually find out that --jobs doesn't work without sh.  Oh well.  After compiling successfully, I found out I didn't have the same version of Mingw as that in the packaged version of cb.  I got a compiled with different versions error.

   I decided to set my path to the codeblocks bin (C:\Program Files\CodeBlocks\bin) and (C:\Program Files\CodeBlocks\mingw32\bin) and now I get a bunch of duplicate warnings similar to:


--- Code: ---../../include/wx/string.h:58: warning: type attributes are honored only at type definition
--- End code ---

then at the end I get stuff like this:


--- Code: ---gcc_mswdll\basedll_archive.o(.data$_ZTI21wxArchiveClassFactory[typeinfo for wxAr
chiveClassFactory]+0x0):archive.cpp: first defined here
gcc_mswdll\basedll_zipstrm.o(.rdata$_ZTS21wxArchiveClassFactory[typeinfo name fo
r wxArchiveClassFactory]+0x0):zipstrm.cpp: multiple definition of `typeinfo name
 for wxArchiveClassFactory'
--- End code ---

   I want to make sure wxWidegts 2.6.1 with patch is compiled with the same version as CodeBlocks.  Unfortunately, downloading a new version of Mingw until I get my car back from the shop.  Any suggestions.  Once I get everything up and running I want to help out with cb development.  I like cb because of its modular design.
jmccay

mandrav:

--- Quote from: jmccay on July 24, 2005, 09:19:31 pm ---   I decided to set my path to the codeblocks bin (C:\Program Files\CodeBlocks\bin) and (C:\Program Files\CodeBlocks\mingw32\bin) and now I get a bunch of duplicate warnings similar to:


--- Code: ---../../include/wx/string.h:58: warning: type attributes are honored only at type definition
--- End code ---

--- End quote ---

About the million warnings when compiling wx itself or a wx-based app (talking about wx2.6.1), I found that if you use gcc-3.4.4 they don't appear  :?
Previous C::B-mingw bundles provided gcc-3.4.2 IIRC. The next release, due out any time now, will contain gcc-3.4.4 so these warnings will be history, hopefully.

Yiannis.

kagerato:

--- Quote from: mandrav on July 24, 2005, 10:20:24 pm ---About the million warnings when compiling wx itself or a wx-based app (talking about wx2.6.1), I found that if you use gcc-3.4.4 they don't appear  :?
Previous C::B-mingw bundles provided gcc-3.4.2 IIRC. The next release, due out any time now, will contain gcc-3.4.4 so these warnings will be history, hopefully.

Yiannis.

--- End quote ---

I was wondering what all that talk about mass warnings was about.  About two weeks ago I compiled wxWidgets with GCC 3.4.x and didn't receive any error or warning messages.  Glad that mystery is solved.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version