mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
*** empty log message ***
This commit is contained in:
parent
5b0dad3401
commit
d2eafeba13
@ -16,11 +16,14 @@ Example:
|
|||||||
Linux:
|
Linux:
|
||||||
ppython -d generatePythonCode -v -d $DIRECT/lib/py -e $DIRECT/src/extensions -i libdtool libpandaexpress libpanda libdirect libtoontown
|
ppython -d generatePythonCode -v -d $DIRECT/lib/py -e $DIRECT/src/extensions -i libdtool libpandaexpress libpanda libdirect libtoontown
|
||||||
|
|
||||||
Windows:
|
Windows debug:
|
||||||
ppython -d generatePythonCode -v -d `cygpath -w $DIRECT/lib/py` -e `cygpath -w $DIRECT/src/extensions` -i libdtool libpandaexpress libpanda libdirect libtoontown
|
ppython -d generatePythonCode -v -d `cygpath -w $DIRECT/lib/py` -e `cygpath -w $DIRECT/src/extensions` -i libdtool libpandaexpress libpanda libdirect libtoontown
|
||||||
|
|
||||||
Windows release:
|
Windows release:
|
||||||
ppython -O generatePythonCode -O -v -d `cygpath -w $DIRECT/lib/py` -e `cygpath -w $DIRECT/src/extensions` -i libdtool libpandaexpress libpanda libdirect libtoontown
|
ppython generatePythonCode -v -d `cygpath -w $DIRECT/lib/py` -e `cygpath -w $DIRECT/src/extensions` -i libdtool libpandaexpress libpanda libdirect libtoontown
|
||||||
|
|
||||||
|
Windows publish (no assertions, no comments, no docstrings):
|
||||||
|
ppython -OO generatePythonCode -O -v -d `cygpath -w $DIRECT/lib/py` -e `cygpath -w $DIRECT/src/extensions` -i libdtool libpandaexpress libpanda libdirect libtoontown
|
||||||
|
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
@ -135,27 +135,23 @@ Step 6: Create a shortcut to rxvt
|
|||||||
# Note: You need to install $TOOL before the shortcut will be able to
|
# Note: You need to install $TOOL before the shortcut will be able to
|
||||||
# attach to $TOOL correctly (Step 7).
|
# attach to $TOOL correctly (Step 7).
|
||||||
|
|
||||||
Step 7: Grab the tarballs
|
Step 7: Grab the cvs trees
|
||||||
> mkdir /install
|
> cd ~
|
||||||
> cd /install
|
> mkdir player
|
||||||
# Get tool.tgz, panda.tgz, and direct.tgz from /for/program/tarballs
|
> cd player
|
||||||
# or copy them if they have already been ftp'd over.
|
> cvs co dtool
|
||||||
> tar zxvf tool.tgz
|
> cvs co panda
|
||||||
> tar zxvf panda.tgz
|
> cvs co direct
|
||||||
> tar zxvf direct.tgz
|
# Choose which optimize level you want. This is set in /usr/local/etc/Config.pp
|
||||||
|
# Look for #defing OPTIMIZE and follow instructions above that
|
||||||
|
|
||||||
Step 8: Build $TOOL
|
Step 8: Build $TOOL
|
||||||
# Now you must use the rxvt shortcut to open a shell - it should attach
|
# Now you must use the rxvt shortcut to open a shell - it should attach
|
||||||
# to $TOOL automatically.
|
# to $TOOL automatically.
|
||||||
# You can ignore the tcsh warnings (don't recognize "xterm") - this is
|
# You can ignore the tcsh warnings (don't recognize "xterm") - this is
|
||||||
# a Cygwin - rxvt conflict that's not trivial to resolve.
|
# a Cygwin - rxvt conflict that's not trivial to resolve.
|
||||||
# Choose which optimize level you want:
|
|
||||||
# setenv OPTIMIZE 1 (default) - fast build, runs slower
|
|
||||||
# setenv OPTIMIZE 2 (recommended) - slower build, faster, has asserts
|
|
||||||
# setenv OPTIMIZE 3 - debug symbols, but no asserts
|
|
||||||
# setenv OPTIMIZE 4 (release mode) - no debug symbols
|
|
||||||
> setenv OPTIMIZE 2
|
|
||||||
> cd $TOOL
|
> cd $TOOL
|
||||||
|
> ppremake
|
||||||
> ctmake
|
> ctmake
|
||||||
|
|
||||||
Step 9: (Optional) Install DirectX
|
Step 9: (Optional) Install DirectX
|
||||||
@ -175,13 +171,41 @@ Step 9: Build $PANDA
|
|||||||
# Open a new shell using the rxvt shortcut.
|
# Open a new shell using the rxvt shortcut.
|
||||||
> cta panda
|
> cta panda
|
||||||
> cd $PANDA
|
> cd $PANDA
|
||||||
|
> ppremake
|
||||||
> ctmake
|
> ctmake
|
||||||
# You can now run "demo" to test the install and build - you should
|
# You can now run "demo" to test the install and build - you should
|
||||||
# see a window pop up with a triangle in it. To see the triangle with
|
# see a window pop up with a triangle in it. To see the triangle with
|
||||||
# a texture on it, you'll need to be in $PANDA/src/all/testbed/ when
|
# a texture on it, you'll need to be in $PANDA/src/all/testbed/ when
|
||||||
# you run "demo".
|
# you run "demo".
|
||||||
|
|
||||||
Step 10: Build $DIRECT
|
Step 10: Install Python
|
||||||
|
# get /for/program/tarballs/python16.exe
|
||||||
|
# run python16.exe to install python into C:/Python16 (the default
|
||||||
|
location)
|
||||||
|
|
||||||
|
Step 11: Install Emacs
|
||||||
|
# get /for/program/tarballs/emacs-20.7-fullbin-i386.tar.gz
|
||||||
|
# install emacs into C:/emacs-20.7/ (not in program files)
|
||||||
|
> Copy $DIRECT/src/directscripts/python-mode.el to C:/emacs-20.7/lisp/progmodes/
|
||||||
|
|
||||||
|
Step 12: Update environment variables (win2000)
|
||||||
|
# right click on your computer icon at the top left of the screen
|
||||||
|
# select "properties"
|
||||||
|
# click on the "Advanced" tab
|
||||||
|
# click on "Environment Variables..."
|
||||||
|
# double click on the "Path" variable in the bottom pane (system variables)
|
||||||
|
# add C:\emacs-20.7\bin to the end of the path (semicolon separated)
|
||||||
|
# add C:\PYTHON16 to the end of the path (semicolon separated)
|
||||||
|
# click ok - ok - ok to exit (you must exit for the change to take effect)
|
||||||
|
|
||||||
|
Step 12: Build $DIRECT
|
||||||
> cta direct
|
> cta direct
|
||||||
> cd $DIRECT
|
> cd $DIRECT
|
||||||
|
> ppremake
|
||||||
> ctmake
|
> ctmake
|
||||||
|
# Generate Python Code
|
||||||
|
> cd $DIRECT/bin
|
||||||
|
> ppython generatePythonCode
|
||||||
|
# Follow instructions presented there
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user