getting_started:compile_eeros_man
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
getting_started:compile_eeros_man [2021/10/24 11:43] – [Compile Hardware Wrapper Libraries] ursgraf | getting_started:compile_eeros_man [2021/10/24 11:46] (current) – [Compile Additional Libraries] ursgraf | ||
---|---|---|---|
Line 42: | Line 42: | ||
===== Compile Additional Libraries ===== | ===== Compile Additional Libraries ===== | ||
- | Some blocks of the control system use further libraries such as CANOpen, LibUSB, MODBUS and so on. You have to fetch, make and install these libraries first. Then you must build EEROS with some additional switches so that when building EEROS these libraries will be found and linked. | + | Some blocks of the control system use further libraries such as CANOpen, LibUSB, MODBUS and so on. You have to fetch, make and install these libraries first. Then you must build EEROS with some additional switches so that when building EEROS these libraries will be found and linked. |
< | < | ||
- | $ git clone https://github.com/eeros-project/sim-eeros.git sim-eeros | + | $ cmake -DCMAKE_INSTALL_PREFIX=../../install-x86 -DUSE_CAN=TRUE .. |
</ | </ | ||
- | + | when using the CANOpen library. These will also compile the EEROS examples which demonstrate the use of CAN. | |
- | Build and install it | + | |
- | < | + | |
- | $ cd build-x86 | + | |
- | $ mkdir sim-eeros | + | |
- | $ cd sim-eeros | + | |
- | $ cmake -DCMAKE_INSTALL_PREFIX=../ | + | |
- | $ make | + | |
- | $ make install | + | |
- | </ | + | |
- | + | ||
- | Continue with [[getting_started: | + | |
getting_started/compile_eeros_man.1635068637.txt.gz · Last modified: 2021/10/24 11:43 by ursgraf