SeongJong-Yoo / structure-from-sherds

Code for restoring pottery of unordered and mixed fragment
MIT License
5 stars 1 forks source link

How to compile #3

Open futuris-tech opened 1 year ago

futuris-tech commented 1 year ago

Could anyone help me compiling this project? Is it for Windows only? If so, how can I get all required libraries?

I tried to get ceres from vcpkg and install pcl dll with installator from their website. The program compiled and after launching gave me such error: "[pcl::concatenateFields] Endianness of clouds does not match".

I also tried to compile it on Ubuntu and compiler gave me a lot of errors.

Thank you!

SeongJong-Yoo commented 1 year ago

Thank you for having interest in our work!

Unfortunately, so far we only tested with Windows and you have to install all prerequisite libraries with correct version. Especially, Ceres solver version is very critical to build our project.

Thank you,

Seong Jong Yoo.

futuris-tech commented 1 year ago

Thank you for doing so great work :)

Could you please help me with getting Ceres 1.14? Vcpkg breaks down when I try to compile such version. When I compiled the last version which is default, everything was OK. Maybe I compile wrong version, because there are many options for 1.14.0: 1.14.0#10 1.14.0#9 1.14.0#8 1.14.0-7 1.14.0-6 1.14.0-4 1.14.0-3 1.14.0-1 1.14.0 With 1.14.0 and 1.14.0-7 it can't compile clapack, and with 1.14.0#10 it compiles successfully, but the compiled files are broken. What I did wrong and are there any other options to compile ceres or get a prebuilt package?

Thanks for help, Ivan Mikhaylov

SeongJong-Yoo commented 1 year ago

Hello Ivan,

Try 1.14.0 version from here https://github.com/ceres-solver/ceres-solver/releases/tag/1.14.0 and could you try it without Lapack?

Thanks,

Seong Jong Yoo.