ouster-lidar / ouster_example

Ouster, Inc. sample code
Other
451 stars 434 forks source link

Project does not compile under MinGW on Windows #536

Closed arunumd closed 12 months ago

arunumd commented 12 months ago

Describe the bug The C++/ CMake project simply wouldn't build. There is a consistent build failure. I did a git clone of the project and tried to build it by specifying the DCMAKE_TOOLCHAIN_FILE option. The vcpkg modules were built successfully. But the core ouster project fails.

To Reproduce Steps to reproduce the behavior (steps below are just an example):

  1. Try building the project using cmake, make, gcc, and g++ on Windows in both x86 and x64 modes. Both of them should fail

Screenshots This is how the problem looks like.

image

These are the CMake options: image

These are the CLion native compiler/ build tools: image

Platform (please complete the following information):

chrisbayruns commented 12 months ago

Hello @arunumd , The error you received is due an unsupported toolchain. We currently do not support the mingw toolchain on windows. I reccomend you try the microsoft visual studio build tools instead.