asmaloney / MeshIO

CloudCompare plugin for loading COLLADA, glTF, and IFC-SPF 3D models
BSD 3-Clause "New" or "Revised" License
32 stars 1 forks source link

Installation with CMake #4

Closed JeRo84 closed 3 years ago

JeRo84 commented 3 years ago

I have several errors when i try to install the Plugin via CMake. The latest error is: Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042. CMake Error at CMakeLists.txt:9 (AddPlugin): Unknown CMake command "AddPlugin".

How To Reproduce

Screenshots Screenshot 2021-04-09 211429

Your Environment

asmaloney commented 3 years ago

AddPlugin only exists on CloudCompare's "master" branch, so the first thing to check is that you're using the right version of MeshIO with the right version of CloudCompare.

I would recommend building with the "master" branch of CloudCompare, in which case you'll use the "master" branch of MeshIO as well.

If you need to build CloudCompare using the "v2.11.x" branch (which it looks like you're using), you will need to use the MeshIO tag "cloudcompare-2.11.x" (see note in README).

If that's not the issue, then I'll need to see if there are any changes to CloudCompare that require updating MeshIO...

JeRo84 commented 3 years ago

I dont know what you mean with: "master" branch of CloudCompare

I have noticed the note in README but I dont know what to do there...

Sorry, I'm not a programmer. I'm a Surveyor who would only like to use this Plugin for importing IFC-Files. It's late here in Germany and I will test again tomorrow.

Thank you so much for your help!

JeRo84 commented 3 years ago

It may also be important that I use CloudCompare via "CloudCompare 2.11.3 installer version" and not via The Github Code. Could this be my problem?

asmaloney commented 3 years ago

Yes :-)

You will need the CloudCompare source first. Then you clone this repository into the CloudCompare/plugins/private directory, turn it on in CloudComapre's CMake options, and build the whole thing.

I can see that the build instructions are not clear for anyone not familiar with git/cmake/building software. I will update them.

JeRo84 commented 3 years ago

Now I can sleep better and dont break my head about this.

So I will wait for the updated instructions. Thank you very much!

asmaloney commented 3 years ago

Wait for it - you'll probably break your head trying to build CloudCompare! 🤯 You can post issues over there if you have problems though. (I don't use Windows for this, so I'm afraid I'm not much help.)

I have updated the README here.

Icewulf666 commented 3 years ago

Wait for it - you'll probably break your head trying to build CloudCompare! 🤯 You can post issues over there if you have problems though. (I don't use Windows for this, so I'm afraid I'm not much help.)

I have updated the README here.

Hej, i will try to compile it with JeRo84 next week. If we struggle we will come back for support. Thanks for help and have a great weekend.

Regards Marcus