Can't load OBJ

Feel free to ask any question here
Post Reply
jguinet
Posts: 3
Joined: Wed Apr 10, 2024 9:23 am

Can't load OBJ

Post 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
Attachments
cloud_compare_2.png
cloud_compare_2.png (303.01 KiB) Viewed 181 times
cloud_compare_1.png
cloud_compare_1.png (526.79 KiB) Viewed 181 times
daniel
Site Admin
Posts: 7385
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Can't load OBJ

Post by daniel »

You have to enable the QCORE_IO_PLUGIN project (CMake option PLUGIN_IO_QCORE).
Daniel, CloudCompare admin
jguinet
Posts: 3
Joined: Wed Apr 10, 2024 9:23 am

Re: Can't load OBJ

Post 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
Attachments
CMakeCache.tar
(36 KiB) Downloaded 10 times
daniel
Site Admin
Posts: 7385
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Can't load OBJ

Post by daniel »

Have you proprely 'INSTALLED' the solution? (make install)
Daniel, CloudCompare admin
jguinet
Posts: 3
Joined: Wed Apr 10, 2024 9:23 am

Re: Can't load OBJ

Post by jguinet »

Yes with user INSTALL_PREFIX (i have not root permission on this machine)
Post Reply