-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
111 lines (81 loc) · 3.53 KB
/
README
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
LICENSE
This distribution falls under the Battelle Memorial Institute Open Source license. See the file COPYING for the full license text.
The distribution contains Fonts from http://linuxlibertine.sourceforge.net/Libertine-EN.html, see the license files in the data directory for full text of the licences it is under.
REQUIREMENTS
cmake (http://www.cmake.org)
libtool
gcc for Objective C/C/C++
Linux -
libgnustep-base-dev
ImageMagick > 9.0
ftgl2
freetype2
RHEL 8 packages: cmake gcc-objc++ libXmu-devel libXi-devel ftgl-devel ImageMagick-devel gnustep-base-devel freeglut-devel gnustep-make
RHEL 8 Optional packages: libgenders-devel doxygen mesa-libOSMesa-devel
RHEL 8 Runtime: gnustep-base freeglut ftgl ImageMagick
Fedora 17 packages: cmake gcc-objc++ libXmu-devel libXi-devel ftgl-devel ImageMagick-devel gnustep-base-devel freeglut-devel
Fedora 17 optional packages: AntTweakBar-devel libgenders-devel doxygen mesa-libOSMesa-devel
Ubuntu 16.04 package build deps: g++ gobjc cmake libgnustep-base-dev libftgl-dev libfreetype6-dev libmagickwand-dev freeglut3-dev libxmu-dev libxi-dev
Ubuntu 16.04 package optional build deps: libosmesa6-dev libgenders0-dev doxygen
Ubuntu packages for anttweakbar can be used by adding ppa:thjc/ppa to your sources with apt-add-repository
Test data generators need: python-numpy
Mac OS X -
XCode
Ports - macports.org
ImageMagick
pkgconfig
ftgl
freetype2
automake
autoconf
libtool
py-numeric
Ports Optional:
anttweakbar
Redhat:
Needed packages:
cmake
ImageMagick-devel
ftgl-devel
freeglut-devel
libXmu-devel
Optional packages:
doxygen
FreeBSD:
Needed packages:
libglut
gnustep
ImageMagick
ftgl
Windows:
For compilation:
GNUStep build envireonment: http://www.gnustep.org/experience/Windows.html
GNUstep MSYS System
GNUstep Core
GNUstep Devel
For Running Tests:
Python
numpy
For building the Installer http://nsis.sourceforge.net
BUILD
Build a set of makefiles for your platform using cmake. Cmake can build the binaries out of tree, and prefers to, so create an empty directory, and chane into it and run:
cmake -G "<Makefile Type>" <path to source dir>
You can also Use the Cmake gui tool to perform this step.
NOTE: RedHat has stopped shipping Opjective-C with their GCC compilers. You can get the extra bits from EPEL, but you'll need to define CC=gobjc on the cmake commandline: cmake -D gobjc -G "Unix Makefiles" <path to source dir>
Tested Makefile types:
Windows: MSYS Makefiles
OSX: XCode, Unix Makefiles
Linux: Unix Makefiles
Optional Arguments:
You can specify these option on the command line with -D, or in the GUI, or by running cmake with the -i option:
CVIEW_TEST_BUILD=ON/OFF Should the makefile build the test codes in the tests directory
CMAKE_BUILD_TYPE=DEBUG/RELEASE What type of build, mostly turns on and off debug and optimizations
GCOBJECTDEBUG=ON/OFF Should the makefile add Obj-C Object tracking code
OPTIONAL
The genders library is required to compile the GLDataCenter to view the 3D DataCenter
which is available in many distributions or from https://computing.llnl.gov/linux/genders.html
You can also add the AntTweakBar for ease in editing your cview files from:
http://www.antisphere.com/Wiki/tools:anttweakbar
FAQ:
Q. When building the code on Mac OS X, configure cannot find some packages that are installed.
A. Copy the pkg.m4 file for pkgconfig into the proper directory: cp /opt/local/share/aclocal/pkg.m4 /opt/local/share/aclocal-1.10/