Giter Club home page Giter Club logo

ced's People

Contributors

andresailer avatar gaede avatar jengels avatar rete avatar shaojunlu avatar tmadlener avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ced's Issues

Fix RPATH for CVMFS (ilc.desy.de) installation

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.

  • Wrong one:
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)
  • "/usr/lib64" should be removed from RPATH list for the current CVMFS installation.
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)
  • Could be fixed by this update in "CMakeLists.txt".
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

CMake Install Error when not building Tests

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.

Make default CED_SEVER=ON

At the moment if there is no freeglut, CMake disables the compilation of certain parts, maybe it should rather FAIL.

Event info on the GLCED display

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.