File: README-devcpp.txt

package info (click to toggle)
wolf4sdl 1.7+svn262+dfsg1-5
  • links: PTS, VCS
  • area: contrib
  • in suites: bullseye, buster, sid
  • size: 4,112 kB
  • sloc: cpp: 34,696; ansic: 1,257; objc: 246; makefile: 159; sh: 44
file content (43 lines) | stat: -rw-r--r-- 1,821 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
This file explains how you can compile Wolf4SDL using Bloodshed's Dev-C++.
Keep in mind, that Dev-C++ is a dead project since 2005. The recommended way
to compile Wolf4SDL on Windows is using Visual Studio 2005 C++ or the free
Visual C++ 2005 Express. But for dial-up users Dev-C++ is probably still a
good option.

Needed files:
 - "Dev-C++ 5.0 Beta 9.2 (4.9.9.2)" with Mingw/GCC 3.4.2 (about 9 MB)
   http://www.bloodshed.net/dev/devcpp.html
 - SDL-1.2.13-1chaos.DevPak (544 kB)
   http://www.chaos-software.de.vu -> Downloads
 - SDL_mixer-1.2.6-2mol.DevPak (347 kB)
   http://sourceforge.net/project/showfiles.php?group_id=94270&package_id=151751

Installation:
 - Install Dev-C++ to C:\Dev-Cpp
 - Open Wolf4SDL.dev
 - Go to "Tools" -> "Package Manager"
 - Click on the "Install" button in the toolbar
 - Select "SDL-1.2.13-1chaos.DevPak" (where ever you saved it)
 - Some "Next" buttons and a "Finish" button later...
 - Click on the "Install" button in the toolbar
 - Select "SDL_mixer-1.2.6-2mol.DevPak" (where ever you saved it)
 - Some "Next" buttons and a "Finish" button later...
 - Close the Package Manager

Data file setup:
 - Copy the data files (e.g. *.WL6) you want to use to the Wolf4SDL
   source code folder
 - If you want to use the data files of the full Activision version of
   Wolfenstein 3D v1.4, you can just skip to the next section
 - Otherwise open "version.h" and comment/uncomment the definitions
   according to the description given in this file

Compiling Wolf4SDL:
 - Compile via "Execute" -> "Compile"
 - No errors should be displayed
 - Run Wolf4SDL via "Execute" -> "Run"

Troubleshooting:
 - If you get an error message "undefined reference to `__cpu_features_init'",
   make sure, there is no c:\mingw folder. Otherwise Dev-C++ will mix different
   versions of MinGW libraries...