forked from Helco/PLocalSim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmac.txt
47 lines (23 loc) · 1.12 KB
/
mac.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
[THE MAC SDK IS NOT READY YET]
[Installation]-----------------------------------------------------------
Install SDL, SDL_ttf, SDL_image with homebrew, use `--universal` to get 32 bit support.
% brew install SDL SDL_ttf SDL_image --universal
[Use]--------------------------------------------------------------------
In build/mac there is a pre-built `sim.zip` package ready to be used.
Unzip and place the sim directory in your pebble project.
Open Terminal.app and cd into it
% make
It should compile all `.c` files in src.
Hopefully you will get a PebbleSim binary you can run from the terminal with
% ./PebbleSim
Good luck!
[Debugging]--------------------------------------------------------------
Follow the steps for normal use but build and run with the following commands:
% make debuge
It should compile all `.c` files in src with debugging enabled.
Run the debug simulator in gdb:
% gdb ./PebbleSim.debug
[Build the project on your own]------------------------------------------
Open Terminal.app and cd into `build/mac`
% make
Hopefully you now have a sim directory ready to be used as described above.