ilcsoft / ced Goto Github PK
View Code? Open in Web Editor NEWC Event Display
License: GNU General Public License v3.0
C Event Display
License: GNU General Public License v3.0
At the moment if there is no freeglut
, CMake disables the compilation of certain parts, maybe it should rather FAIL.
When the system directory "/usr/lib64" appear in the executable files "glced" RPATH, it will not be able to find the right "libstdc++.so.6" from CERN CVMFS compiler with "LD_LIBRARY_PATH" setup.
objdump -x ./bin/glced |grep RPATH
RPATH /cvmfs/ilc.desy.de/sw/x86_64_gcc49_sl6/CED/v01-09-02/lib:/usr/lib64
ldd ./bin/glced
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003862000000)
objdump -x ./bin/glced |grep RPATH
RPATH /cvmfs/ilc.desy.de/sw/x86_64_gcc49_sl6/CED/v01-09-02/lib
ldd ./bin/glced
libstdc++.so.6 => /cvmfs/sft.cern.ch/lcg/contrib/gcc/4.9.3/x86_64-slc6/lib64/libstdc++.so.6 (0x00007fc4f4d05000)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f1d4155..6928b32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -86,7 +86,12 @@ IF( CED_SERVER )
IF( NOT CED_NOT_INCLUDE_OPENGL_LINKER_PATH )
FOREACH( _opengl_lib ${OPENGL_LIBRARIES} )
GET_FILENAME_COMPONENT( _opengl_lib_path ${_opengl_lib} PATH )
- LIST( APPEND _opengl_linker_paths ${_opengl_lib_path} )
+ # the RPATH to be used when installing, but only if it's not a system directory
+ LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES ${_opengl_lib_path} isSystemDir)
+ #MESSAGE( "isSystemDir: ${isSystemDir}" )
+ IF("${isSystemDir}" STREQUAL "-1")
+ LIST( APPEND _opengl_linker_paths ${_opengl_lib_path} )
+ ENDIF("${isSystemDir}" STREQUAL "-1")
ENDFOREACH()
# remove duplicate paths
One access this "CMakeLists.txt" from here:
/cvmfs/ilc.desy.de/sw/x86_64_gcc49_sl6/CED/v01-09-02/CMakeLists.txt
Dear developers,
We (CALICE AHCAL) are willing to have run number, event number, event date and time on the glced display.
Would be great if you would implement this feature.
Thanks, David
When using -DBUILD_TESTING=OFF
, make install
fails with:
CMake Error at cmake_install.cmake:124 (file):
file INSTALL cannot find "/home/vavolkl/repo/ced/build/bin/test_ced": No
such file or directory.
The changes in #11 broke the display of the keyboard shortcut help leading to a segmentation fault when trying to toggle them.
This was originally reported in key4hep/key4hep-spack#603
The problem is this loop here (at least that is what gdb claims):
Lines 601 to 610 in cc537ca
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.