ChronoEngine_irrlicht.dll not found

103 views
Skip to first unread message

Prabasgarage

unread,
Feb 27, 2024, 7:27:17 AM2/27/24
to ProjectChrono
Dear Community,

I was trying to build the template project. The build was successful but when I run the exe It says few dll files are missing. I have included the output of my cmake build command in the text file below. Any help is highly appreciated.

Thanks,
Prabanjan
PS Dchronochronotemplate_project cm.txt
template_project_error.png
CMakeLists.txt

Dario Mangoni

unread,
Feb 27, 2024, 7:32:11 AM2/27/24
to ProjectChrono
Prabas,
did you go through the Chrono installation procedure?
Did you ENABLE_MODULE_IRRLICHT?

You sent the CMake of your project but not the one of Chrono itself.

And also: please look at the template project. You should not set CHRONO_DATA_DIR yourself. This is done automatically.
Please try to run the template_project first before trying more advanced stuff. It does not make sense to start with harder examples without having the base.

Prabasgarage

unread,
Feb 27, 2024, 7:54:33 AM2/27/24
to ProjectChrono
Hi Dario,

Yes I did go through the installation procedure and I did enable the IRRLICHT module. I can find these missing dll files @ D:\chrono\chrono\build\bin\Release this location. 

I tried building after removing the  CHRONO_DATA_DIR as well. Still facing the same .dll not found problem. 

If you could please advise me on how/where to find the Chrono project's cmake cache, That would be really helpful.

Thanks,
Prabanjan

Screenshot 2024-02-27 125237.png

Prabasgarage

unread,
Feb 27, 2024, 7:58:55 AM2/27/24
to ProjectChrono
Just Forgot to mention, I am facing this issue in template_project only. This is not my own project.

Dario Mangoni

unread,
Feb 27, 2024, 8:06:56 AM2/27/24
to ProjectChrono
From your CMake log:

-- ...D:/chrono/chrono/libraries/irrlicht-1.8.5/irrlicht-1.8.5/bin/Win64-VisualStudio/Irrlicht.dll -- ...D:/chrono/chrono/build/bin/Debug/ChronoEngine.dll -- ...D:/chrono/chrono/build/bin/Release/ChronoEngine.dll -- ...D:/chrono/chrono/build/bin/Release/ChronoModels_robot.dll -- ...D:/chrono/chrono/build/bin/Release/ChronoEngine_irrlicht.dll

It seems that you are missing ChronoEngine_irrlicht.dll for the Debug version.
While in Release you also have ChronoEngine_irrlicht.dll. So, you can either run your project in Release or go back to Chrono and compile the full solution in Debug

Prabasgarage

unread,
Feb 27, 2024, 9:25:00 AM2/27/24
to ProjectChrono
I built it in release mode. Now the Template_Project.exe is running fine. Thanks
Reply all
Reply to author
Forward
0 new messages