About Monkey 2 › Forums › Monkey 2 Programming Help › Chipmunk working in latest version?
This topic contains 4 replies, has 3 voices, and was last updated by 
 peterigz
 1 year, 2 months ago.
- 
		AuthorPosts
 - 
		
			
				
February 1, 2018 at 2:02 am #13405
I just Pulled the latest version of monkey2 and chipmunk no longer seems to work. If I try and run the hellochipmunk banana I get the following compile error. The module is building ok without errors:
Monkey12345678910111213141516171819Build error: System command failed:g++ -c -std=c++11 -D_WIN32_WINNT=0x0603 -m32 -Os -I"C:/monkey2/modules/" -I"C:/monkey2/modules/monkey/native" -I"C:/monkey2/bananas/hellochipmunk/" -I"C:/monkey2/modules/chipmunk/Chipmunk7/include/" -I"C:/monkey2/modules/freetype/freetype-2.6.3/include/" -I"C:/monkey2/modules/openal/openal-soft/include/" -I"C:/monkey2/modules/sdl2/SDL/include/" -DBB_NEWREFLECTION -I"C:/monkey2/bananas/hellochipmunk/hellochimpmunk.buildv1.1.10/windows_debug/build/" -o "C:/monkey2/bananas/hellochipmunk/hellochimpmunk.buildv1.1.10/windows_debug/build/_1include_2_0r.cpp_r.o" "C:/monkey2/bananas/hellochipmunk/hellochimpmunk.buildv1.1.10/windows_debug/include/_r.cpp"In file included from C:/monkey2/bananas/hellochipmunk/hellochimpmunk.buildv1.1.10/windows_debug/include/_r.cpp:8:0:C:/monkey2/bananas/hellochipmunk/hellochimpmunk.buildv1.1.10/windows_debug/include/hellochimpmunk_chipmunkdebugger.h:15:75: fatal error: monkey/monkey.buildv1.1.10/windows_debug/include/monkey_types.h: No such file or directory#include "monkey/monkey.buildv1.1.10/windows_debug/include/monkey_types.h"^compilation terminated.***** Fatal mx2cc error *****Internal mx2cc build errorAny ideas?
February 1, 2018 at 3:09 pm #13411It’s working here with almost latest dev branch (27-01-2017)!
February 1, 2018 at 4:52 pm #13413Thanks for checking, I think actually it’s because there’s no debug version of the modules, will rebuild again and see if that works
Edit: Yep that worked. There was a module (wpm-game) that wasn’t compiling so the rebuildall script was finishing early and I didn’t notice.
February 1, 2018 at 10:11 pm #13415What host platform is this? I’ve tweaked the windows rebuild batch files to halt on any error but not the .sh files yet (not sure how).
Also, If you build modules in IDE it should error out if one module fails to build.
February 3, 2018 at 12:17 am #13429This was on Windows, I didn’t try the ide rebuild yet, will do that next time.
 - 
		AuthorPosts
 
You must be logged in to reply to this topic.