1. I use the develop branch. Is it better to use version 7.0 to clone the git?
2. cmake-gui or ccmake works fine here, but I just trying using typing manually CMAKE 3. I need to fix some of the manual typed CMAKE commands. If it complicates things more I go back to ccmake, I just want to make / build Project Chrono well. Irrlicht version 1.8.5 has been tested and works, but Irrlicht-1.8.4 can't produce the library (.a or .so / static or shared), maybe that's why it has been fixed and works on version 1.8.5 by the developers. I will rebuild again with your advice, thanks Radu. Le ven. 20 mai 2022 à 16:16, 'Radu Serban' via ProjectChrono <[email protected]> a écrit : > > For demo_FEA_basic, you do not need any additional packages and do not need > to enable any optional Chrono modules. Of course, you still need to specify > the path to the Eigen headers. > > But first things first. What version of Chrono are you using? I recall you > saying that you cloned the repository. Please make sure you are on the > *develop* branch. > > Ideally, you would use cmake-gui or ccmake which will guide you better > through satisfying all requirements. Do you not have access to one of those > in your distribution? > > The cmake command line you posted below has several issues: > - there are no Chrono cmake variables named "CMAKE_ENABLE_MODULE_***" > - we expect to set the variable EIGEN3_INCLUDE_DIR > - IRRLICHT_LIBRARY should be set to the Irrlicht library *file* (not a > directory) > > I suggest you try a minimal build, adjusting appropriately the following > command which works fine on my machine: > > cmake -DCMAKE_BUILD_TYPE=Release > -DEIGEN3_INCLUDE_DIR=/home/radu/Packages/eigen-3.4.0 > -DENABLE_MODULE_IRRLICHT=ON -DIRRLICHT_ROOT=/usr/include/irrlicht > -DIRRLICHT_LIBRARY=/usr/lib/x86_64-linux-gnu/libIrrlicht.so > ~/Repositories/chrono > > (Several of the options you set explicitly default to those values anyway) > > --Radu > > > -----Original Message----- > From: [email protected] <[email protected]> On > Behalf Of Freya the Goddess > Sent: Friday, May 20, 2022 10:37 AM > To: ProjectChrono <[email protected]> > Subject: Re: [chrono] Re: ProjectChrono Compilation Error with Irrlicht > Module version 1.8.5 > > Hi Radu, thanks for your reply, the error is basically stop at 80% compiling > when building or linking the demo_FEA_basic, is there any required package to > build this demo_FEA_basic? > > I think I just need to ask the steps to make Project Chrono built right from > any of you using Linux. Since my OS is GNU/Linux but my own flavor. > > Usually ccmake .. is nice after I type: > mkdir build && cd build > > But for manually typed CMAKE, If anyone can help me if this commands are > prepared to build Chrono or not: > mkdir build && cd build && > cmake -DCMAKE_BUILD_TYPE=Release > -DCMAKE_INSTALL_PREFIX=/opt/hamzstlib/Physics > -DCMAKE_BUILD_DEMOS=ON > -DCMAKE_ENABLE_MODULE_IRRLICHT=ON > -DCMAKE_ENABLE_OPENMP=ON > -DUSE_BULLET_OPENMP=ON > -DUSE_EIGEN_OPENMP=ON > -DUSE_SIMD=ON > -DIRRLICHT_LIBRARY=/opt/hamzstlib/Physics/irrlicht-1.8.5/lib/Linux > -DIRRLICHT_ROOT=/opt/hamzstlib/Physics/irrlicht-1.8.5/ > -DEIGEN_DIR=/opt/hamzstlib/share/eigen3/cmake .. && make > > Le ven. 20 mai 2022 à 13:14, 'Radu Serban' via ProjectChrono > <[email protected]> a écrit : > > > > I'm not sure how you configure and build Chrono... > > demo_FEA_basic does *not* use Irrlicht, so it cannot be "the same error". > > --Radu > > > > -----Original Message----- > > From: [email protected] <[email protected]> > > On Behalf Of Freya the Goddess > > Sent: Friday, May 20, 2022 12:54 AM > > Cc: ProjectChrono <[email protected]> > > Subject: Re: [chrono] Re: ProjectChrono Compilation Error with > > Irrlicht Module version 1.8.5 > > > > It still prompts the same error when compiling demo_FEA_basic > > > > I will try irrlicht-1.8.4 then > > > > Le ven. 20 mai 2022 à 04:30, Freya the Goddess <[email protected]> a > > écrit : > > > > > > I try to compile again with the right path to library, > > > irrlicht-1.8.5/lib/Linux and then use Release as the build mode. > > > Will tell you the result > > > > > > Le jeu. 19 mai 2022 à 22:06, 'Radu Serban' via ProjectChrono > > > <[email protected]> a écrit : > > > > > > > > The issue is not Irrlicht 1.8.5. That should work fine. > > > > > > > > The problem is that you are not passing a *library* for > > > > IRRLICHT_LIBRARY (but rather a directory) in your CMake configuration. > > > > > > > > Note also that you may want to build the code in Release mode. > > > > > > > > > > > > > > > > --Radu > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > From: 'JASON Z' via ProjectChrono <[email protected]> > > > > Sent: Thursday, May 19, 2022 4:56 PM > > > > To: ProjectChrono <[email protected]> > > > > Subject: [chrono] Re: ProjectChrono Compilation Error with > > > > Irrlicht Module version 1.8.5 > > > > > > > > > > > > > > > > The link on the text might be wrong, see here: > > > > https://irrlicht.sourceforge.io/?p=1575 > > > > > > > > On Thursday, May 19, 2022 at 9:52:57 AM UTC-5 JASON Z wrote: > > > > > > > > Hi, > > > > > > > > > > > > > > > > Could you please try Irrlicht 1.8.4 instead of Irrlicht 1.8.5. 1.8.4 > > > > version has been widely tested. > > > > > > > > Anyone feel free to add any comments. > > > > > > > > > > > > > > > > Thanks, > > > > > > > > Jason > > > > > > > > On Thursday, May 19, 2022 at 8:10:05 AM UTC-5 [email protected] wrote: > > > > > > > > Dear all, > > > > > > > > > > > > > > > > I want to build Project Chrono, I git clone it and use ccmake with > > > > configuration only using Irrlicht module. > > > > > > > > > > > > > > > > When it is almost finished, it prompts an error: > > > > > > > > > > > > > > > > libChronoEngine_irrlicht.so undefined reference to 'createDeviceEx' > > > > 'irr::core::IdentityMatrix' > > > > 'irr::video::IdentityMaterial' > > > > > > > > > > > > > > > > Anyone knows how to fix this issue? > > > > > > > > > > > > > > > > Thank You > > > > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "ProjectChrono" group. > > > > To unsubscribe from this group and stop receiving emails from it, send > > > > an email to [email protected]. > > > > To view this discussion on the web visit > > > > https://groups.google.com/d/msgid/projectchrono/53e9ec7a-8bf5-46c8-a999-ba53c04e4d9en%40googlegroups.com. > > > > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "ProjectChrono" group. > > > > To unsubscribe from this group and stop receiving emails from it, send > > > > an email to [email protected]. > > > > To view this discussion on the web visit > > > > https://groups.google.com/d/msgid/projectchrono/PH0PR06MB8237BB02FB71D78EB749DED2A7D09%40PH0PR06MB8237.namprd06.prod.outlook.com. > > > > > > > > > > > > -- > > > С наилучшими пожеланиями, Богиня Фрейя Atenciosamente, Freya the > > > Goddess Meilleurs voeux, Freya the Goddess Liebe Grüße, Freya the > > > Goddess Best wishes, Freya the Goddess > > > よろしくお願いします、Freya the Goddess > > > 最好的祝福,Freya the Goddess > > > Matakwa mema, Freya the Goddess > > > مع أطيب التمنيات ، فريا الإلهة > > > > > > > > -- > > С наилучшими пожеланиями, Богиня Фрейя Atenciosamente, Freya the > > Goddess Meilleurs voeux, Freya the Goddess Liebe Grüße, Freya the > > Goddess Best wishes, Freya the Goddess > > よろしくお願いします、Freya the Goddess > > 最好的祝福,Freya the Goddess > > Matakwa mema, Freya the Goddess > > مع أطيب التمنيات ، فريا الإلهة > > > > -- > > You received this message because you are subscribed to the Google Groups > > "ProjectChrono" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/projectchrono/CALUh_%2B3%3D2FCSqk%3DN%2BjC_3eHOJryVVMJHCx3CgzTVDRLd3tKLug%40mail.gmail.com. > > > > -- > > You received this message because you are subscribed to the Google Groups > > "ProjectChrono" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/projectchrono/PH0PR06MB823723B0234B6FD486FA0152A7D39%40PH0PR06MB8237.namprd06.prod.outlook.com. > > > > -- > С наилучшими пожеланиями, Богиня Фрейя > Atenciosamente, Freya the Goddess > Meilleurs voeux, Freya the Goddess > Liebe Grüße, Freya the Goddess > Best wishes, Freya the Goddess > よろしくお願いします、Freya the Goddess > 最好的祝福,Freya the Goddess > Matakwa mema, Freya the Goddess > مع أطيب التمنيات ، فريا الإلهة > > -- > You received this message because you are subscribed to the Google Groups > "ProjectChrono" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/projectchrono/CALUh_%2B16V8O6QKEmu2_n0jCFsz8i9sdCrWg7Yua7uRBL75VFow%40mail.gmail.com. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "ProjectChrono" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/projectchrono/qqDP0GlhgOo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/projectchrono/PH0PR06MB8237ADBC792748C0F270398DA7D39%40PH0PR06MB8237.namprd06.prod.outlook.com. -- С наилучшими пожеланиями, Богиня Фрейя Atenciosamente, Freya the Goddess Meilleurs voeux, Freya the Goddess Liebe Grüße, Freya the Goddess Best wishes, Freya the Goddess よろしくお願いします、Freya the Goddess 最好的祝福,Freya the Goddess Matakwa mema, Freya the Goddess مع أطيب التمنيات ، فريا الإلهة -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/CALUh_%2B2K3BOyFoYcr5_eZxFa7dOkj9cc0p_UBiDgb2nKqkm2JQ%40mail.gmail.com.
