Skip to content

Loading…

Updated the build instructions. #3

Merged
merged 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 17, 2012
  1. @seanpaultaylor
This page is out of date. Refresh to see the latest.
View
14 Building.txt
@@ -1,17 +1,17 @@
The Build folder contains custom made project files for Visual Studio 2010 and XCode4.
-To build for the QNX platform on Windows, run cmd.exe and execute the following commands:
+To build for BlackBerry (QNX-based) platforms, open the command-line and execute the following commands:
> cd [bbndk] where [bbndk] is where the QNX NDK was installed (i.e. C:\bbndk)
-> bbndk-env.bat
+> bbndk-env.bat (on Windows or bbndk-env.sh on MacOSX or Linux)
> cd [box2d]/qnx where [box2d] is the directory where Box2D was extracted to
> make
Following this, the relevant binaries should reside in the following subdirectories:
libBox2D:
- [box2d]/qnx/arm/a.le.v7 (ARM release)
- [box2d]/qnx/arm/a.le.v7.g (ARM debug)
- [box2d]/qnx/x86/a (x86 simulator release)
- [box2d]/qnx/x86/a.g (x86 simulator debug)
-
+ [box2d]/qnx/Box2D/arm/a.le.v7 (ARM release)
+ [box2d]/qnx/Box2D/arm/a.le.v7.g (ARM debug)
+ [box2d]/qnx/Box2D/x86/a (x86 simulator release)
+ [box2d]/qnx/Box2D/x86/a.g (x86 simulator debug)
+s
For other platforms you need to run premake in this directory. You can get premake here:
http://industriousone.com/premake
View
2 README.md
@@ -1,6 +1,6 @@
# Box2D v2.1
-The _**Box2D**_ repository holds the sources for the Box2D, a 2D rigid body simulation physics library for games, ported to run with the Native SDK for BlackBerry © Tablet OS.
+The _**Box2D**_ repository holds the sources for the Box2D, a 2D rigid body simulation physics library for games. It has additionally been ported to run with the BlackBerry Native SDK for BlackBerry Tablet OS and BlackBerry 10 OS.
**Repository Committers**
View
BIN qnx/Testbed/arm/o.le.v7.g/HelloWorld
Binary file not shown.
View
BIN qnx/Testbed/arm/o.le.v7/HelloWorld
Binary file not shown.
View
BIN qnx/Testbed/x86/o.g/HelloWorld
Binary file not shown.
View
BIN qnx/Testbed/x86/o/HelloWorld
Binary file not shown.
View
8 qnx/arm/Makefile
@@ -1,8 +0,0 @@
-LIST=VARIANT
-ifndef QRECURSE
-QRECURSE=recurse.mk
-ifdef QCONFIG
-QRDIR=$(dir $(QCONFIG))
-endif
-endif
-include $(QRDIR)$(QRECURSE)
View
1 qnx/arm/a.le.v7.g/Makefile
@@ -1 +0,0 @@
-include ../../common.mk
View
1 qnx/arm/a.le.v7/Makefile
@@ -1 +0,0 @@
-include ../../common.mk
View
26 qnx/common.mk
@@ -1,26 +0,0 @@
-ifndef QCONFIG
-QCONFIG=qconfig.mk
-endif
-include $(QCONFIG)
-
-NAME=Box2D
-
-#===== CCFLAGS - add the flags to the C compiler command line.
-CCFLAGS+=-Y_gpp
-
-#===== EXTRA_INCVPATH - a space-separated list of directories to search for include files.
-EXTRA_INCVPATH+=$(PRODUCT_ROOT)
-
-#===== EXTRA_SRCVPATH - a space-separated list of directories to search for source files.
-EXTRA_SRCVPATH+=$(PRODUCT_ROOT)/Box2D/Collision \
- $(PRODUCT_ROOT)/Box2D/Collision/Shapes \
- $(PRODUCT_ROOT)/Box2D/Common \
- $(PRODUCT_ROOT)/Box2D/Dynamics \
- $(PRODUCT_ROOT)/Box2D/Dynamics/Contacts \
- $(PRODUCT_ROOT)/Box2D/Dynamics/Joints \
- $(PRODUCT_ROOT)/Box2D/Rope
-
-include $(MKFILES_ROOT)/qtargets.mk
-
-OPTIMIZE_TYPE_g=none
-OPTIMIZE_TYPE=$(OPTIMIZE_TYPE_$(filter g, $(VARIANTS)))
View
8 qnx/x86/Makefile
@@ -1,8 +0,0 @@
-LIST=VARIANT
-ifndef QRECURSE
-QRECURSE=recurse.mk
-ifdef QCONFIG
-QRDIR=$(dir $(QCONFIG))
-endif
-endif
-include $(QRDIR)$(QRECURSE)
View
1 qnx/x86/a.g/Makefile
@@ -1 +0,0 @@
-include ../../common.mk
View
1 qnx/x86/a/Makefile
@@ -1 +0,0 @@
-include ../../common.mk
Something went wrong with that request. Please try again.