You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @lincoln310, we haven't tried cross-compiling in awhile, because these days we just compile for Linux on Linux. You might find it easier to do the same by using WSL2.
That said, you may be able to fix your immediate problem just by adding -G Ninja to your cmake configure command-line. You'll need to install Ninja, for course.
I am tring to cross compile cesium-native for linux from windows. And I created this bat:
cmake -B build-linux -S . -DCMAKE_TOOLCHAIN_FILE="unreal-linux-from-windows-toolchain.cmake" -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release cmake --build build-linux --target install
According to the content in cmake, I added these to Enviroments.
But it still run into this error:
This is the cross compile tool chain:
The text was updated successfully, but these errors were encountered: