Can't build module using symlink
Community Forums/Monkey2 Talk/Can't build module using symlink
| ||
Hi, I've always used symlinks to organize my modules in Monkey1, but I tried adding a module as a symlink inside the Monkey2 modules folder and I get this error. (Copying the folder, instead of creating the symlink, works fine) I'm in OS X El Capitan, using latest code from Github on May 19th, 11:00PM. ***** Making module 'entity' ***** Parsing... Semanting... Translating... Compiling.... Build error: System command 'g++ -std=c++11 -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-null-character -O0 -I"/Applications/Leo/Blitz/monkey2/modules/monkey/native" -c -o "/Applications/Leo/Blitz/monkey2/modules/entity/entity.buildv005/build_cache/desktop_debug_macos/entity_0entity.cpp.o" "/Applications/Leo/Blitz/monkey2/modules/entity/entity.buildv005/build_cache/desktop_debug_macos/entity_entity.cpp"' failed. g++ -std=c++11 -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-null-character -O0 -I"/Applications/Leo/Blitz/monkey2/modules/monkey/native" -c -o "/Applications/Leo/Blitz/monkey2/modules/entity/entity.buildv005/build_cache/desktop_debug_macos/entity_0entity.cpp.o" "/Applications/Leo/Blitz/monkey2/modules/entity/entity.buildv005/build_cache/desktop_debug_macos/entity_entity.cpp" In file included from /Applications/Leo/Blitz/monkey2/modules/entity/entity.buildv005/build_cache/desktop_debug_macos/entity_entity.cpp:2: /Applications/Leo/Blitz/monkey2/modules/entity/entity.buildv005/build_cache/desktop_debug_macos/../../desktop_debug_macos/entity_entity.h:9:10: fatal error: '../../../monkey/monkey.buildv005/desktop_debug_macos/monkey_types.h' file not found #include "../../../monkey/monkey.buildv005/desktop_debug_macos/monkey_types.h" ^ 1 error generated. ***** Fatal mx2cc error ***** |