Comments (5)
Fantastic! I think I might update glm for the godot runtime here in the future as well.
Cheers
from creature_godot.
Hello,
It looks like a compilation warning which results in the compiler refusing to go any further.
In the SCsub file of the godot plugin, you should add in the required additional compiler defines:
env_mymodule.Append(CPPDEFINES=['_USE_MATH_DEFINES', 'GLM_FORCE_RADIANS'])
to get rid of the warning. Give that a go.
from creature_godot.
Thank you, that eliminated most of errors but we still can't continue:
[ 23%] �[94mCompiling �[95m==> �[93mmodules\creaturegodot\CreatureMetaData.cpp�[0m
=====
b"modules\\creaturegodot\\CreatureMetaData.cpp:102:34: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]\r\n auto getJsonNodeFromArray = [this](JsonNode& json_obj, int idx)\r\n ^~~~\r\nmodules\\creaturegodot\\CreatureMetaData.cpp:518:31: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]\r\n auto getColorFloat = [this](uint8_t val_in)\r\n ^~~~\r\nmodules\\creaturegodot\\CreatureMetaData.cpp:579:8: warning: unused variable 'radius' [-Wunused-variable]\r\n auto radius = (float)morph_data.morph_res * 0.5f;\r\n ^\r\nIn file included from modules\\creaturegodot\\CreatureMetaData.cpp:1:\r\nIn file included from modules\\creaturegodot/CreatureMetaData.h:10:\r\nIn file included from modules\\creaturegodot\\glm\\gtx/../glm.hpp:110:\r\nIn file included from modules\\creaturegodot\\glm\\gtx/../gtc/../common.hpp:32:\r\nIn file included from modules\\creaturegodot\\glm/detail/func_common.hpp:470:\r\nmodules\\creaturegodot\\glm/detail/func_common.inl:720:12: error: use of undeclared identifier '_isnan'\r\n return _isnan(x) != 0;\r\n ^\r\nmodules\\creaturegodot\\glm\\gtx/../gtc/packing.inl:143:16: note: in instantiation of function template specialization 'glm::isnan<float>' requested here\r\n else if(glm::isnan(x))\r\n ^\r\nIn file included from modules\\creaturegodot\\CreatureMetaData.cpp:1:\r\nIn file included from modules\\creaturegodot/CreatureMetaData.h:10:\r\nIn file included from modules\\creaturegodot\\glm\\gtx/../glm.hpp:110:\r\nIn file included from modules\\creaturegodot\\glm\\gtx/../gtc/../common.hpp:32:\r\nIn file included from modules\\creaturegodot\\glm/detail/func_common.hpp:470:\r\nmodules\\creaturegodot\\glm/detail/func_common.inl:791:12: error: use of undeclared identifier '_isinf'\r\n return _isinf(x) != 0;\r\n ^\r\nmodules\\creaturegodot\\glm\\gtx/../gtc/packing.inl:145:16: note: in instantiation of function template specialization 'glm::isinf<float>' requested here\r\n else if(glm::isinf(x))\r\n ^\r\n3 warnings and 2 errors generated.\r\n"
=====
scons: *** [modules\creaturegodot\CreatureMetaData.android.opt.armv7.neon.o] Error 1
scons: building terminated because of errors.
btw my setup: godot-3.1.1-stable - android-sdk-tools-windows-4333796 - android-ndk-r20-windows-x86_64 - python-3.7.4 - pywin32-224.win32-py3.7 - scons-3.0.4 - jdk1.8.0_212 - Creature_Godot-master - vs2019
from creature_godot.
Hello,
Looks like those are all warnings which result from your very strict compiler settings. You can remove the 'this' keyword from the lambda bindings and recompile. As for the unidentified isNan and isInf calls, that is strange. You can take a look at this thread:
numworks/epsilon#115
For maybe more info. They suggest including math.h in the affected files. Or you can try replacing those isNan and isInf calls with the regular std versions. I don't have android so I am unable to verify but perhaps they have a different version of those math calls for their platform.
from creature_godot.
Thank you for your time,
I updated GLM in "modules\creaturegodot\glm". https://github.com/g-truc/glm/releases/tag/0.9.9.6
and it's solved.
from creature_godot.
Related Issues (20)
- Latest version does not seem to compile correctly. (Godot 3.0.5 Stable) HOT 3
- Godot compiling error (only happens when I add creaturegodot module) HOT 6
- Creature Node in Godot's 3D environment? HOT 1
- Issue while compiling the Creature Plugin with Godot 3.1 HOT 2
- Export build crashes when using CreatureGodot node HOT 10
- Issue with 3.1.2 android compiling HOT 2
- Build fails with godot 3.2 HOT 5
- Missing tutorial for godot normal map HOT 1
- Color Flags aren't exported to JSON file HOT 4
- Creature module does not work with godot 3.3.2 HOT 2
- Shader Incompatibility
- [Feature Request] Godot 4.0+ Runtime desperately needed.
- blend_to_animation snaps instead of blending HOT 2
- [feature request] Translate/rotate bones via runtime code in game HOT 3
- Creature are unable to find json file in custom export template (WIN64 and probably all platforms) HOT 4
- Creature plugin should give to the user hability to cancel "print" to console HOT 1
- Some commit after 30 abr 2016 breaks preview animation in godot editor (Win764bit) HOT 8
- Ability to mix two animations in the runtime HOT 1
- Error building Godot 3.0 with creature module HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from creature_godot.