Closed shguan10 closed 6 years ago
Can you provide the output for the following commands while eman-env
is activated?
e2version.py
conda info -a
conda list
Thank you for responding! Attached are the output for each of the three commands.
Hi, since Tunay had replied, I didn't look at this carefully until now. The message seems clear:
Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
OpenGL is not a supplied dependency in Anaconda, it is part of the operating system/driver infrastructure. Most people will have Nvidia graphics cards on their computers, and will then install the proprietary Nvidia drivers, which includes OpenGL. If you have some other graphics card, you'd normally install Mesa. Anyway, the complaint you're getting is that it can't find OpenGL.
Steven Ludtke, Ph.D.
Charles C. Bell Jr., Professor of Structural Biology
Dept. of Biochemistry and Molecular Biology (www.bcm.edu/biochem http://www.bcm.edu/biochem)
Co-Director CIBR Center (www.bcm.edu/research/cibr http://www.bcm.edu/research/cibr)
Co-Director National Center For Macromolecular Imaging (ncmi.bcm.edu http://ncmi.bcm.edu/)
Baylor College of Medicine
sludtke@bcm.edu mailto:sludtke@bcm.edu
On Jan 29, 2018, at 3:17 PM, Xinyu Guan <notifications@github.com mailto:notifications@github.com> wrote:
I was following the instructions on the EMAN wiki to build from source, but I'm stuck at the cmake step. Here is the error output:
BEGIN ### CHECK_REQUIRED_LIB HDF5 hdf5 hdf5.h
HDF5_INCLUDE_PATH: /home/xguan/anaconda2/envs/eman-env/include HDF5_LIBRARY: /home/xguan/anaconda2/envs/eman-env/lib/libhdf5.so Searching in /home/xguan/anaconda2/envs/eman-env/include for hdf5.h and ... FIND_LIBRARY: HDF5_LIBRARY NAMES hdf5 PATHS /lib /home/xguan/anaconda2/envs/eman-env/lib
END ### CHECK_REQUIRED_LIB HDF5 hdf5 hdf5.h
HDF5_INCLUDE_PATH: /home/xguan/anaconda2/envs/eman-env/include HDF5_LIBRARY: /home/xguan/anaconda2/envs/eman-env/lib/libhdf5.so HDF5_LIBRARY: /home/xguan/anaconda2/envs/eman-env/lib/libhdf5.so PNG_LIBRARIES: /home/xguan/anaconda2/envs/eman-env/lib/libpng.so;/home/xguan/anaconda2/envs/eman-env/lib/libz.so CMake Error at /home/xguan/anaconda2/envs/eman-env/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR) Call Stack (most recent call first): /home/xguan/anaconda2/envs/eman-env/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) /home/xguan/anaconda2/envs/eman-env/share/cmake-3.8/Modules/FindOpenGL.cmake:170 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) cmake/OpenGL.cmake:1 (find_package) libEM/CMakeLists.txt:175 (include)
Thanks for your help!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cryoem/eman2/issues/175, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ6i6sbVHS8mf4Ocl7Y_FHLCaU8-9YkBks5tPjVigaJpZM4RxXik.
Thanks for your response!
It turns out that my computer was lacking a graphics card. That's why I was missing OpenGL.
Steven Ludtke, Ph.D.
Charles C. Bell Jr., Professor of Structural Biology
Dept. of Biochemistry and Molecular Biology (www.bcm.edu/biochem)
Co-Director CIBR Center (www.bcm.edu/research/cibr)
Co-Director National Center For Macromolecular Imaging (ncmi.bcm.edu)
Baylor College of Medicine
sludtke@bcm.edu
On Feb 7, 2018, at 12:44 PM, Xinyu Guan notifications@github.com wrote:
Thanks for your response!
It turns out that my computer was lacking a graphics card. That's why I was missing OpenGL.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cryoem/eman2/issues/175#issuecomment-363869005, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ6i6nGqk4rKXNgDMm6s-m3IXLl7btcwks5tSe8agaJpZM4RxXik.
I was following the instructions on the EMAN wiki to build from source, but I'm stuck at the cmake step. Here is the error output:
BEGIN ### CHECK_REQUIRED_LIB HDF5 hdf5 hdf5.h
HDF5_INCLUDE_PATH: /home/xguan/anaconda2/envs/eman-env/include HDF5_LIBRARY: /home/xguan/anaconda2/envs/eman-env/lib/libhdf5.so Searching in /home/xguan/anaconda2/envs/eman-env/include for hdf5.h and ... FIND_LIBRARY: HDF5_LIBRARY NAMES hdf5 PATHS /lib /home/xguan/anaconda2/envs/eman-env/lib
END ### CHECK_REQUIRED_LIB HDF5 hdf5 hdf5.h
HDF5_INCLUDE_PATH: /home/xguan/anaconda2/envs/eman-env/include HDF5_LIBRARY: /home/xguan/anaconda2/envs/eman-env/lib/libhdf5.so HDF5_LIBRARY: /home/xguan/anaconda2/envs/eman-env/lib/libhdf5.so PNG_LIBRARIES: /home/xguan/anaconda2/envs/eman-env/lib/libpng.so;/home/xguan/anaconda2/envs/eman-env/lib/libz.so CMake Error at /home/xguan/anaconda2/envs/eman-env/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR) Call Stack (most recent call first): /home/xguan/anaconda2/envs/eman-env/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) /home/xguan/anaconda2/envs/eman-env/share/cmake-3.8/Modules/FindOpenGL.cmake:170 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) cmake/OpenGL.cmake:1 (find_package) libEM/CMakeLists.txt:175 (include)
Thanks for your help!