Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hurstel
CGoGN
Commits
b34bc7c1
Commit
b34bc7c1
authored
Mar 19, 2013
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update in READMEs
parent
de44d2ff
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65 additions
and
65 deletions
+65
-65
README.TXT
README.TXT
+53
-34
README_APPS.TXT
README_APPS.TXT
+1
-1
README_ECLIPSE.TXT
README_ECLIPSE.TXT
+1
-1
README_MAC.TXT
README_MAC.TXT
+7
-28
README_VISUAL.TXT
README_VISUAL.TXT
+3
-1
No files found.
README.TXT
View file @
b34bc7c1
*** english version below ***
Dépendences Linux:
installer les paquets suivants:
cmake libXi-dev libXmu-dev libglew-dev libxml2-dev libboost-all-dev zlib1g-dev qt4-designer qt4-dev-tools uuid-dev libgsl0-dev libsuitesparse-dev
Pour compiler CGoGN:
- aller dans ThirdParty, cd build, taper "cmake .", puis make ( avec -j x si vous avez x core sur votre machine)
- on compile d'abord les bibliothèques annexes :
cd CGoGN/ThirdParty/build
cmake ..
make (-j x si vous avez x cores)
make install
On peut fixer certaines option pour ne pas tout compiler (cf le README.TXT dans ThirdParty)
On peut aussi compiler en debug en créant un répertoir qui fini par Debug à la place de build
- aller dans build et taper "cmake ..", puis make
Des options (booléennes) sont ici aussi disponible:
- ensuite on compile CGoGN (compile les libs dans CGoGN/lib et des exemples dans CGoGN/bin) :
cd CGoGN/build
cmake ..
make (-j x si vous avez x cores)
Certaines options (booléennes) sont ici aussi disponible:
BUILD_SHARED_LIBS (F) experimental !
WITH_ASSIMP (T)
WITH_NUMERICAL (T)
WITH_ZINRI (T)
WITH_QT (T)
afin de limiter les dépendances et le temps de compilation/
afin de limiter les dépendances et le temps de compilation
FORCE_MR (2)
permet de compiler dans 3 modes: mixte (0), multi-resolution(1), mono-resolution(2).
permet de compiler dans 3 modes: mono-resolution (0), multi-resolution (1)
ONELIB (F)
permet de forcer la compilation en une seule lib (libcgogn.a) au lieu de quatre.
- la compilation des sous-parties se fait en allant dans les sous-repertoires de build
- on peut ensuite compiler SCHNApps ainsi que les plugins fournis :
Les applications (Examples et Tutos) sont dans le répertoire Apps
cd CGoGN/SCHNApps/build
cmake ..
make (-j x si vous avez x cores)
Les binaires sont générés dans le repertoire bin
Des exemples de données:
- fichiers trianbgz, off, etc
...
...
@@ -44,31 +54,40 @@ install the following packages:
ccmake libXi-dev libXmu-dev libglew-dev libxml2-dev libboost-all-dev zlib1g-dev qt4-designer qt4-dev-tools uuid-dev libgsl0-dev libsuitesparse-dev
To compile CGoGN:
- Go ThirdParty, cd build, type "cmake .." and then make (with -j x if you have x core on your machine)
We can set some option to not compile everything (see the README.TXT in ThirdParty)
You can also compile debug by creating a directory that ended Debug build instead
- Go to build and type "cmake .." and then make
Options (Boolean) are also available here:
BUILD_SHARED_LIBS (F) experimental!
WITH_ASSIMP (T)
WITH_NUMERICAL (T)
WITH_ZINRI (T)
WITH_QT (T)
to minimize dependencies and compilation time /
- first compile third-party libraries:
cd CGoGN/ThirdParty/build
cmake ..
make (-j x if you have x cores)
make install
Some options are available to not compile everything (see the README.TXT in ThirdParty)
- then compile CGoGN (the libs are generated in CGoGN/lib and some examples in CGoGN/bin):
cd CGoGN/build
cmake ..
make (-j x if you have x cores)
Some options are available:
BUILD_SHARED_LIBS (F) experimental !
WITH_ASSIMP (T)
WITH_NUMERICAL (T)
WITH_ZINRI (T)
WITH_QT (T)
to minimize dependencies and compilation time
FORCE_MR (2)
allow the compilation in 3 mode: mixed(0), multi-resolution(1), mono-resolution(2).
allows the compilation in 3 modes: mono-resolution (0), multi-resolution (1)
ONELIB (F)
allow compilation in one lib (libcgogn.a) instead of four.
allowss to force the compilation in one lib (libcgogn.a) instead of four.
- the compilation of each sub-parts is done by going in the subdirectories of build
- we can then compile SCHNApps and the provided plugins :
Applications (examples and tutorials) are in the Apps directory
cd CGoGN/SCHNApps/build
cmake ..
make (-j x if you have x cores)
The binaries are generated in the bin directory
Examples of data:
- Trianbgz files, off, etc.
...
...
README_APPS.TXT
View file @
b34bc7c1
Principe des applications dans CGoGN_Apps (english version bel
low
Principe des applications dans CGoGN_Apps (english version bel
ow)
...
...
README_ECLIPSE.TXT
View file @
b34bc7c1
***
E
nglish version below ***
***
e
nglish version below ***
Pour utiliser Eclipse (testé avec la version Helios, Galileo, Indigo & Juno)
* Configurer un projet dans Eclipse :
...
...
README_MAC.TXT
View file @
b34bc7c1
Pour compiler CGoGN sur MAC (testé sur OS X 10.6)
*** english version below ***
1) créer un lien de sys/malloc vers malloc.h dans usr/include:
cd /usr/include; sudo ln -s sys/malloc.h .
Ceci permet d'éviter pas mal de pb de compilation de source linux.
Pour compiler CGoGN sur MAC (testé sur OS X 10.8.2)
2) installer avec macports ou homebrew
zlib, glew (sudo port install xxxx)
3) installer Qt (http://qt.nokia.com/downloads/)
4) Ajouter (si ce n'est déjà fait) dans bash_profile:
export LD_LIBRARY_PATH=/opt/local/lib
export C_INCLUDE_PATH=/opt/local/include:/usr/X11/include
export CPLUS_INCLUDE_PATH=/opt/local/include:/usr/X11/include
export LIBRARY_PATH=/opt/local/lib:/usr/X11/lib
Installer avec homebrew
cmake, lzlib, glew, boost149, suite-sparse, qt
=========================================================================================
ENGLISH VERSION
=========================================================================================
To compile CGoGN on MAC (tested on OSX 10.6 and OSX 10.7.2)
1) create a link from sys/malloc to malloc.h in usr/include:
cd /usr/include; sudo ln -s sys/malloc.h .
This solve compilation problems of some linux codes on mac
2) install with macports or homebrew
zlib, glew, boost (sudo port install xxxx)
3) install Qt (http://qt.nokia.com/downloads/
)
To compile CGoGN on MAC (tested on OSX 10.8.2
)
4) Add if not already done (by homebrew) in bash_profile:
export LD_LIBRARY_PATH=/opt/local/lib
export C_INCLUDE_PATH=/opt/local/include:/usr/X11/include
export CPLUS_INCLUDE_PATH=/opt/local/include:/usr/X11/include
export LIBRARY_PATH=/opt/local/lib:/usr/X11/lib
Install with homebrew
cmake, lzlib, glew, boost149, suite-sparse, qt
README_VISUAL.TXT
View file @
b34bc7c1
Compilation sous VisualExpress C++ (english version bellow)
*** english version below ***
Compilation sous VisualExpress C++
Prérequis:
Visual Studio ou C++ Express (au moins 2005, si possible 2010)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment