Created
February 25, 2021 08:51
-
-
Save xulman/b47b789daef93f7431e0db55dec3b450 to your computer and use it in GitHub Desktop.
How to compile CBIA's viewer4d on a Linux system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The official web page : https://cbia.fi.muni.cz/software/viewer4d/main.html | |
with the offical howto: https://cbia.fi.muni.cz/software/viewer4d/main-compiling.html | |
(with official DL-page: https://cbia.fi.muni.cz/software/viewer4d/main-download.html) | |
install into your OS the following packages: | |
i3dlibs, glew-devel, wxWidgets-devel, gcc, cmake | |
i3dlibs : https://cbia.fi.muni.cz/software/i3d-library.html | |
glew-devel: reported working with version 2.1 | |
wxWidgets : must be 3.x.y, e.g. OpenSuse has wxWidgets-3_2-devel package | |
- wxWidgets is not complicated to compile locally on your own too | |
- test wxWidgets: | |
wx-config --version | |
(it says 3.1.1 on my system) | |
get it & compile: | |
wget --no-check-certificate https://cbia.fi.muni.cz/files/software/v4dwins/CBIA_viewer4d_src.zip | |
unzip CBIA_viewer4d_src.zip | |
cd CBIA_v4dwins | |
mkdir BUILD | |
cd BUILD/ | |
ccmake .. | |
press 'c' | |
should ideally appear something similar to this: | |
CMAKE_INSTALL_PREFIX */usr/local | |
CREATE_VIEWER4D *ON | |
DEBUG_VERSION *OFF | |
LIB_GLEW */usr/lib64/libGLEW.so | |
LIB_GLEW_HEADERS */usr/include | |
LIB_I3DALGO */usr/local/lib/libi3dalgo.so | |
LIB_I3DALGO_HEADERS */usr/local/include | |
LIB_I3DCORE */usr/local/lib/libi3dcore.so | |
LIB_I3DCORE_HEADERS */usr/local/include | |
NAME_APP_VIEWER4D *viewer4d | |
NAME_LIB_V4D *v4dlib | |
WX_CONFIG */usr/bin/wx-config | |
press 'c' | |
press 'g' | |
make -j6 | |
(please, don't mind a couple of warnings...) | |
test: | |
./viewer4d | |
(a blank white "Viewer4D" window should show up) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment