|Message: OpenGL problem||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I have some problems installing geant4.10.00.p02 on my 64bit Linux Mint17. I think I installed all the prerequesites (OpenGL, etc). Then I run Cmake in my newly created build-directory with these options
sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local/geant4/geant4.10.00.p02-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_SYSTEM_EXPAT=OFF -DGEANT4_USE_OPENGL_X11=ON /usr/local/geant4/geant4.10.00.p02/
The result output is the following
-- The C compiler identification is GNU 4.8.2 -- The CXX compiler identification is GNU 4.8.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off64_t -- Check size of off64_t - done -- Looking for fseeko -- Looking for fseeko - found -- Looking for unistd.h -- Looking for unistd.h - found -- Configuring download of missing dataset G4NDL (4.4) -- Configuring download of missing dataset G4EMLOW (6.35) -- Configuring download of missing dataset PhotonEvaporation (3.0) -- Configuring download of missing dataset RadioactiveDecay (4.0) -- Configuring download of missing dataset G4NEUTRONXS (1.4) -- Configuring download of missing dataset G4PII (1.3) -- Configuring download of missing dataset RealSurface (1.0) -- Configuring download of missing dataset G4SAIDDATA (1.1) -- Configuring download of missing dataset G4ABLA (3.0) -- Configuring download of missing dataset G4ENSDFSTATE (1.0) CMake Warning (dev) in source/processes/CMakeLists.txt: Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link interface. Run "cmake --help-policy CMP0022" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
Target "G4processes" has an INTERFACE_LINK_LIBRARIES property. This should be preferred as the source of the link interface for this library but because CMP0022 is not set CMake is ignoring the property and using the link implementation as the link interface instead.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The following Geant4 features are enabled: GEANT4_BUILD_CXXSTD: Compiling against C++ Standard 'c++98' GEANT4_USE_OPENGL_X11: Build Geant4 OpenGL driver with X11 support
-- Configuring done -- Generating done -- Build files have been written to: /usr/local/geant4/geant4.10.00.p02-build
It is similar to the installation guide output except for the Cmake Warning which I don't know what it is. After running make, the compilation takes long time in
[ 3%] [ 3%] No patch step for 'G4EMLOW' No update step for 'G4EMLOW' [ 3%] No configure step for 'G4EMLOW' [ 3%] No build step for 'G4EMLOW' [ 3%] No install step for 'G4EMLOW' [ 3%] Completed 'G4EMLOW' [ 3%] Built target G4EMLOW -- [download 5% complete] -- [download 6% complete] ... to 100%
and then, the compilation blocks after G4NDL installation with the following output
[ 3%] [ 3%] No patch step for 'G4NDL' No update step for 'G4NDL' [ 3%] No configure step for 'G4NDL' [ 3%] No build step for 'G4NDL' [ 3%] No install step for 'G4NDL' [ 3%] Completed 'G4NDL' [ 3%] Built target G4NDL make: *** [all] Error 2
However, when I set -DGEANT4_USE_OPENGL_X11=OFF, the make works all the way. The output during make is somehow different (there is no long time in download of G4EMLOW). I can even run examples but without visualisation. I would really like to have visualisation with OpenGL and the only datasets I would need are RealSurfaces and not G4NDL or others. Any help would be greatly appreciated.
Thanks in advance!
|Inline Depth:||Outline Depth:||Add message:|