forked from tsweet77/repeater-max
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWin_MAX_Compile_Directions.txt
61 lines (37 loc) · 2.63 KB
/
Win_MAX_Compile_Directions.txt
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
Windows 10 directions for compiling the Intention Repeater MAX v2.4 or greater.
1) Save this sourcecode in a special folder: intention_repeater_max.cpp
v3.1+ requires this:
A) Install MinGW-W64:
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download
With these Options:
Version: 8.1.0
Architecture: x86_64
Threads: win32
Exception: seh
Build revision: 0
B) Add this to your PATH (both user and system): C:\Program Files\mingw-w64\x86_64-8.1.0-win32-seh-rt_v6-rev0\mingw64\bin
Directions here: https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/
C) Open PowerShell by going to the folder where you saved intention_repeater_max.cpp,
holding Shift, and right-clicking. Then choose: Open PowerShell window here.
D) Compile the binary executable with the following:
C:\Program` Files\mingw-w64\x86_64-8.1.0-win32-seh-rt_v6-rev0\mingw64\bin\g++ .\intention_repeater_max.cpp -O3 -o .\intention_repeater_max.exe
Note: Copy without any spaces before the C:\ and just copy only the one line. Then paste into PowerShell and press Enter.
If it does nothing, and doesn't produce an error message, then that is a good sign.
You should then be able to double-click on the file in Windows: intention_repeater_max.exe
If you have 32-Bit Windows (for v3.0 or lower):
A) Install MinGW from here:
https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/
B) On the MinGW Installation Manager, under Basic Setup, check to install Package: mingw32-gcc-g++-bin
It should be v9.2.0-2 or greater.
C) Choose Installation -> Apply Changes
D) Add this to your PATH (both user and system): C:\MinGW\bin
Directions here: https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/
E) Open PowerShell by going to the folder where you saved intention_repeater_max.cpp,
holding Shift, and right-clicking. Then choose: Open PowerShell window here.
F) Compile the binary executable with the following:
C:\MinGW\bin\g++.exe .\intention_repeater_max.cpp -O3 -o .\intention_repeater_max.exe
Note, copy the above without a new line. Then paste into PowerShell and press Enter.
If it does nothing, and doesn't produce an error message and you see a new .exe file, then that is a good sign.
You should then be able to double-click on the file in Windows: intention_repeater_max.exe
This v2.4 does up to 60+ Million repetitions per second of an intention on my new i3 with the 64-Bit version.
I recommend Notepad++ for editing the .cpp file: https://notepad-plus-plus.org/