Regarding cross compiling an external library to ARM. Can I just copy the built libraries in ARM (e.g. raspberry pi) to Windows and link them in CMake in order to compile a source code to be deployed in ARM? Does sudo apt-get install (e.g. lib_boost-all-dev) just installs prebuilt libraries? How do I copy the headers, library, and binaries so to transfer them in Windows for cross-compilation process?
What I really want is to be able to cross compile PCL to Raspberry Pi in Windows. I already have a working cross compiler running in Windows. The problem is I'm having a hard time finding a cmake-able boost that supports the PCL library. So I resort to downloading the library directly in Pi (e.g. sudo apt-get install libboost-all-dev). Does this download and installs prebuilt library for Boost? If so, I'm thinking that using this. Maybe I can transfer this to Windows instead. In order to complete the cross compilation process.