Closed 0xEAB closed 5 months ago
Apart from this I’ve had a great experience and pretty much fun using Dagon. Everything else worked out of the box so far.
Kudos for how easy it is to build beautiful looking scenes (by simply following your tutorials and experimenting with a few things).
Unfortunately I can't test under linux, but it must be something related to Newton compute plugins. To use NewtonPhysicsWorld.loadPlugins
there must be at least one compatible plugin in the specified directory. Under Windows they are dgNewtonAvx.dll
, dgNewtonAvx2.dll
, dgNewtonSse4.2.dll
, and the engine automatically selects the best compatible one.
If plugins are not used, world.loadPlugins
should not be called.
I've tested under linux with recently compiled libnewton, and it worked for me.
Also dagon:newton
now provides a local prebuilt library when building the project, and it is loaded if libnewton is not installed system-wide.
Still no luck with plugins though. I'll add a notice about that to the README.
cmake .
and hope… Well, apparently this includes building some demo project(s), and because I couldn't find out how to set cmake "variables" (or whatever they are called) within a minute, I decided to patch the CMakeList.txt togenerates demos projects" OFF
libnewton.so
which is per default installed to/usr/local/lib/libnewton.so
(viamake install
on Debian GNU/Linux) So I symlinked all of those newton/libd libraries from/usr/local/lib
to/usr/lib
Missing Symbol NewtonUserJointSetRowSpringDamperAcceleration
sorry, I don’t know how to debug this (in a reasonable way), so I commented it out in~/.dub/packages/dagon-0.13.0/dagon/thirdparty/bindbc-newton-0.2.0/src/bindbc/newton/funcs.d