-
Notifications
You must be signed in to change notification settings - Fork 34
GLFW had build errors #163
Comments
I think this happens, when you forget to add these packages: sudo apt-get install xorg-dev libglu1-mesa-dev |
@SimonDanisch Thank you very much, after follow your suggestion, Pkg.build success, but when I using GLVisuallize package, comes the new error: ERROR: LoadError: LoadError: invalid subtyping in definition of AbstractMesh |
Oh , didn't realize that you're on 0.6. |
after I free and update the GLWindow, still failed to precompile it. julia> using GLVisualize WARNING: both FixedSizeArrays and GeometryTypes export "Vec"; uses of it in module GLWindow must be qualified |
... 0.6 is not supported! |
@SimonDanisch Thank your time! |
julia> versioninfo()
Julia Version 0.6.0-pre.beta.121
Commit c8026a9 (2017-04-13 02:38 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Core(TM) i7-6700T CPU @ 2.80GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
julia> using GLVisualize
WARNING: deprecated syntax "typealias GLBoundingBox AABB{Float32}" at /home/liu/.julia/v0.6/GLVisualize/src/GLVisualize.jl:49.
Use "const GLBoundingBox = AABB{Float32}" instead.
INFO: Precompiling module GLVisualize.
WARNING: deprecated syntax "typealias GLBoundingBox AABB{Float32}" at /home/liu/.julia/v0.6/GLVisualize/src/GLVisualize.jl:49.
Use "const GLBoundingBox = AABB{Float32}" instead.
ERROR: LoadError: could not open file /home/liu/.julia/v0.6/GLFW/src/../deps/deps.jl
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:539
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:539
[4] include(::String) at ./sysimg.jl:14
[5] anonymous at ./:2
while loading /home/liu/.julia/v0.6/GLFW/src/GLFW.jl, in expression starting on line 5
ERROR: LoadError: Failed to precompile GLFW to /home/liu/.julia/lib/v0.6/GLFW.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:673
[2] require(::Symbol) at ./loading.jl:431
[3] include_from_node1(::String) at ./loading.jl:539
[4] include(::String) at ./sysimg.jl:14
[5] anonymous at ./:2
while loading /home/liu/.julia/v0.6/GLVisualize/src/GLVisualize.jl, in expression starting on line 4
ERROR: Failed to precompile GLVisualize to /home/liu/.julia/lib/v0.6/GLVisualize.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:673
[2] require(::Symbol) at ./loading.jl:460
julia> Pkg.build("GLFW")
INFO: Building GLFW
INFO: Attempting to Create directory /home/liu/.julia/v0.6/GLFW/deps/downloads
INFO: Directory /home/liu/.julia/v0.6/GLFW/deps/downloads already created
INFO: Downloading file https://github.com/glfw/glfw/archive/3.2.1.tar.gz
INFO: Done downloading file https://github.com/glfw/glfw/archive/3.2.1.tar.gz
INFO: Attempting to Create directory /home/liu/.julia/v0.6/GLFW/deps/src
INFO: Directory /home/liu/.julia/v0.6/GLFW/deps/src already created
INFO: Attempting to Create directory /home/liu/.julia/v0.6/GLFW/deps
INFO: Directory /home/liu/.julia/v0.6/GLFW/deps already created
INFO: Path /home/liu/.julia/v0.6/GLFW/deps/src/glfw-3.2.1 already created
INFO: Changing Directory to /home/liu/.julia/v0.6/GLFW/deps/src/glfw-3.2.1
-- Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR)
-- Using X11 for window creation
CMake Error at CMakeLists.txt:222 (message):
The RandR library and headers were not found
-- Configuring incomplete, errors occurred!
See also "/home/liu/.julia/v0.6/GLFW/deps/src/glfw-3.2.1/CMakeFiles/CMakeOutput.log".
See also "/home/liu/.julia/v0.6/GLFW/deps/src/glfw-3.2.1/CMakeFiles/CMakeError.log".
================================[ ERROR: GLFW ]=================================
LoadError: failed process: Process(
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/home/liu/.julia/v0.6/GLFW/deps/usr -DGLFW_BUILD_DOCS=OFF -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF .
, ProcessExited(1)) [1]The text was updated successfully, but these errors were encountered: