Skip to content

Commit 3d23a7a

Browse files
committed
wording tweaks to build instructions
1 parent ca6b34e commit 3d23a7a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

cpp/source/building/index.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,17 @@ Polyscope has been verified to compile in Visual Studio 2019 & 2017; other versi
5959

6060
### Dependencies
6161

62-
Polyscope packages all of its source code dependencies with the repository.
62+
Polyscope packages all of its source code dependencies with the repository. You may need to install a few standard OS-level packages for things like openGL and windowing support.
6363

6464
#### Ubuntu
6565

6666
On Ubuntu and friends, you may want to `apt-get install xorg-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev` to pull graphics and windowing related headers to build.
6767

6868
#### MacOS
6969

70-
On MacOS it may be necessary to install X11 dependencies, this can be done using Homebrew and [xquartz](https://www.xquartz.org/) package with the command: `brew install --cask xquartz`. If you are not using CMake you will need to link against the `OpenGL`, `CoreVideo`, `Cocoa` and `IOKit` MacOS frameworks explicitly. A sample command to link your application with `g++` on MacOS is:
70+
On MacOS it may be necessary to install X11 dependencies. There are many ways to get these, one way is to use Homebrew and install the `xquartz` package like: `brew install --cask xquartz`.
7171

72-
```sh
73-
g++ <object files> -framework OpenGL -framework CoreVideo -framework Cocoa -framework IOKit \
74-
-L/opt/X11/lib/ <Other Unix Linking flags (libraries + directories)>
75-
```
72+
If you are not using CMake, you will need to link against the `OpenGL`, `CoreVideo`, `Cocoa` and `IOKit` MacOS frameworks explicitly. A sample command to link your application with `g++` on MacOS is: `g++ <object files> -framework OpenGL -framework CoreVideo -framework Cocoa -framework IOKit -L/opt/X11/lib/ ...(other flags)...`.
7673

7774
### Backends
7875

0 commit comments

Comments
 (0)