Build error
BlitzMax Forums/Brucey's Modules/Build error
| ||
Windows XP: Building Modules Compiling:utf8_codecvt_facet.cpp In file included from C:/Program Files/BlitzMax/mod/bah.mod/boost.mod/src/boost/filesystem/config.hpp:31, from C:/Program Files/BlitzMax/mod/bah.mod/boost.mod/src/libs/filesystem/src/utf8_codecvt_facet.cpp:15: C:/Program Files/BlitzMax/mod/bah.mod/boost.mod/src/boost/filesystem/v3/config.hpp:49:5: #error Configuration not supported: Boost.Filesystem V3 and later requires std::wstring support Build Error: failed to compile C:/Program Files/BlitzMax/mod/bah.mod/boost.mod/src/libs/filesystem/src/utf8_codecvt_facet.cpp Process complete |
| ||
Hello, I have reinstalled Blitzmax on a new windows 7 pc (64bit) and this error comes up from the latest SVN. Boost is needed by other modules. What do we need to do to fix this? :) Cheers Glenn |
| ||
Seems having the wrong mingw tripped my up again. Following a link from AdamRedWood has helped. Recompiling now. |
| ||
Hallo :-) You installed the latest BlitzMax? I'm not sure what version of MinGW its parts come from. Remember you need to sync all of the relevant files in BlitzMax/bin and BlitzMax/lib, so that you are running with the same versions. |
| ||
Latest Blitzmax from accounts page (same as what i used before). Which files are you talking about in bmbin and bmlib? It has been a while since i have done this. There are 3 versions of mingw i have ofund. 3.4.5, 4.6.2 and 4.7.0. verion 3 craps out badly. both versions of 4 give me this error: Compiling:jpeg.c In file included from C:/BlitzMax/mod/pub.mod/libjpeg.mod/jpeglib.h:26:0, from C:/BlitzMax/mod/bah.mod/magick.mod/src/coders/jpeg.c:114: C:/BlitzMax/mod/pub.mod/libjpeg.mod/jmorecfg.h:140:15: error: conflicting types for 'UINT8' c:mingwbin../lib/gcc/mingw32/4.6.2/../../../../include/basetsd.h:56:23: note: previous declaration of 'UINT8' was here C:/BlitzMax/mod/pub.mod/libjpeg.mod/jmorecfg.h:149:22: error: conflicting types for 'UINT16' c:mingwbin../lib/gcc/mingw32/4.6.2/../../../../include/basetsd.h:57:24: note: previous declaration of 'UINT16' was here Build Error: failed to compile C:/BlitzMax/mod/bah.mod/magick.mod/src/coders/jpeg.c Process complete Does anyone have a link to the CORRECT MinGW install file for Windows? It is a bit confusing to find the right one on this site. Cheers Glenn |
| ||
Got it all compiled with minGW 4.7.0 I had to remove several modules though. Boost all the Raknet ones XLWriter |
| ||
Using latest minGW from muwen.net, muwen v9.5, build the latest boost from svn here. (Pick the one you like, with/without git) XLWriter depend on wxmax, and that won't build with the latest minGW, so you're out of luck there. Also just tested raknet, and that won't build either. Atleast not until Brucey waves his magic wand around. One have to remember that there's been some big changes in minGW/gcc from 3.x to 4.7, between 4.5 & 4.7 even.. Things that was "legal" to do, isn't anymore. Even the way it generate code/libs has changed. That's some of the reason why modules like wxmax now fail, because static libs in the mod is compiled with an older version of gcc.. Ole JR |
| ||
I can't build Qt with the nuwen distro, so am using TDM with GCC 4.7.1... (which can). Musical Distros! :-) |
| ||
Well, to have Qt for Max would be great ;-) But do we then get a switch to Qt instead of wx, or do you plan to keep both up to date...? Oh, and yes, I also used TDM up until Mark posted that he switched to muwen some time ago.. Me also think that TDM has a nice & easy way to install/update the gcc install. Last edited 2012 |