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

Problem to run <build.cmd> about CMake for Microsoft Airsim #4796

Open
agam002 opened this issue Feb 19, 2023 · 3 comments
Open

Problem to run <build.cmd> about CMake for Microsoft Airsim #4796

agam002 opened this issue Feb 19, 2023 · 3 comments

Comments

@agam002
Copy link

agam002 commented Feb 19, 2023

When I followed the process of build AirSim, There were some problems.
put the text build.cmd on command line, I got the message like this.
I'm not familiar in Visual Studio & Programming like this please help me.

C:\Users\arion\source\repos\AirSim>build.cmd
found Powershell
Found cmake version: 3.24.202208181-MSVC_2
Starting cmake to build rpclib...
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.

-- Configuring incomplete, errors occurred!
See also "C:/Users/arion/source/repos/AirSim/external/rpclib/rpclib-2.3.0/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/arion/source/repos/AirSim/external/rpclib/rpclib-2.3.0/build/CMakeFiles/CMakeError.log".
MSBuild version 17.4.1+9a89d02ff for .NET Framework
MSBUILD : error MSB1009: Project file does not exist.
Switch: ALL_BUILD.vcxproj
MSBuild version 17.4.1+9a89d02ff for .NET Framework
MSBUILD : error MSB1009: Project file does not exist.
Switch: ALL_BUILD.vcxproj

Build failed - see messages above.

The following link is the AirSim git repository
https://github.com/Microsoft/AirSim

Many thanks for helping!

@dianzizs
Copy link

I have the same issue with you. Did you figure out how to address this problem? Thanks a lot

@dianzizs
Copy link

When I followed the process of build AirSim, There were some problems.

put the text build.cmd on command line, I got the message like this.
I'm not familiar in Visual Studio & Programming like this please help me.
C:\Users\arion\source\repos\AirSim>build.cmd found Powershell Found cmake version: 3.24.202208181-MSVC_2 Starting cmake to build rpclib... -- The C compiler identification is unknown -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:2 (project): No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:2 (project): No CMAKE_CXX_COMPILER could be found.

-- Configuring incomplete, errors occurred! See also "C:/Users/arion/source/repos/AirSim/external/rpclib/rpclib-2.3.0/build/CMakeFiles/CMakeOutput.log". See also "C:/Users/arion/source/repos/AirSim/external/rpclib/rpclib-2.3.0/build/CMakeFiles/CMakeError.log". MSBuild version 17.4.1+9a89d02ff for .NET Framework MSBUILD : error MSB1009: Project file does not exist. Switch: ALL_BUILD.vcxproj MSBuild version 17.4.1+9a89d02ff for .NET Framework MSBUILD : error MSB1009: Project file does not exist. Switch: ALL_BUILD.vcxproj

Build failed - see messages above.

The following link is the AirSim git repository https://github.com/Microsoft/AirSim

Many thanks for helping!
I have the same issue with you. Did you figure out how to address this problem? Thanks a lot

@codex-exe
Copy link

I was facing the same issue but in my case i had set "cl" environment variable to something for another project. Removing that variable made it work.

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

3 participants