Skip to content

Commit

Permalink
Remove notes about old macOS installation path
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb committed Dec 22, 2021
1 parent 6be2b71 commit 3219c30
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions introduction/running-your-program.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ Running your Program
You will need to replace ``{panda3dinclude}`` with the location of the
Panda3D header files. On Linux, this is likely ``/usr/include/panda3d/``.
On macOS, this will be in ``/Library/Developer/Panda3D/include/`` in Panda3D
1.10.5 and higher or ``/Developer/Panda3D/include/`` in older versions.
On macOS, this will be in ``/Library/Developer/Panda3D/include/``.

To generate an executable, you can use the following command:

Expand All @@ -177,8 +176,7 @@ Running your Program
As above, change `{panda3dlibs}` to point to the Panda3D libraries. On Linux
this will be ``/usr/lib/panda3d`` or ``/usr/lib/x86_64-gnu-linux/panda3d``,
whereas on macOS it will be ``/Library/Developer/Panda3D/lib`` or
``/Developer/Panda3D/lib``, depending on your exact version of Panda3D.
whereas on macOS it will be ``/Library/Developer/Panda3D/lib``.

Here is an equivalent SConstruct file, organized for clarity:

Expand Down Expand Up @@ -208,12 +206,3 @@ Running your Program
If it runs, congratulations! You have successfully compiled your own Panda3D
program!

.. note::

On macOS, Panda3D versions 1.10.4.1 and below were compiled with
libstdc++, and so require passing ``-stdlib=libstdc++`` to the compiler.
Panda3D 1.10.5 offers a choice: the download marked "MacOSX10.6" is
compiled with libstdc++, whereas the download marked "MacOSX10.9" is
compiled with libc++.
It is recommended to use the download marked "MacOSX10.9".

0 comments on commit 3219c30

Please sign in to comment.