... | ... | @@ -4,22 +4,13 @@ Frequently Asked Questions |
|
|
Running OpenWalnut
|
|
|
------------------
|
|
|
|
|
|
**Q.:** I have directly after program start a very high CPU load, is that normal?
|
|
|
**Q.:** I have a very high CPU load directly after program start, is this normal?
|
|
|
|
|
|
**A.:** You most probably turned off V-Sync in your graphics driver. To check this, press `'s'` in OpenWalnut to see the framerate. If it is larger than 60FPS, you need to turn on V-Sync. This is mainly due to the OpenSceneGraph which does all its stuff every frame and if rendered with 1000 FPS it consumes a lot of CPU. The NVidia driver provides the tool `nvidia-settings`. Start it and click on "OpenGL Settings" and activate V-Sync ("Sync to VBlank").
|
|
|
**A.:** You most probably turned off V-Sync in your graphics driver. If it is larger than 60FPS, you need to turn on V-Sync. This is mainly due to the OpenSceneGraph which does all its stuff every frame and if rendered with 1000 FPS it consumes a lot of CPU. The NVidia driver provides the tool `nvidia-settings`. Start it and click on "OpenGL Settings" and activate V-Sync ("Sync to VBlank").
|
|
|
|
|
|
**Q.:** When expanding the toolbar, some icons will be behind the GL widget and are inaccesible. What do I do?
|
|
|
**Q.:** When expanding the toolbar, some icons will be behind the graaphics widget and are inaccessible. What do I do?
|
|
|
|
|
|
**A.:** This is known behaviour on MAC OSX. As a workaround you might place the toolbar vertical on the right side, not neighboured to the GL widget. Also you might have a look on issue \#89.
|
|
|
|
|
|
Source Code Management
|
|
|
----------------------
|
|
|
|
|
|
**Q.:** How do I get all files a user has ever touched and is in current revision?
|
|
|
|
|
|
**A.:** This will only work if the environment variable USERNAME is present and your still have a mercurial repository and you're not on Windows and it will not follow across file renamings:
|
|
|
|
|
|
for i in `LANG=C hg log -v -u $USERNAME | grep "^files:" | awk '{$1 =""; print }' | tr " " "\n" | sort | uniq | tr "\n" " "`; do find $i; done 2>/dev/null
|
|
|
**A.:** This is known behavior on MAC OSX. As a workaround you might place the toolbar vertical on the right side, not neighbored to the graphics widget.
|
|
|
|
|
|
Installing Prerequisites
|
|
|
------------------------
|
... | ... | @@ -41,11 +32,11 @@ Installing Prerequisites |
|
|
|
|
|
**Q.:** What do I do when I get strange linker errors on MAC OSX while installing OSG and/or compiling OW?
|
|
|
|
|
|
**A.:** Double and tripple cross check that macports has installed the right libraries for your architecture. For certain dylibs you might check this with `lipo -info filename.dylib` and `uname -a` gives you the architecture you are actually running.
|
|
|
**A.:** Double and triple cross check that macports has installed the right libraries for your architecture. For certain dylibs you might check this with `lipo -info filename.dylib` and `uname -a` gives you the architecture you are actually running.
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
|
|
**Q.:** There are modules which require teem but when I install teem some modules still do not compile. What am I missing?
|
|
|
**Q.:** There are modules which require the *teem* library but when I install teem some modules still do not compile. What am I missing?
|
|
|
|
|
|
**A.:** Unfortunately, some of the teem features used in OpenWalnut are not yet available in any public release. You need to install teem from the SVN repository as described by Thomas Schultz [here](http://people.kyb.tuebingen.mpg.de/tschultz/sphinx/getting-started.html) and [here](http://people.kyb.tuebingen.mpg.de/tschultz/sphinx/home-glyph.html). Furthermore you need to set `Teem_DIR` appropriately using `ccmake`.
|
|
|
|
... | ... | @@ -120,9 +111,9 @@ Compiling and Linking |
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
|
|
**Q.:** Boost correctly found, but CMake wants to link against a other boost lib file
|
|
|
**Q.:** Boost correctly found, but CMake wants to link against an other boost lib file.
|
|
|
|
|
|
**A.:** Check if you set the environment variable to some directory? Additionally you can set the right boost libs in `ccmake` by pressing `'t'` to toggle advanced mode and by entering the right libs manually
|
|
|
**A.:** Check if you have set the environment variable to some directory? Additionally you can set the right boost libs in `ccmake` by pressing `'t'` to toggle advanced mode and by entering the right libs manually.
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
... | ... | |