Skip to content

Instantly share code, notes, and snippets.

@imonmyown
Created December 3, 2017 09:41
Show Gist options
  • Save imonmyown/a35e1b7c2495e6079e8e665dc771a668 to your computer and use it in GitHub Desktop.
Save imonmyown/a35e1b7c2495e6079e8e665dc771a668 to your computer and use it in GitHub Desktop.
Undefined symbols for architecture x86_64:
"_sfml_circleshape_allocate", referenced from:
_*SF::CircleShape#initialize<Float64>:Nil in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_draw_fqURoT", referenced from:
_*SF::CircleShape#draw<SF::RenderWindow, SF::RenderStates>:Nil in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_finalize", referenced from:
_*SF::CircleShape#finalize:Nil in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_free", referenced from:
_*SF::CircleShape#finalize:Nil in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_getlocalbounds", referenced from:
_*SF::CircleShape#local_bounds:SF::Rect(Float32) in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_getorigin", referenced from:
_*SF::CircleShape#origin:SF::Vector2(Float32) in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_getpoint_vgv", referenced from:
_*SF::CircleShape#get_point<UInt64>:SF::Vector2(Float32) in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_getpointcount", referenced from:
_*SF::CircleShape#point_count:Int32 in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_initialize_Bw9vgv", referenced from:
_*SF::CircleShape#initialize<Float64>:Nil in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_setfillcolor_QVe", referenced from:
_*SF::CircleShape#fill_color=<SF::Color>:Nil in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_setorigin_UU2", referenced from:
_*SF::CircleShape#origin=<SF::Vector2(Float32)>:Nil in S-F-5858C-ircleS-hape.o
"_sfml_circleshape_setposition_UU2", referenced from:
_*SF::CircleShape#position=<SF::Vector2(Int32)>:Nil in S-F-5858C-ircleS-hape.o
"_sfml_color_initialize_9yU9yU9yU9yU", referenced from:
_*SF::Color#initialize<Int32, Int32, Int32>:Nil in S-F-5858C-olor.o
_*SF::Color#initialize<UInt8, UInt8, UInt8>:Nil in S-F-5858C-olor.o
"_sfml_contextsettings_initialize_emSemSemSemSemSemSGZq", referenced from:
_*SF::ContextSettings#initialize:depth:antialiasing<Int32, Int32>:Nil in S-F-5858C-ontextS-ettings.o
"_sfml_convexshape_getpoint_vgv", referenced from:
_*SF::ConvexShape#get_point<UInt64>:SF::Vector2(Float32) in S-F-5858C-onvexS-hape.o
"_sfml_convexshape_getpointcount", referenced from:
_*SF::ConvexShape#point_count:Int32 in S-F-5858C-onvexS-hape.o
"_sfml_event_allocate", referenced from:
_*SF::RenderWindow#poll_event:(SF::Event+ | Nil) in S-F-5858R-enderW-indow.o
"_sfml_fileinputstream_getsize", referenced from:
_*SF::FileInputStream#size:Int64 in S-F-5858F-ileI-nputS-tream.o
"_sfml_fileinputstream_read_xALG4x", referenced from:
_*SF::FileInputStream#read<Slice(UInt8)>:Int64 in S-F-5858F-ileI-nputS-tream.o
"_sfml_fileinputstream_seek_G4x", referenced from:
_*SF::FileInputStream#seek<Int64>:Int64 in S-F-5858F-ileI-nputS-tream.o
"_sfml_fileinputstream_tell", referenced from:
_*SF::FileInputStream#tell:Int64 in S-F-5858F-ileI-nputS-tream.o
"_sfml_inputstream_getsize_callback", referenced from:
___crystal_main in _main.o
"_sfml_inputstream_read_callback", referenced from:
___crystal_main in _main.o
"_sfml_inputstream_seek_callback", referenced from:
___crystal_main in _main.o
"_sfml_inputstream_tell_callback", referenced from:
___crystal_main in _main.o
"_sfml_memoryinputstream_getsize", referenced from:
_*SF::MemoryInputStream#size:Int64 in S-F-5858M-emoryI-nputS-tream.o
"_sfml_memoryinputstream_read_xALG4x", referenced from:
_*SF::MemoryInputStream#read<Slice(UInt8)>:Int64 in S-F-5858M-emoryI-nputS-tream.o
"_sfml_memoryinputstream_seek_G4x", referenced from:
_*SF::MemoryInputStream#seek<Int64>:Int64 in S-F-5858M-emoryI-nputS-tream.o
"_sfml_memoryinputstream_tell", referenced from:
_*SF::MemoryInputStream#tell:Int64 in S-F-5858M-emoryI-nputS-tream.o
"_sfml_operator_eq_QVeQVe", referenced from:
_*SF::Color#==<SF::Color>:Bool in S-F-5858C-olor.o
"_sfml_rectangleshape_allocate", referenced from:
_*SF::RectangleShape#initialize<Tuple(Float64, Float64)>:Nil in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_draw_fqURoT", referenced from:
_*SF::RectangleShape#draw<SF::RenderWindow, SF::RenderStates>:Nil in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_finalize", referenced from:
_*SF::RectangleShape#finalize:Nil in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_free", referenced from:
_*SF::RectangleShape#finalize:Nil in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_getlocalbounds", referenced from:
_*SF::RectangleShape#local_bounds:SF::Rect(Float32) in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_getpoint_vgv", referenced from:
_*SF::RectangleShape#get_point<UInt64>:SF::Vector2(Float32) in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_getpointcount", referenced from:
_*SF::RectangleShape#point_count:Int32 in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_initialize_UU2", referenced from:
_*SF::RectangleShape#initialize<Tuple(Float64, Float64)>:Nil in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_setfillcolor_QVe", referenced from:
_*SF::RectangleShape#fill_color=<SF::Color>:Nil in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_setorigin_UU2", referenced from:
_*SF::RectangleShape#origin=<SF::Vector2(Float32)>:Nil in S-F-5858R-ectangleS-hape.o
"_sfml_rectangleshape_setposition_UU2", referenced from:
_*SF::RectangleShape#position=<SF::Vector2(Float64)>:Nil in S-F-5858R-ectangleS-hape.o
"_sfml_renderstates_initialize_FPe", referenced from:
_*SF::RenderStates#initialize<SF::Transform>:Nil in S-F-5858R-enderS-tates.o
"_sfml_renderwindow_allocate", referenced from:
_*SF::RenderWindow#initialize:settings<SF::VideoMode, String, SF::ContextSettings>:Nil in S-F-5858R-enderW-indow.o
"_sfml_renderwindow_clear_QVe", referenced from:
_*SF::RenderWindow#clear<SF::Color>:Nil in S-F-5858R-enderW-indow.o
"_sfml_renderwindow_close", referenced from:
_*SF::RenderWindow#close:Nil in S-F-5858R-enderW-indow.o
"_sfml_renderwindow_display", referenced from:
_*SF::RenderWindow#display:Nil in S-F-5858R-enderW-indow.o
"_sfml_renderwindow_finalize", referenced from:
_*SF::RenderWindow#finalize:Nil in S-F-5858R-enderW-indow.o
"_sfml_renderwindow_free", referenced from:
_*SF::RenderWindow#finalize:Nil in S-F-5858R-enderW-indow.o
"_sfml_renderwindow_initialize_wg0bQssaLFw4", referenced from:
_*SF::RenderWindow#initialize:settings<SF::VideoMode, String, SF::ContextSettings>:Nil in S-F-5858R-enderW-indow.o
"_sfml_renderwindow_isopen", referenced from:
_*SF::RenderWindow#open?:Bool in S-F-5858R-enderW-indow.o
"_sfml_renderwindow_pollevent_YJW", referenced from:
_*SF::RenderWindow#poll_event:(SF::Event+ | Nil) in S-F-5858R-enderW-indow.o
"_sfml_renderwindow_setframeratelimit_emS", referenced from:
_*SF::RenderWindow#framerate_limit=<Int32>:Nil in S-F-5858R-enderW-indow.o
"_sfml_shape_getpoint_callback", referenced from:
___crystal_main in _main.o
"_sfml_shape_getpointcount_callback", referenced from:
___crystal_main in _main.o
"_sfml_transform_initialize", referenced from:
_*SF::Transform#initialize:Nil in S-F-5858T-ransform.o
"_sfml_transform_scale_Bw9Bw9", referenced from:
_*SF::Transform#scale<Int32, Int32>:SF::Transform in S-F-5858T-ransform.o
"_sfml_transform_translate_Bw9Bw9", referenced from:
_*SF::Transform#translate<Float64, Float64>:SF::Transform in S-F-5858T-ransform.o
"_sfml_videomode_initialize_emSemSemS", referenced from:
_*SF::VideoMode#initialize<Int32, Int32>:Nil in S-F-5858V-ideoM-ode.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o '/Users/SumProxy/.cache/crystal/crystal-run-snakes.tmp' -rdynamic -lvoidcsfml-graphics -lvoidcsfml-window -lvoidcsfml-system -lpcre -lgc -lpthread /usr/local/Cellar/crystal-lang/0.23.1_3/src/ext/libcrystal.a -levent -liconv -ldl -L/usr/lib -L/usr/local/lib`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment