Sorry for the late reply. In case you haven’t already solved this issue, the first thing I’d do is delete all temporary CMake files (including its cache) and reconfigure. Anshul, I am not trying to discourage you in any way, but in order to use a package such as Chrono you will need to familiarize yourself a bit more with certain tools, including use of CMake. Having said that, to address issues such as yours, we have been working on providing some scripts that will hopefully streamline and simplify getting various dependencies required by Chrono modules (including OpenCRG). This is still work in progress and not ready to push to the main git branch, but it shouldn’t be too long before we can make those available. --Radu
From: [email protected] <[email protected]> On Behalf Of Anshul pagariya Sent: Thursday, 2 February 2023 14:28 To: ProjectChrono <[email protected]> Subject: Re: [chrono] How to compile and install OpenCRG for Ubuntu 18.04? Hello Radu, sorry for asking silly questions, I hope you don't mind. I made directories for Release and Debug and ran the build commands but now I got the error - Error: could not load cache (attached screenshot). I went to internet and found - https://stackoverflow.com/questions/38888272/cmake-throws-error-could-not-load-cache but this did not solve my problem at last I have to ask you :) Can you help here ? Many thanks in advance, Anshul On Wednesday, 1 February 2023 at 13:36:44 UTC+1 Radu Serban wrote: Anshul, I don’t know what else I can tell you beyond what the error message says: “…/Release is not a directory”. You should first create that directory and then tell CMake that’s where you want it to create the build files. --Radu From: [email protected] <[email protected]> On Behalf Of Anshul pagariya Sent: Wednesday, 1 February 2023 13:18 To: ProjectChrono <[email protected]> Subject: Re: [chrono] How to compile and install OPENCRG for Ubuntu 18.04? Hello Radu, thanks again :) I did not know about this support file, thanks for sharing. I tried the steps in guide, I have also put CMakeLists.txt<https://github.com/projectchrono/chrono/blob/main/contrib/opencrg-support/CMakeLists.txt> in the c-api directory also, but got the error (attached picture) while using cmake --build Release command it says - no directory Release found in c-api :( Many thanks, Anshul On Wednesday, 1 February 2023 at 12:27:43 UTC+1 Radu Serban wrote: Well, so this is obviously an OpenCRG problem (a possible fix is probably to remove the “-ansi” compiler flag from their makefiles). But I assumed you were following the instructions on building OpenCRG that we provide with Chrono (since you mentioned those posts on our user mailing list). See https://github.com/projectchrono/chrono/tree/main/contrib/opencrg-support --Radu From: [email protected] <[email protected]> On Behalf Of Anshul pagariya Sent: Wednesday, 1 February 2023 11:11 To: ProjectChrono <[email protected]> Subject: Re: [chrono] How to compile and install OPENCRG for Ubuntu 18.04? Hello, thanks for the prompt reply. I first downloaded OpenCRG from - https://www.asam.net/standards/detail/opencrg/ and then extracted it, after which I used make command to compile it in directory c-api (make error.png in attachment). I also tried method suggested by zaqhie on https://groups.google.com/g/projectchrono/c/ggOaei2Lk4s/m/Ei4lJ6RJBAAJ, that also did not work. I am also not pro in Linux commands so not really sure which commands can I use to compile and create shared library for Ubuntu 18.04. Many thanks, Anshul On Wednesday, 1 February 2023 at 10:33:17 UTC+1 Radu Serban wrote: Could you please be more specific as to what does not work for you? Thanks, Radu From: [email protected] <[email protected]> On Behalf Of Anshul pagariya Sent: Wednesday, 1 February 2023 10:16 To: ProjectChrono <[email protected]> Subject: [chrono] How to compile and install OPENCRG for Ubuntu 18.04? Hello Everyone, I was installing OPENCRG for ubuntu 18.04 but I am really unsure how to install and compile it, I saw one post https://groups.google.com/g/projectchrono/search?q=vehicle%20 related to it but these commands do not work for Ubuntu 18.4. Can you please help me? Many thanks, Anshul -- 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/21a2bc3d-8ae7-4669-a125-ad28cbb64be0n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/21a2bc3d-8ae7-4669-a125-ad28cbb64be0n%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/ff1cef3a-4287-4469-a05a-17353e82a25cn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/ff1cef3a-4287-4469-a05a-17353e82a25cn%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/eebe111c-a44e-4118-8146-0ec2fe184fa8n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/eebe111c-a44e-4118-8146-0ec2fe184fa8n%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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/f65f3a3a-f483-4212-b575-ea9b3c8e25bfn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/f65f3a3a-f483-4212-b575-ea9b3c8e25bfn%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/PH0PR06MB8237182B81E43F6F5D859824A7A59%40PH0PR06MB8237.namprd06.prod.outlook.com.
