how to build vs 2017

All development related issues welcome

Moderator: Moderator Team

Post Reply
dros_d
Posts: 6
Joined: Mon Apr 23, 2018 9:33 pm

how to build vs 2017

Post by dros_d »

from the VS Developer 2017 command prompt: configure VSSolution
configure: unable to determine build environment
is VStudio 2017 not supported?
learn_more
Developer
Posts: 246
Joined: Fri Dec 19, 2014 10:00 pm

Re: how to build vs 2017

Post by learn_more »

2017 is supported, some of our devs use it.

try typing 'cl' and see what it says
dros_d
Posts: 6
Joined: Mon Apr 23, 2018 9:33 pm

Re: how to build vs 2017

Post by dros_d »

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>cl
'cl' is not recognized as an internal or external command,
operable program or batch file.
learn_more
Developer
Posts: 246
Joined: Fri Dec 19, 2014 10:00 pm

Re: how to build vs 2017

Post by learn_more »

That is not a visual studio command prompt then.
dros_d
Posts: 6
Joined: Mon Apr 23, 2018 9:33 pm

Re: how to build vs 2017

Post by dros_d »

from within vs studio 2017->tools->visual studio command prompt
i think the environment variables are not set, but not knowing what they should be?
when i install rosbe I have a similar issue with environment variables.
i ended up copying rosbe to \rosbe, so its in program files and root c: now.
for some reason if i uninstall and reinstall, it remembers the old install location for some of the rosbe commands and the latest install location for others??
windows 10, version 1709
dros_d
Posts: 6
Joined: Mon Apr 23, 2018 9:33 pm

Re: how to build vs 2017

Post by dros_d »

Solved: thanks for the help
Visual Studio 2017 doesn't install C++ by default. You have to rerun the setup, select Modify and then check Programming Language -> C++
edit: also need to install windows sdk and universal crt sdk for vs 2017
configure VSSolution works now :)
Post Reply

Who is online

Users browsing this forum: DotBot [Crawler] and 12 guests