-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCOMPILING.txt
More file actions
92 lines (67 loc) · 2.94 KB
/
COMPILING.txt
File metadata and controls
92 lines (67 loc) · 2.94 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Compiling Instructions and Dependencies
###########################################################
LINUX
###########################################################
Dependencies:
* g++
* qt4-dev-tools
* flex
* bison
* libsdl-mixer??-dev
* libqt5texttospeech5-dev
###########################################################
WINDOWS (QT 6.7.0)
###########################################################
Dependencies:
* QT SDK with MINGW Compiler
** Available from: http://qt.io - use the online installer
** BE SURE to choose the mingw compiler from tools it will be the correct version
for the QT binary support files
** add paths C:\Qt\5.15\mingw1120_64\bin;C:\Qt\Tools\mingw1120_64\bin; to your system environment variable
** copy mingw32-make.exe to make.exe in folder C:\Qt\Tools\mingw1120_64\bin
* MSYS developer tools and libraries
** Available from:
http://sourceforge.net/projects/mingw/files/Installer/
** install mingw-developer-toolkit bundle from the on-line installer
YOU DO NOT NEED THE c++ compiler - you already downloaded that as part of the QT bundle
** add paths C:\MinGW\bin;C:\MinGW\msys\1.0\bin to your system environment
Release Build (Windows):
To build a nice WIN32 installer use the nullsoft scriptable install system file
3.0 or better) called BASIC256.nsi. You must build a release copy of BASCI256.
Make sure the dll and library files are copied in the folders as above.
make clean
qmake BASIC256.pro -config release
make release
then run the NSIS script
Portable Build (Windows):
This process will populate the BASIC256Portable folder so that the "PortableApps Installer 3.x"
will be able to create the *.paf.exe file.
BE SURE TO EDIT THE VERSION NUMBER IN trunk/BASIC256Portable/App/AppInfo/appinfo.ini
before building the PAF file.
** TO BUILD THE Portable BINARY and complete the directory **
delete all files and folders from trunk/BASIC256Portable/App/BASIC256
BASIC256PortableSupportFileCopy.bat
make clean
qmake BASIC256Portable.pro -config release
make release
###########################################################
MAC 10.6.4
###########################################################
- QT
- XCode (from apple)
- MACPorts (Porticus front end is handy)
- flex
- libsdl_dev
- libsdl_dev-framework
- libsdl_mixer
- libsdl_mixer-framework
###########################################################
Compiling ALL
###########################################################
open a command window (cmd)
type "make clean" and hit enter
type "qmake BASIC256.pro -config debug" and hit enter
type "make" and hit enter
You'll see an executable called BASIC256 either in this directory or in a "debug" directory, depending on your version of QT.
linux: "make install" will install translations, help and binary You can then create a
launcher to "BASIC256" or "BASIC256 -l locale".