About Monkey 2 › Forums › Monkey 2 Programming Help › Error building v1.05 (and v1.04) on Windows 7
This topic contains 3 replies, has 2 voices, and was last updated by
Arjailer
2 years, 7 months ago.
-
AuthorPosts
-
September 6, 2016 at 9:17 am #3694
I know previously Mark has said he’s not supporting Windows 7, so there might be no solutions for this, but thought I’d ask anyway as this is a company PC which is stuck on Windows 7 due to group policy restrictions
Versions prior to 1.04 built fine on my Windows 7 machine, but since v1.04 rebuildall.bat proceeds as follows:
Monkey12345678910***** Rebuilding modules *****mx2cc version 1.0.5***** Making module 'monkey' *****Parsing...Semanting...Translating...Compiling...Then I get the following message box:
Monkey1234567---------------------------cc1plus.exe - Application Error---------------------------The application was unable to start correctly (0xc0000013). Click OK to close the application.---------------------------OK---------------------------If I okay that the command line continues with:
Monkey123456789101112Build error: System command 'g++ -std=c++11 -m32 -O3 -DNDEBUG -I"C:/Documents/Programs/Monkey2/monkey2-master/modules/monkey/native" -I"C:/Documents/Programs/Monkey2/monkey2-master/modules/" -c -o "C:/Documents/Programs/Monkey2/monkey2-master/modules/monkey/monkey.buildv1.0.5/windows_release/build/_1_1_1native_2bbtypes.cpp.o" "C:/Documents/Programs/Monkey2/monkey2-master/modules/monkey/native/bbtypes.cpp"' failed.g++ -std=c++11 -m32 -O3 -DNDEBUG -I"C:/Documents/Programs/Monkey2/monkey2-master/modules/monkey/native" -I"C:/Documents/Programs/Monkey2/monkey2-master/modules/" -c -o "C:/Documents/Programs/Monkey2/monkey2-master/modules/monkey/monkey.buildv1.0.5/windows_release/build/_1_1_1native_2bbtypes.cpp.o" "C:/Documents/Programs/Monkey2/monkey2-master/modules/monkey/native/bbtypes.cpp"***** Fatal mx2cc error *****Internal mx2cc build errorThe build then proceeds with more message boxes about cc1plus.exe and every module failing to build.
The mingw-64 version is the one from the readme file (and works for versions up to 1.04)
It builds fine on my Windows 10 virtual machine, so I’m able to build it there and copy it over and not get completely stuck
September 6, 2016 at 9:25 am #3695Typical! I found the solution immediately after posting the problem:
Place a copy of mingw32\bin\libwinpthread-1.dll in the same folder as cc1plus.exe
Don’t know why this is different on Windows 7 than 10, but guess this might help someone else out in the future
September 6, 2016 at 9:47 am #3697So 1.04 still works correctly without this mod?
September 6, 2016 at 9:53 am #3698Works fine for me for both 1.03 and 1.05 – haven’t specifically tried 1.04 but sounds like it should be fine.
I’ve just been moving the one copy of devtools\i686-5.3.0-posix-dwarf-rt_v4-rev0 around as I download new builds.
-
AuthorPosts
You must be logged in to reply to this topic.