You can find instructions on how to build a new project that uses Chrono here: http://api.projectchrono.org/tutorial_install_project.html
That will walk you through the necessary steps to build such a
project (which happens to also use run-time visualization with
Irrlicht). The sample code used in those instructions is included
in the Chrono distribution (see https://github.com/projectchrono/chrono/tree/develop/template_project).
Make sure to use the 'template_project' code that is in your
clone of Chrono to make sure it's compatible with the version of
Chrono you currently have.
Hope that this helps,
--Radu
--
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 projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/8e363872-6fa5-4436-bd10-06851951c479o%40googlegroups.com.
You can find instructions on how to build a new project that uses Chrono here: http://api.projectchrono.org/tutorial_install_project.html
That will walk you through the necessary steps to build such a project (which happens to also use run-time visualization with Irrlicht). The sample code used in those instructions is included in the Chrono distribution (see https://github.com/projectchrono/chrono/tree/develop/template_project). Make sure to use the 'template_project' code that is in your clone of Chrono to make sure it's compatible with the version of Chrono you currently have.
Hope that this helps,
--Radu
On 7/21/2020 10:45 AM, burakb...@gmail.com wrote:
Hi, I am on Ubuntu 18.04, I followed the instructions and after installing irrlicht, cmake, etc was able to compile Chrono. The basic demos run.--
How do I compile additional code through the build system though? I am not too familiar with cmake, if I had plain Makefiles I would take its library, include ref list, but here, not sure where to start. For example let's say I want to compile and run something visual, src/demos/irrlicht/demo_IRR_crank.cpp. Which files do I need to change, add etc for this?
Thanks,
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 projec...@googlegroups.com.
There's no problem configuring the build with cmake from the
command line.
With your setup, something along the following lines should work:
$ cd $HOME/Downloads/repos
$ mkdir build_template_project
$ cd build_template_project
$ cmake -DCMAKE_BUILD_TYPE=Debug
-DChrono_DIR=$HOME/Downloads/repos/chrono/build_dir/cmake
$HOME/Downloads/repos/chrono/template_project
--Radu
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/e96b07c3-d50d-470f-b8b6-05b64af2bdaao%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/e96b07c3-d50d-470f-b8b6-05b64af2bdaao%40googlegroups.com.