Date: Sat, 16 Feb 2019 19:14:19 +0300 From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> To: Christoph Moench-Tegeder <cmt@burggraben.net> Cc: Torfinn Ingolfsen <tingox@gmail.com>, FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: FreeCAD 0.17 - is anyone using it? Message-ID: <CAOgwaMvowLZSNVNLdNy8EJ3Ycvr_tkaFxUDA2z12TM4J_7MfQg@mail.gmail.com> In-Reply-To: <20190216112331.GB2502@elch.exwg.net> References: <CAJ_iqtZxFaXmu0ACOQt0mFK9UATfzyLocMTuRybOFiECFjLg7g@mail.gmail.com> <20190209130245.GA32159@elch.exwg.net> <CAJ_iqtYtkmeUuvtgmE903N7K5M2XaszWZV0Ga75dwhSC9DmDbw@mail.gmail.com> <20190209211210.GD32159@elch.exwg.net> <CAJ_iqtaVTS9oe79_cOCZjeicnMnaRsHYfp9Y5z=wUyjMxDxZYw@mail.gmail.com> <20190214220235.GA2390@elch.exwg.net> <CAJ_iqtZ70r63w4z0v_=_k7c4g0Cgww8MvsdyJxq8g6-cLOubkw@mail.gmail.com> <20190216112331.GB2502@elch.exwg.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 16, 2019 at 6:07 PM Christoph Moench-Tegeder <cmt@burggraben.net> wrote: > ## Torfinn Ingolfsen (tingox@gmail.com): > > > root@kg-core1# cmake --find-package -DNAME=Coin3D -DCOMPILER_ID=clang > > -DLANGUAGE=CXX -DMODE=LINK > > -Wl,-rpath,/usr/local/lib /usr/local/lib/libCoin.so > > That looks completely right. But the error message was > /usr/bin/ld: cannot find -lCoin > so something else pushed that "-lCoin" into the command. Can you > provide the full build log? Perhaps Mehmet was right and we need to > re-find Coin; but then: it works in a clean environment, and from > the linker error I rather suspect that some other component is pushing > "-lCoin" into the linker command line. I'll be traveling with much > reduced acces to my FreeBSD next week: answers will be delayed. > Perhaps you can do some digging by yourself? > > Regards, > Christoph > > -- > _______________________________________________ > CMakeLists.txt exists in /src/GUI/ directories : https://github.com/FreeCAD/FreeCAD/blob/releases/FreeCAD-0-17/src/Gui/CMakeLists.txt ( Coin is referenced ) https://github.com/FreeCAD/FreeCAD/tree/releases/FreeCAD-0-17/src/Gui/Quarter ( Coin is referenced ) https://github.com/FreeCAD/FreeCAD/tree/releases/FreeCAD-0-17/src/Gui/Stylesheets ( Coin is NOT referenced ) https://github.com/FreeCAD/FreeCAD/blob/releases/FreeCAD-0-17/src/CMakeLists.txt ( Coin is NOT referenced ) In https://github.com/FreeCAD/FreeCAD/blob/releases/FreeCAD-0-17/CMakeLists.txt Starting from Line 903 : # -------------------------------- Coin3D -------------------------------- find_package(Coin3D REQUIRED) if(NOT COIN3D_FOUND) MESSAGE(FATAL_ERROR "=================\n" "Coin3D not found.\n" "=================\n") endif(NOT COIN3D_FOUND) # ------------------------------ Spaceball ------------------------------- You may include find_package(Coin3D REQUIRED) statement into CMakeLists.txt file , where Coin is referenced , but not searched . A similar action may be applied other "Not found Libraries and Include directories" . Also check libCoin.so . In Fedora 28 x86_64 , there is NO libCoin.so , but libCoin.so.60 . In your system , if there is no libCoin.so in its related directory , it may be necessary to specify its existent name in CMakeLists.txt files , , or copy it into a file named as libCoin.so . Mehmet Erol Sanliturk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMvowLZSNVNLdNy8EJ3Ycvr_tkaFxUDA2z12TM4J_7MfQg>