forked from LoomSDK/LoomSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.msvc
32 lines (21 loc) · 1.47 KB
/
README.msvc
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
## Instructions for building on Visual Studio 10 and 11:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!IMPORTANT PLEASE MAKE SURE YOU ARE NOT RUNNING CMAKE UNDER CYGWIN!!!!
!!!!!If you try to run cmake under cygwin, you may need to reboot!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
## Instructions for building for Windows:
1. Make sure you have MSVC 11 or MSVC 12 installed
2. Open up a command prompt and make sure you have the compiler variables set. This can be accomplished by using a Microsoft Visual Studio command prompt or by running the build/windowsBuildHelper.bat in the Loom Native SDK distribution
3. You need Visual Studio C++ native tools installed to compile,
so if your build fails with `The C compiler identification is unknown`, try manually creating
a C++ project in Visual Studio and following the tools installation guide.
4. Making sure both Rake and CMake are on your path run: rake deploy:free_sdk
5. Change directory to your Loom project and run:
loom use dev (enter)
loom run
6. Your project should compile and run
Please note that LuaJIT or other components in the Loom Native SDK may trigger your antivirus
package. You can inspect the source code to confirm that there are no viruses
present in the SDK. You may want to configure your AV software to ignore the
Loom Native SDK folder while you are working with it.
Antivirus software activity may cause compilation of Loom to fail.