Page 1 of 1

Can't load OBJ

Posted: Wed Apr 10, 2024 9:31 am
by jguinet
I have compiled and installed CC on liunx arch with Cmake (using master version), but i can't open OBJ files (my OBJ are OK I had tried in the past with an older cloudcompare version), please see the attached pictures.

I have tried to check some CMake IO option without results.

Do you know if there is compilation option for this file

Thanks

Jonathan

Re: Can't load OBJ

Posted: Thu Apr 11, 2024 6:49 am
by daniel
You have to enable the QCORE_IO_PLUGIN project (CMake option PLUGIN_IO_QCORE).

Re: Can't load OBJ

Posted: Fri Apr 12, 2024 6:48 am
by jguinet
Hi,

Thanks for your answer daniel, it seems to have no effect on results.

QCORE_IO_PLUGIN seems to be correctly compiled :

Code: Select all

objdump -TC /softs/projets/outils_qi/simu3D/3rdparty/CloudCompare-master/bin/lib64/cloudcompare/plugins/libQCORE_IO_PLUGIN.so |grep ObjFilter
0000000000031640 g    DF .text  0000000000001bb6  Base        ObjFilter::saveToFile(ccHObject*, QString const&, FileIOFilter::SaveParameters const&)
000000000003ecf0  w   DF .text  00000000000000a9  Base        ObjFilter::~ObjFilter()
0000000000033200 g    DF .text  0000000000003e2c  Base        ObjFilter::loadFile(QString const&, ccHObject&, FileIOFilter::LoadParameters&)
0000000000276708  w   DO .data.rel.ro   0000000000000018  Base        typeinfo for ObjFilter
000000000003ec60  w   DF .text  000000000000008c  Base        ObjFilter::~ObjFilter()
00000000000311a0 g    DF .text  0000000000000491  Base        ObjFilter::ObjFilter()
000000000003ec60  w   DF .text  000000000000008c  Base        ObjFilter::~ObjFilter()
00000000000311a0 g    DF .text  0000000000000491  Base        ObjFilter::ObjFilter()
0000000000277578  w   DO .data.rel.ro   0000000000000040  Base        vtable for ObjFilter
0000000000049300  w   DF .text  0000000000000011  Base        QtSharedPointer::ExternalRefCountWithCustomDeleter<ObjFilter, QtSharedPointer::NormalDeleter>::deleter(QtSharedPointer::ExternalRefCountData*)
0000000000031170 g    DF .text  0000000000000024  Base        ObjFilter::canSave(long, bool&, bool&) const
but i have not found any link to this libQCORE_IO_PLUGIN.so in CloudCompare bin

Re: Can't load OBJ

Posted: Fri Apr 12, 2024 8:15 am
by daniel
Have you proprely 'INSTALLED' the solution? (make install)

Re: Can't load OBJ

Posted: Fri Apr 12, 2024 8:59 am
by jguinet
Yes with user INSTALL_PREFIX (i have not root permission on this machine)