Hi Yaoiyao,

about Irrlicht, it depends, which library you want to create, static or
shared, both will work fine, as long as you don't forget to adjust the
environment variable afterwards. This is based on Linux, but the logic
should work on Windows OS the one you are using.

1. if you want to build a shared library go to
*../irrlicht-1.8.5/source/Irrlicht/*

2. at that directory you will find a file named Makefile that can be edited.

3. Edit the Makefile and add *-fPIC* at the end of the *CFLAGS* and
*CXXFLAGS* line, then type:
make clean
make sharedlib

4. It will create a file named *libIrrlicht.so.1.8* it can be renamed
into *libIrrlicht.so.1.8.5,
*with this you can link this library when you build Project Chrono and
enabling Irrlicht module.

*Option:*
1. If you want to create static library (libIrrlicht.a) go to
*../irrlicht-1.8.5/source*

2. Then type
*make*

3. You can see now that under* ../irrlicht-1.8.5/lib/Linux* there is a
static library (but in your case it should be Windows since you are not
using Linux)

This is a link to learn a bit about SO file in Linux and DLL in windows:
*https://www.lifewire.com/so-file-4150722
<https://www.lifewire.com/so-file-4150722>*

Le jeu. 17 nov. 2022 à 20:24, yaoyiyao <[email protected]> a écrit :

> Hi. I download rrlicht 1.8.5 from
> https://irrlicht.sourceforge.io/?page_id=10.
> But I compile in cmake,the rrlicht  library can't find lib file , Linux
> folder is empty in lib.[image: 4RNXC24HQR9F{B8@X{CY5S8.png]
> Many thanks in advance.
>
> --
> 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/e83977be-8cd3-40bd-8ec8-5c1b77c568cfn%40googlegroups.com
> <https://groups.google.com/d/msgid/projectchrono/e83977be-8cd3-40bd-8ec8-5c1b77c568cfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
С наилучшими пожеланиями, Богиня Фрейя
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_%2B1MQVtwRu6OqtR979tyfk7UiYFf6RrZiGi5HtBMfwVx3Q%40mail.gmail.com.

Reply via email to