alliedmodders / metamod-source

Metamod:Source - C++ Plugin Environment and Detour Library for the Source Engine
http://www.metamodsource.net/
Other
370 stars 84 forks source link

Error Compile #157

Closed metacop closed 6 months ago

metacop commented 6 months ago

It gives me an error that it cannot find a ++ compiler, but I already have visual studio 2022 installed, install minGW. and it doesn't take the compiler. Is there a way to tell python to send it the compiler path or something.

follow these steps from the official website

https://cs2.poggu.me/metamod/compilation/windows#installing-visual-studio-2022

image

image

psychonic commented 6 months ago

The MSVC tools need to be in your PATH. The easiest way to do that is to use the "Developer command prompt" shortcut that comes with Visual Studio. MinGW is not supported either, as it has a different ABI than MSVC, and compatibility with Valve's binaries is required.

metacop commented 6 months ago

The MSVC tools need to be in your PATH. The easiest way to do that is to use the "Developer command prompt" shortcut that comes with Visual Studio. MinGW is not supported either, as it has a different ABI than MSVC, and compatibility with Valve's binaries is required. image

I tried all the visual code 2022 warnings and the error is the same. Can you make an example or help me and not close the post, because there is still no solution to my problem