getting_started:compile_eeros
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
getting_started:compile_eeros [2019/10/08 16:10] – [Compile in terminal] graf | getting_started:compile_eeros [2019/10/12 19:47] – [Compile Manually in Terminal] graf | ||
---|---|---|---|
Line 12: | Line 12: | ||
This will put all the executables into the build directory you have chosen and the compiled libraries together with the header files into the install directory. | This will put all the executables into the build directory you have chosen and the compiled libraries together with the header files into the install directory. | ||
+ | Next, if you are running EEROS on the host machine you can go to the first example [[getting_started: | ||
- | ===== Compile in terminal | + | |
+ | ===== Compile | ||
Compile and install EEROS to a custom folder: | Compile and install EEROS to a custom folder: | ||
< | < | ||
- | $ cd path/ | ||
- | $ mkdir build-eeros-x86-64 | ||
- | $ cd build-eeros-x86-64 | ||
- | $ cmake -DCMAKE_INSTALL_PREFIX=/ | ||
- | $ make | ||
$ make install | $ make install | ||
</ | </ | ||
Line 41: | Line 38: | ||
The reason for not installing EEROS globally is that you might need two or even more versions of EEROS as soon as you compile for various target architectures. For this purpose we will install various versions of EEROS into custom folders named after the target architecture by setting the CMake variable CMAKE_INSTALL_PREFIX. | The reason for not installing EEROS globally is that you might need two or even more versions of EEROS as soon as you compile for various target architectures. For this purpose we will install various versions of EEROS into custom folders named after the target architecture by setting the CMake variable CMAKE_INSTALL_PREFIX. | ||
- | As soon as you access dedicated hardware on your system you have to install one of the [[eeros_architecture: | + | As soon as you access dedicated hardware on your system you have to install one of the [[eeros_architecture: |