Closed WRBaumann closed 3 years ago
Hi, thank's first for giving it a try. Did not yet try to compile and run bpp on Ubuntu 20.04. So maybe some things have been changing in a recent release of the luabind framework (- but I didn't yet look into this, and I currently have very little time to play with bpp, sorry).
Hi @WRBaumann , i see the assert is in https://github.com/luabind/luabind/blob/master/src/class_rep.cpp . Was able to reproduce the above assertion on Ubuntu 20.04, but currently have no clue, howto fix it in bpp.
I have just compiled on Linux Mint 20 and have the same issue. I'm so interested in this code I may just go back to Ubuntu 18.04 (or Mint 18.04?).
bpp: /build/luabind-7wTFgT/luabind-0.9.1+git20150823+dfsg/src/class_rep.cpp:166: void luabind::detail::class_rep::add_base_class(luabind::detail::class_rep*): Assertion `bcrep && "You cannot derive from an unregistered type"' failed.
Any possible fixes?
I just fixed the luabind assert. Please give it a try.
Thank you. I'll start with a fresh installation of Linux Mint 20 again and give it a try! I really like what you've done here. I'm been looking for months for a reasonable workflow for testing clock escapements that includes the ability to handle STL files and has reasonable physics, and I'm very interested in this. With a lot of work I got a Graham escapement running reasonably well using your code. It took me a lot of work to get it working on Linux Mint 20 last time but I'm hoping with fresh install that it'll be smooth.
Just for info: I have pushed another luabind related fix to to the bpp repo about two hours ago. Hope, it works for you.
I'm excited about the project and might pick it up and extend it but I'm having troubles getting started.
I see Assert 'bcrep && You cannot derive from an unregistered class'. It looks like Object failed to registered (?) thus derived classes fail. I commented out "Objects" and it just failed on the next object "Cube". I don't know Lua infrastructure so figuring this out is bigger than I'm willing to tackle without a few clues.
I made it this far on Ubuntu 20.04 and would be happy to push changes down once I have things working minimally.