Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version problem (classimp again) #14

Open
stacksmith opened this issue Sep 16, 2019 · 9 comments
Open

Version problem (classimp again) #14

stacksmith opened this issue Sep 16, 2019 · 9 comments

Comments

@stacksmith
Copy link

SBCL 1.5.3 on linux. Loaded CEPL via quicklisp. cloned cepl-master version of cepl.examples repo. quickloading cepl.examples does not like classimp:

trying to link against unsupported version of assimp. 3.0-3.3.x supported, got version 4.1
   [Condition of type SIMPLE-ERROR]
@stacksmith
Copy link
Author

stacksmith commented Sep 16, 2019

Oh, I see, it's the installed foreign library that's the problem... Hmm. How the heck do I downgrade XUbuntu to 3.3.1...
Of course, that does not build from source on my system

/home/stack/software/assimp-3.3.1/code/D3MFImporter.cpp:230:29: error: invalid
      operands to binary expression ('float (const char *, const char *)' and
      'nullptr_t')
  ...ai_strtof>(xmlReader->getAttributeValue(D3MF::XmlTag::z.c_str()), nullptr);

And the authors claim to not speak English. Great. This is like the tenth thing I touched in the last couple of days that does not work at all with no sensible workaround. The universe is speaking to me, I think.
Or maybe nothing actually works except for a couple of web browsers, maintained only to spy on me personally. Is it all a conspiracy? I need a padded room.
[edit: fixed typos]

@metayan
Copy link

metayan commented Sep 17, 2019

No need to downgrade XUbuntu or get a padded room (but I do recognise the feeling).
https://github.com/metayan/classimp/tree/assimp4
might help.

Edit: Not needed anymore - use the dev branch of classimp

@cbaggers
Copy link
Owner

Oh hey stacksmith! This might be of help https://github.com/cbaggers/classimp-fallback-libs just quickload that first and see if it works

@stacksmith
Copy link
Author

Thanks! I will try these. I am happy to see you are plugging away at CEPL!

@stacksmith
Copy link
Author

stacksmith commented Sep 17, 2019

OK - assimp4 seems to work. Please make a note in readme - the assimp4 branch off classimp is required: git clone -b assimp4 [email protected]:metayan/classimp.git
Thank you again.
PS. Am I just getting old - or is bitrot accelerating?

@metayan
Copy link

metayan commented Sep 17, 2019

A word of caution regarding the classimp assimp4 branch solution:
It's just overriding the version check, and might break somewhere due to incompatibilities between assimp3 and assimp4. However, I've successfully used it for following Pushing Pixels with Lisp / https://github.com/cbaggers/play-with-verts .

@stacksmith
Copy link
Author

@metayan: Thanks for the warning!

@metayan
Copy link

metayan commented Feb 25, 2020

The dev branch of classimp has added support for assimp 4.x and 5.0.
3b/classimp@4adb5f0

git clone -b dev [email protected]:3b/classimp.git

I have removed the metayan/assimp4 branch, because it serves no purpose now.

@metayan
Copy link

metayan commented Oct 5, 2020

https://github.com/3b/classimp
now handles all versions of assimp nicely, so this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants