-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSBuild not supported? #134
Comments
Which specific issues are encountering? Did you try to use |
I did not try Ninja. When I set Furthermore, note that it should be perfectly fine to use msbuild to build the .sln files generated by the Visual Studio CMake generators. |
Any news on this matter? Usually flutter will make colcon find Visual Studio but not this time. Is stuck and cannot understand why. Have two almost identical setups, one works but not the other. If I manually compile the node with CMake it works but not when using colcon. |
I'm trying to run colcon build with MSBuild command line tools (free) rather than Visual Studio (licenced). I'm trying to compile ROS2/Humble.
I could force this compiler to be used by adding
--cmake-args "-GNMake Makefiles" -DCMAKE_BUILD_TYPE=Release
, however, I encounter issues mainly because colcon code checksif 'Visual Studio' in generator:
and if false code considers we are using MAkefile generator, while here it's NMake, which should be treated as 'Visual Studio'.Is it intended that MSBuild is not supported? Why do we need the whole Visual Studio IDE to compile a project?
The text was updated successfully, but these errors were encountered: