Hello:
I Have been tring to follow the GDNative C++ Example but i ran into some issues.
when runing command:
scons platform=windows headers=../godot_headers generate_bindings=yes
i get this output:
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
cl /Fosrc\core\AABB.obj /c src\core\AABB.cpp /TP /nologo /EHsc /D_DEBUG /MDd /I. /Igodot_headers /Iinclude /Iinclude\core
AABB.cpp
c:\godotengine\cpp_example\godot-cpp\include\core\String.hpp(4): fatal error C1083: Cannot open include file: 'gdnative/string.h': No such file or directory
scons: *** [src\core\AABB.obj] Error 2
scons: building terminated because of errors.
C:\GodotEngine\cpp_example\godot-cpp>scons platform=windows headers=../godot_headers generate_bindings=yes
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
cl /Fosrc\core\AABB.obj /c src\core\AABB.cpp /TP /nologo /EHsc /D_DEBUG /MDd /I. /Igodot_headers /Iinclude /Iinclude\core
AABB.cpp
c:\godotengine\cpp_example\godot-cpp\include\core\String.hpp(4): fatal error C1083: Cannot open include file: 'gdnative/string.h': No such file or directory
scons: *** [src\core\AABB.obj] Error 2
scons: building terminated because of errors.
I got the same result using MinGW instead of MVSC. And the string.h file is in the path. what im doing wrong?
Hello:
I Have been tring to follow the GDNative C++ Example but i ran into some issues.
when runing command:
i get this output:
I got the same result using MinGW instead of MVSC. And the string.h file is in the path. what im doing wrong?