zyedidia / SFML.jl

A binding of the game and multimedia library SFML for Julia
Other
93 stars 22 forks source link

Fails on installation on Ubuntu linux #40

Open kohlten opened 6 years ago

kohlten commented 6 years ago

Stacktrace: [1] depwarn(::String, ::Symbol) at ./deprecated.jl:68 [2] is_linux() at ./deprecated.jl:31 [3] anonymous at ./:? [4] include_relative(::Module, ::String) at ./loading.jl:464 [5] include(::Module, ::String) at ./sysimg.jl:14 [6] process_options(::Base.JLOptions) at ./client.jl:315 [7] _start() at ./client.jl:383 while loading /home/kohlten/.julia/v0.7/SFML/deps/build.jl, in expression starting on line 69 ERROR: LoadError: UndefVarError: WORD_SIZE not defined Stacktrace: [1] macro expansion at /home/kohlten/.julia/v0.7/SFML/deps/build.jl:81 [inlined] [2] anonymous at ./:? [3] include_relative(::Module, ::String) at ./loading.jl:464 [4] include(::Module, ::String) at ./sysimg.jl:14 [5] process_options(::Base.JLOptions) at ./client.jl:315 [6] _start() at ./client.jl:383 while loading /home/kohlten/.julia/v0.7/SFML/deps/build.jl, in expression starting on line 69

I was able to fix this by just changing "systemLibPath = /usr/lib" to "systemLibPath = /usr/local/lib" where my sfml files are installed. Thanks!

scls19fr commented 6 years ago

I'm also facing a similar issue with Ubuntu Linux and master branch

✔ ~/.julia/v0.6/SFML [master|✔] 
20:03 $ julia --version
julia version 0.6.1
✔ ~/.julia/v0.6/SFML [master|✔] 
20:04 $ julia -e 'Pkg.build("SFML")'
INFO: Building SFML
====================================================================================================================[ ERROR: SFML ]=====================================================================================================================

LoadError: UndefVarError: WORD_SIZE not defined
while loading /home/scls/.julia/v0.6/SFML/deps/build.jl, in expression starting on line 71

========================================================================================================================================================================================================================================================

====================================================================================================================[ BUILD ERRORS ]====================================================================================================================

WARNING: SFML had build errors.

 - packages with build errors remain installed in /home/scls/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("SFML")`
 - build a single package by running its `deps/build.jl` script

========================================================================================================================================================================================================================================================
✔