Comments (3)
Tell me, where are the project files for building in Visual Studio? Unfortunately, I couldn't see them
There are no any project file in the port.
You have to use CMake to generate the project file for appropriate environment (Visual Studio, MSYS2, .etc).
I will try to describe the steps brifely on how to compile 32-bit port with Visual Studio 2022.
Download the dependencies:
Create a base directory, for example C:/rtcw_port.
In the base directory create another two subdirectories - _build and _install.
Now extract all dependencies and port's source code into the base directory.
Here is a list of subdirectories in the base one after the extraction:
- cmake-3.28.1-windows-i386
- curl-8.5.0_4-win32-mingw
- rtcw
- SDL2-2.28.5
- SDL2_net-2.2.0
- _build
- _install
Run c:\rtcw_port\cmake-3.28.1-windows-i386\bin\cmake-gui.exe.
Set two paths. Click Configure.
Select the generator and the platform. Click Finish.
You will get an error. Just ignore it.
Set path for CMake install prefix and path to SDL. Click Configure.
You will get the error again. Just ignore it and set path to SDL_net. Click Configure.
You will get the error again. Just ignore it. Mark checkbox Advanced. Set paths to cURL components. Click Configure.
Now you should get only a deprecation warning in the log ("Compatibility with CMake < 3.5").
Click Generate, and then Open Project.
Visual Studio should open. In the solution explorer open context menu on project INSTALL and click Rebuild.
On successfull build you will get executables and DLLs in directory c:\rtcw_port_install.
The last step is to place essential dependencies along with the executables.
Dependencies:
- c:\rtcw_port\curl-8.5.0_4-win32-mingw\bin\libcurl.dll
- c:\rtcw_port\SDL2-2.28.5\lib\x86\SDL2.dll
- c:\rtcw_port\SDL2_net-2.2.0\lib\x86\SDL2_net.dll
Copy 1 into c:\rtcw_port_install\et.
Copy 2 and 3 into c:\rtcw_port_install\et and c:\rtcw_port_install\sp-mp respectively.
from rtcw.
You need CMake to build the port.
Dependencies:
- C++17 compatible compiler (Visual C++ 16 (Visual Studio 2019) or higher, GCC 9.1 or higher)
- SDL v2.0.4 or higher but less than v3
- SDL_net v2.0.1 or higher but less than v3
- cURL v7 or higher
from rtcw.
Tell me, where are the project files for building in Visual Studio? Unfortunately, I couldn't see them
from rtcw.
Related Issues (4)
- Is the openal mixer backend used? HOT 1
- Error compiling HOT 3
- Weapon Config HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtcw.