Skip to content
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

Makefile.cmd #82

Closed
Zamir7 opened this issue May 15, 2019 · 20 comments
Closed

Makefile.cmd #82

Zamir7 opened this issue May 15, 2019 · 20 comments

Comments

@Zamir7
Copy link

Zamir7 commented May 15, 2019

In Makefile.cmd msbuild Urho3D.sln /t:restore
Urho3D.sln renamed to Urho3D.part.sln

And next error on build:

Studio/2019/Community/VC/Tools/MSVC/14.20.27508/bin/Hostx64/x64/cl.exe -- works 
-- Detecting CXX compiler ABI info 
-- Detecting CXX compiler ABI info - done 
-- Detecting CXX compile features 
-- Detecting CXX compile features - done 
CMake Error at CMake/Modules/UrhoCommon.cmake:350 (message): 
  sn coild not be found. 
Call Stack (most recent call first): 
  CMakeLists.txt:36 (include)
@rokups
Copy link
Member

rokups commented May 15, 2019

Are you sure you have C# stuff for visual studio installed?

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

Yes

@rokups
Copy link
Member

rokups commented May 15, 2019

Can you run sn.exe from vs2019 command line?

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

no(

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

For some reason, many commands are not invoked with cmd, for example, msbuild, i have to specify the full path

@rokups
Copy link
Member

rokups commented May 15, 2019

I think you dont have all needed stuff installed. Checking "C# Desktop Development" is a good bet. Make sure you install 4.7.1 framework too.

As for commands - you need to set up needed environment (for example) by running

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64

Then running msbuild will work. Makefile.cmd does all that automatically though.

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

I think you dont have all needed stuff installed

On the contrary, I only recently installed C++, I program myself with C#

@rokups
Copy link
Member

rokups commented May 15, 2019

sn
It is here for me. Find out whatever package you are missing and install via VS installer. I am not sure which one it is.

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

i have to NETFX 4.7.2 Tools, install NETFX 4.7.1?

@rokups
Copy link
Member

rokups commented May 15, 2019 via email

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

wich of MSbuild?
1

@rokups
Copy link
Member

rokups commented May 15, 2019 via email

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

so does not find (

@rokups
Copy link
Member

rokups commented May 15, 2019 via email

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

I try, not find...

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

I have Vs 2019, not Vs 2017...

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

A friend wrote, "Everything is going to ... like ... under Vs 2017. And under 2019 it swears that it is not in the build script of its support."

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

It's Ok!

@Zamir7 Zamir7 closed this as completed May 15, 2019
@rokups
Copy link
Member

rokups commented May 15, 2019 via email

@Zamir7
Copy link
Author

Zamir7 commented May 15, 2019

My mistake... sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants