title: Cross Compile OpenSceneGraph for arm processor running embedded linux?
body: <p>I am trying to build OpenSceneGraph(Version 3.6.5) for arm processor running embedded linux.</p>
  <p>cmake throws different errors, can someone help ? What needs to be added in CMakeLists.txt for these errors specifically ?</p>
  <p><strong>1. /mnt/sdk8_2/OpenSceneGraph/build/CMakeFiles/CMakeTmp/src.cxx:2:17: fatal error: cstdlib: No such file or directory
  2 |        #include 
  but it is there at /opt/arago/sysroots/aarch64-linux/usr/include/c++/9.2.1/cstdlib</strong></p>
  <p><strong>2. atomic.h: No such file or directory
  but following files are there</strong>
  /opt/arago/sysroots/aarch64-linux/usr/include/tbb/atomic.h
  /opt/arago/sysroots/aarch64-linux/lib/modules/5.10.41-g4c2eade9f7/build/arch/arm64/include/asm/atomic.h
  /opt/arago/sysroots/aarch64-linux/lib/modules/5.10.41-g4c2eade9f7/build/include/linux/atomic.h</p>
  <p><strong>3. /mnt/sdk8_2/OpenSceneGraph/build/CMakeFiles/CMakeTmp/src.cxx:2:17: fatal error: windows.h: No such file or directory
  But it's there at</strong></p>
  <p>/opt/arago/sysroots/aarch64-linux/usr/include/boost/predef/os/windows.h
  /opt/arago/sysroots/aarch64-linux/lib/modules/5.10.41-g4c2eade9f7/build/include/asm-generic/atomic.h
  /opt/arago/sysroots/aarch64-linux/lib/modules/5.10.41-g4c2eade9f7/build/include/asm-generic/bitops/atomic.h
  /opt/arago/sysroots/aarch64-linux/lib/modules/5.10.100-g7a7a3af903/build/arch/arm64/include/asm/atomic.h
  /opt/arago/sysroots/aarch64-linux/lib/modules/5.10.100-g7a7a3af903/build/include/linux/atomic.h
  /opt/arago/sysroots/aarch64-linux/lib/modules/5.10.100-g7a7a3af903/build/include/asm-generic/atomic.h
  /opt/arago/sysroots/aarch64-linux/lib/modules/5.10.100-g7a7a3af903/build/include/asm-generic/bitops/atomic.h</p>