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

could not build AirSim on windows #4794

Open
mgrallos opened this issue Feb 16, 2023 · 9 comments
Open

could not build AirSim on windows #4794

mgrallos opened this issue Feb 16, 2023 · 9 comments

Comments

@mgrallos
Copy link

mgrallos commented Feb 16, 2023

Question

What's your question?

Hi I am trying to build AirSim on Windows 10. And while trying to run build.cmd these errors occur. The cmake version is 3.14.7.

CMake Error: Could not create named generator Visual Studio 17 2022

Generators
Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 12 2013 [arch] = Generates Visual Studio 2013 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 11 2012 [arch] = Generates Visual Studio 2012 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 10 2010 [arch] = Generates Visual Studio 2010 project files.
Optional [arch] can be "Win64" or "IA64".
Visual Studio 9 2008 [arch] = Generates Visual Studio 2008 project files.
Optional [arch] can be "Win64" or "IA64".
Visual Studio 8 2005 [arch] = Deprecated. Generates Visual Studio 2005
project files. Optional [arch] can be
"Win64".
Borland Makefiles = Generates Borland makefiles.
NMake Makefiles = Generates NMake makefiles.
NMake Makefiles JOM = Generates JOM makefiles.
Green Hills MULTI = Generates Green Hills MULTI files
(experimental, work-in-progress).
MSYS Makefiles = Generates MSYS makefiles.
MinGW Makefiles = Generates a make file for use with
mingw32-make.
Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files.
Watcom WMake = Generates Watcom WMake makefiles.
CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files.
CodeBlocks - NMake Makefiles = Generates CodeBlocks project files.
CodeBlocks - NMake Makefiles JOM
= Generates CodeBlocks project files.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
CodeLite - MinGW Makefiles = Generates CodeLite project files.
CodeLite - NMake Makefiles = Generates CodeLite project files.
CodeLite - Ninja = Generates CodeLite project files.
CodeLite - Unix Makefiles = Generates CodeLite project files.
Sublime Text 2 - MinGW Makefiles
= Generates Sublime Text 2 project files.
Sublime Text 2 - NMake Makefiles
= Generates Sublime Text 2 project files.
Sublime Text 2 - Ninja = Generates Sublime Text 2 project files.
Sublime Text 2 - Unix Makefiles
= Generates Sublime Text 2 project files.
Kate - MinGW Makefiles = Generates Kate project files.
Kate - NMake Makefiles = Generates Kate project files.
Kate - Ninja = Generates Kate project files.
Kate - Unix Makefiles = Generates Kate project files.
Eclipse CDT4 - NMake Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - MinGW Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.

Error: could not load cache
Error: could not load cache

Build failed - see messages above.

Can you let me know what these errors are

@xxEoD2242
Copy link

Hey @mgrallos,

You need to install VS 2022 to get that to work. Also, this repo will be shutdown soon by Microsoft.

We continued the open-source version here: Colosseum with support UE5 and UE4.27 as well.

@mgrallos
Copy link
Author

Hey @mgrallos,

You need to install VS 2022 to get that to work. Also, this repo will be shutdown soon by Microsoft.

We continued the open-source version here: Colosseum with support UE5 and UE4.27 as well.

hi I already did install VS 17 2022. But what work for me is upgrading the cmake version to latest. Also, thanks for the link of the new repository. Appreciate it!

@christian33moreno
Copy link

@xxEoD2242 Hello! Would I be able to run deep reinforcement learning python script to train the drone agent using Colosseum?

@xxEoD2242
Copy link

@christian33moreno hey!

Yes, you can! There is an integration with the gym library to run Deep RL algorithms. We also have a slack channel if you run into any issues. Let me know if you need any help getting started!

@christian33moreno
Copy link

@xxEoD2242 I'll need help integrating the python script with the simulation. Is there documentation or some kind of video that can walk me through how to do it? Thanks so much, I really appreciate the response.

@mgrallos
Copy link
Author

That might be useful for me too in the near future.

@xxEoD2242
Copy link

@christian33moreno @mgrallos Sounds good! Happy to help. Feel free to reach out on GitHub or email me at [email protected]

My company is also building a new tool to help with this called the SWARM Developer Platform that has automated RL integration so you can run in the cloud, iterate and read back data quickly, then transfer to a real world system in a few clicks through our deployment process with PX4, ROS and more. If you're interested, drop me a line in the email

@xxEoD2242
Copy link

@xxEoD2242 I'll need help integrating the python script with the simulation. Is there documentation or some kind of video that can walk me through how to do it? Thanks so much, I really appreciate the response.

As for documentation, we don't have anything yet but I will put this on the list!

@crose72
Copy link

crose72 commented Apr 2, 2023

@mgrallos I had the exact same issue, and while the build is not yet complete as I type this (I'm just so excited), it seems to be working!

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

5 participants
@xxEoD2242 @mgrallos @crose72 @christian33moreno and others