Hi Halvor, Following up on Dario’s comments and if you are using the latest code in the Chrono ‘main’ branch, to make sure you deal properly with the changes to the build system we made recently, I suggest trying reconfiguring and rebuilding both Chrono and then the template project starting from scratch, in new build directories. Or at least delete the CMake cache first.
You should have no issues building everything like before, provided you do not change some of the new CMake variables from their default values (which reproduce the previous setup, namely building Chrono shared libraries and using the dynamically-linked runtime library (on Windows)). The USE_EIGEN_OPENMP option has been in there for a while and is likely not related to your issue. --Radu From: [email protected] <[email protected]> On Behalf Of Halvor Aslaksen Sent: Thursday, October 5, 2023 11:24 AM To: ProjectChrono <[email protected]> Subject: [chrono] Re: DLL 'ChronoEngine.dll' in package Chrono is not installed properly Hi Dario! Thanks for the quick reply. I built the chrono build directory with only Release. Though when I try to build the project from the generated project (with the error messages listed) with Release, I can't open the exe-file. It says that the ChronoEngine_irrlicht.dll and ChronoEngine.dll files were not found. I had no problem with generating and building projects before, and can't figure ou what has changes since the last time it worked. I've noticed that there are more options in the CMake configuration of the Chrono::Engine now, for example the USE_EIGEN_OPENMP, which is checked automatically. I don't know if this is relevant. Halvor torsdag 5. oktober 2023 kl. 11:05:05 UTC+2 skrev [email protected]<mailto:[email protected]>: Hi, did you make sure that both your project and Chrono were built with same configuration type? We are currently rewriting the files that are used for linking from external projects so this info might change in the very next future, but as for now I would recommend you to compile both Chrono and your project in Release. Let us know, Dario M. Il giorno giovedì 5 ottobre 2023 alle 11:01:14 UTC+2 [email protected] ha scritto: Hi! I am new to Project Chrono, and was wondering about an error I get when trying to build a project. Just as a test case, I am running the template_project with the pendulum in the chrono directory. The first time I built this project, everything went fine (irrlicht-1.8.5). Though after experimenting with installing some modules and then reinstalling the base version of chrono::engine with irrlicht and postprocess, I got these errors in CMake when trying to configure the same project again: DLL 'ChronoEngine.dll' in package Chrono is not installed properly DLL 'ChronoModels_robot.dll' in package Chrono is not installed properly DLL 'ChronoEngine_irrlicht.dll' in package Chrono is not installed properly DLL 'ChronoEngine_postprocess.dll' in package Chrono is not installed properly I have tried to uninstall everything and reinstalling many times, trying different versions of irrlicht (1.8.5 and 1.8.4) and different changes. Would anyone know what might cause this problem? Any answers would be appreciated. -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/9dd74fe6-a602-4f60-b708-fdde629ca821n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/9dd74fe6-a602-4f60-b708-fdde629ca821n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/PH0PR06MB8237A3A6D77C1E544561E0D9A7CAA%40PH0PR06MB8237.namprd06.prod.outlook.com.
