Giter Site home page Giter Site logo

libtcod-mac's People

Contributors

podiki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

libtcod-mac's Issues

_TCOD symbols not found

Running make -f makefiles/makefile-osx spits out a lot of errors. I'm sure this is an error on my part, but I've still been unable to resolve it so far.

client-170:libtcod-mac-master pineapple$ make -f makefiles/makefile-osx
g++ -shared -Wl,-install_name,libtcod.dylib -o libtcod.dylib /tmp/libtcod/release/bresenham_c.o /tmp/libtcod/release/bsp_c.o /tmp/libtcod/release/color_c.o /tmp/libtcod/release/console_c.o /tmp/libtcod/release/fov_c.o /tmp/libtcod/release/fov_circular_raycasting.o /tmp/libtcod/release/fov_diamond_raycasting.o /tmp/libtcod/release/fov_recursive_shadowcasting.o /tmp/libtcod/release/fov_permissive2.o /tmp/libtcod/release/fov_restrictive.o /tmp/libtcod/release/heightmap_c.o /tmp/libtcod/release/image_c.o /tmp/libtcod/release/lex_c.o /tmp/libtcod/release/list_c.o /tmp/libtcod/release/mersenne_c.o /tmp/libtcod/release/noise_c.o /tmp/libtcod/release/parser_c.o /tmp/libtcod/release/path_c.o /tmp/libtcod/release/sys_c.o /tmp/libtcod/release/sys_opengl_c.o /tmp/libtcod/release/sys_sdl_c.o /tmp/libtcod/release/sys_sdl_img_bmp.o /tmp/libtcod/release/sys_sdl_img_png.o /tmp/libtcod/release/txtfield_c.o /tmp/libtcod/release/tree_c.o /tmp/libtcod/release/wrappers.o /tmp/libtcod/release/zip_c.o /tmp/libtcod/release/namegen_c.o /tmp/libtcod/release/sys_sdl12_c.o /tmp/libtcod/release/png/lodepng.o osx/macsupport.m -framework Cocoa -lz `sdl-config --libs`  -Iinclude -Iinclude/gui -Wall `sdl-config --cflags`  -fno-strict-aliasing -fPIC -ansi -framework OpenGL
ld: warning: ld: warning: ignoring file /tmp/libtcod/release/bresenham_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/bresenham_c.oignoring file /tmp/libtcod/release/bsp_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/bsp_c.o

ld: warning: ignoring file /tmp/libtcod/release/color_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/color_c.o
ld: warning: ignoring file /tmp/libtcod/release/console_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/console_c.o
ld: warning: ignoring file /tmp/libtcod/release/fov_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/fov_c.o
ld: warning: ignoring file /tmp/libtcod/release/fov_circular_raycasting.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/fov_circular_raycasting.o
ld: warning: ignoring file /tmp/libtcod/release/fov_diamond_raycasting.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/fov_diamond_raycasting.old: warning:
ignoring file /tmp/libtcod/release/fov_recursive_shadowcasting.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/fov_recursive_shadowcasting.old: warning:
ld: warning: ignoring file /tmp/libtcod/release/fov_restrictive.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/fov_restrictive.oignoring file /tmp/libtcod/release/fov_permissive2.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/fov_permissive2.o

ld: warning: ignoring file /tmp/libtcod/release/heightmap_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/heightmap_c.o
ld: warning: ld: warning: ignoring file /tmp/libtcod/release/image_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/image_c.oignoring file /tmp/libtcod/release/lex_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/lex_c.o

ld: warning: ld: warning: ignoring file /tmp/libtcod/release/list_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/list_c.oignoring file /tmp/libtcod/release/mersenne_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/mersenne_c.o
ld: warning: ld: warning:
ld: warning: ld: warning: ignoring file /tmp/libtcod/release/noise_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/noise_c.oignoring file /tmp/libtcod/release/parser_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/parser_c.oignoring file /tmp/libtcod/release/sys_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/sys_c.oignoring file /tmp/libtcod/release/path_c.o, file was built for i386 which is not the architecture being linked (x86_64): /tmp/libtcod/release/path_c.o



Undefined symbols for architecture x86_64:
  "_TCOD_black", referenced from:
      _TCOD_sys_get_image_pixel in sys_sdl_c.o
  "_TCOD_color_add", referenced from:
      _TCOD_color_add_wrapper in wrappers.o
     (maybe you meant: _TCOD_color_add_wrapper)
  "_TCOD_color_equals", referenced from:
      _TCOD_color_equals_wrapper in wrappers.o
     (maybe you meant: _TCOD_color_equals_wrapper)
  "_TCOD_color_get_HSV", referenced from:
      _TCOD_color_get_HSV_wrapper in wrappers.o
     (maybe you meant: _TCOD_color_get_HSV_wrapper)
  "_TCOD_color_get_hue", referenced from:
      _TCOD_color_get_hue_ in wrappers.o
     (maybe you meant: _TCOD_color_get_hue_)
  "_TCOD_color_get_saturation", referenced from:
      _TCOD_color_get_saturation_ in wrappers.o
     (maybe you meant: _TCOD_color_get_saturation_)
  "_TCOD_color_get_value", referenced from:
      _TCOD_color_get_value_ in wrappers.o
     (maybe you meant: _TCOD_color_get_value_)
  "_TCOD_color_lerp", referenced from:
      _TCOD_color_lerp_wrapper in wrappers.o
     (maybe you meant: _TCOD_color_lerp_wrapper)
  "_TCOD_color_multiply", referenced from:
      _TCOD_color_multiply_wrapper in wrappers.o
     (maybe you meant: _TCOD_color_multiply_wrapper, _TCOD_color_multiply_scalar_wrapper )
  "_TCOD_color_multiply_scalar", referenced from:
      _TCOD_color_multiply_scalar_wrapper in wrappers.o
     (maybe you meant: _TCOD_color_multiply_scalar_wrapper)
  "_TCOD_color_subtract", referenced from:
      _TCOD_color_subtract_wrapper in wrappers.o
     (maybe you meant: _TCOD_color_subtract_wrapper)
  "_TCOD_console_blit", referenced from:
      _TCOD_text_render in txtfield_c.o
  "_TCOD_console_check_for_keypress", referenced from:
      _TCOD_console_check_for_keypress_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_check_for_keypress_wrapper)
  "_TCOD_console_clear", referenced from:
      _TCOD_text_render in txtfield_c.o
  "_TCOD_console_delete", referenced from:
      _TCOD_text_delete in txtfield_c.o
  "_TCOD_console_get_char", referenced from:
      _TCOD_zip_put_console in zip_c.o
     (maybe you meant: _TCOD_console_get_char_background_wrapper, _TCOD_console_get_char_foreground_wrapper )
  "_TCOD_console_get_char_background", referenced from:
      _TCOD_console_get_char_background_wrapper in wrappers.o
      _TCOD_zip_put_console in zip_c.o
     (maybe you meant: _TCOD_console_get_char_background_wrapper)
  "_TCOD_console_get_char_foreground", referenced from:
      _TCOD_console_get_char_foreground_wrapper in wrappers.o
      _TCOD_zip_put_console in zip_c.o
     (maybe you meant: _TCOD_console_get_char_foreground_wrapper)
  "_TCOD_console_get_default_background", referenced from:
      _TCOD_console_get_default_background_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_get_default_background_wrapper)
  "_TCOD_console_get_default_foreground", referenced from:
      _TCOD_console_get_default_foreground_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_get_default_foreground_wrapper)
  "_TCOD_console_get_fade", referenced from:
      _TCOD_opengl_render in sys_opengl_c.o
      _TCOD_sys_console_to_bitmap in sys_sdl_c.o
      _render in sys_sdl12_c.o
  "_TCOD_console_get_fading_color", referenced from:
      _TCOD_sys_console_to_bitmap in sys_sdl_c.o
      _TCOD_console_get_fading_color_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_get_fading_color_wrapper)
  "_TCOD_console_get_height", referenced from:
      _TCOD_sys_create_bitmap_for_console in sys_sdl_c.o
      _TCOD_sys_flush in sys_sdl_c.o
      _TCOD_sys_handle_event in sys_sdl_c.o
      _TCOD_zip_put_console in zip_c.o
  "_TCOD_console_get_width", referenced from:
      _TCOD_sys_create_bitmap_for_console in sys_sdl_c.o
      _TCOD_sys_flush in sys_sdl_c.o
      _TCOD_sys_handle_event in sys_sdl_c.o
      _TCOD_zip_put_console in zip_c.o
  "_TCOD_console_new", referenced from:
      _TCOD_text_init in txtfield_c.o
      _TCOD_text_init2 in txtfield_c.o
      _TCOD_zip_get_console in zip_c.o
  "_TCOD_console_print_ex", referenced from:
      _TCOD_console_print_double_frame in wrappers.o
  "_TCOD_console_print_internal", referenced from:
      _TCOD_console_print_return_string in wrappers.o
  "_TCOD_console_print_rect_ex", referenced from:
      _TCOD_text_render in txtfield_c.o
  "_TCOD_console_put_char", referenced from:
      _TCOD_console_double_hline in wrappers.o
      _TCOD_console_double_vline in wrappers.o
      _TCOD_console_print_double_frame in wrappers.o
     (maybe you meant: _TCOD_console_put_char_ex_wrapper)
  "_TCOD_console_put_char_ex", referenced from:
      _TCOD_console_put_char_ex_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_put_char_ex_wrapper)
  "_TCOD_console_rect", referenced from:
      _TCOD_console_print_double_frame in wrappers.o
  "_TCOD_console_set_char", referenced from:
      _TCOD_text_render in txtfield_c.o
      _TCOD_zip_get_console in zip_c.o
     (maybe you meant: _TCOD_console_set_char_background_wrapper, _TCOD_console_set_char_foreground_wrapper )
  "_TCOD_console_set_char_background", referenced from:
      _TCOD_text_render in txtfield_c.o
      _TCOD_console_set_char_background_wrapper in wrappers.o
      _TCOD_zip_get_console in zip_c.o
     (maybe you meant: _TCOD_console_set_char_background_wrapper)
  "_TCOD_console_set_char_foreground", referenced from:
      _TCOD_text_render in txtfield_c.o
      _TCOD_console_set_char_foreground_wrapper in wrappers.o
      _TCOD_zip_get_console in zip_c.o
     (maybe you meant: _TCOD_console_set_char_foreground_wrapper)
  "_TCOD_console_set_color_control", referenced from:
      _TCOD_console_set_color_control_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_set_color_control_wrapper)
  "_TCOD_console_set_default_background", referenced from:
      _TCOD_text_render in txtfield_c.o
      _TCOD_console_set_default_background_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_set_default_background_wrapper)
  "_TCOD_console_set_default_foreground", referenced from:
      _TCOD_text_render in txtfield_c.o
      _TCOD_console_set_default_foreground_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_set_default_foreground_wrapper)
  "_TCOD_console_set_dirty", referenced from:
      _TCOD_sys_set_renderer in sys_sdl_c.o
  "_TCOD_console_set_fade", referenced from:
      _TCOD_console_set_fade_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_set_fade_wrapper)
  "_TCOD_console_set_key_color", referenced from:
      _TCOD_console_set_key_color_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_set_key_color_wrapper)
  "_TCOD_console_set_window_title", referenced from:
      _TCOD_sys_set_renderer in sys_sdl_c.o
  "_TCOD_console_vline", referenced from:
      _TCOD_console_print_double_frame in wrappers.o
  "_TCOD_console_vsprint", referenced from:
      _TCOD_console_print_double_frame in wrappers.o
  "_TCOD_console_wait_for_keypress", referenced from:
      _TCOD_console_wait_for_keypress_wrapper in wrappers.o
     (maybe you meant: _TCOD_console_wait_for_keypress_wrapper)
  "_TCOD_ctx", referenced from:
      _TCOD_opengl_init_state in sys_opengl_c.o
      _TCOD_opengl_init_shaders in sys_opengl_c.o
      _TCOD_opengl_putchar_ex in sys_opengl_c.o
      _TCOD_opengl_render in sys_opengl_c.o
      _TCOD_opengl_get_screen in sys_opengl_c.o
      _TCOD_sys_register_SDL_renderer in sys_sdl_c.o
      _TCOD_sys_map_ascii_to_font in sys_sdl_c.o
      ...
  "_TCOD_fatal", referenced from:
      _TCOD_sys_load_font in sys_sdl_c.o
      _TCOD_sys_read_bmp in sys_sdl_img_bmp.o
  "_TCOD_fatal_nopar", referenced from:
      _create_window in sys_sdl12_c.o
  "_TCOD_image_clear", referenced from:
      _TCOD_image_clear_wrapper in wrappers.o
     (maybe you meant: _TCOD_image_clear_wrapper)
  "_TCOD_image_get_mipmap_pixel", referenced from:
      _TCOD_image_get_mipmap_pixel_wrapper in wrappers.o
     (maybe you meant: _TCOD_image_get_mipmap_pixel_wrapper)
  "_TCOD_image_get_pixel", referenced from:
      _TCOD_sys_update_char in sys_sdl_c.o
      _TCOD_image_get_pixel_wrapper in wrappers.o
      _TCOD_zip_put_image in zip_c.o
     (maybe you meant: _TCOD_image_get_pixel_wrapper)
  "_TCOD_image_get_size", referenced from:
      _TCOD_sys_update_char in sys_sdl_c.o
      _TCOD_zip_put_image in zip_c.o
  "_TCOD_image_new", referenced from:
      _TCOD_zip_get_image in zip_c.o
  "_TCOD_image_put_pixel", referenced from:
      _TCOD_image_put_pixel_wrapper in wrappers.o
      _TCOD_zip_get_image in zip_c.o
     (maybe you meant: _TCOD_image_put_pixel_wrapper)
  "_TCOD_image_set_key_color", referenced from:
      _TCOD_image_set_key_color_wrapper in wrappers.o
     (maybe you meant: _TCOD_image_set_key_color_wrapper)
  "_TCOD_list_allocate", referenced from:
      _TCOD_zip_load_from_file in zip_c.o
  "_TCOD_list_begin", referenced from:
      _TCOD_namegen_get_sets_wrapper in wrappers.o
      _TCOD_zip_save_to_file in zip_c.o
      _TCOD_zip_load_from_file in zip_c.o
      _TCOD_zip_get_string in zip_c.o
      _TCOD_zip_get_data in zip_c.o
      _namegen_generator_check in namegen_c.o
      _namegen_get_sets_on_error in namegen_c.o
      ...
  "_TCOD_list_clear", referenced from:
      _TCOD_namegen_destroy in namegen_c.o
  "_TCOD_list_clear_and_delete", referenced from:
      _namegen_generator_delete in namegen_c.o
      _TCOD_namegen_destroy in namegen_c.o
  "_TCOD_list_delete", referenced from:
      _TCOD_namegen_get_nb_sets_wrapper in wrappers.o
      _TCOD_zip_delete in zip_c.o
      _TCOD_zip_load_from_file in zip_c.o
  "_TCOD_list_end", referenced from:
      _TCOD_namegen_get_sets_wrapper in wrappers.o
      _namegen_generator_check in namegen_c.o
      _namegen_get_sets_on_error in namegen_c.o
      _namegen_generator_get in namegen_c.o
      _namegen_parser_run in namegen_c.o
      _namegen_word_has_illegal in namegen_c.o
      _TCOD_namegen_get_sets in namegen_c.o
      ...
  "_TCOD_list_get", referenced from:
      _TCOD_zip_get_char in zip_c.o
      _TCOD_zip_get_int in zip_c.o
      _TCOD_zip_get_color in zip_c.o
      _TCOD_zip_get_string in zip_c.o
      _TCOD_zip_get_data in zip_c.o
      _TCOD_zip_get_console in zip_c.o
      _TCOD_zip_skip_bytes in zip_c.o
      ...
  "_TCOD_list_new", referenced from:
      _TCOD_zip_put_char in zip_c.o
      _TCOD_zip_put_int in zip_c.o
      _TCOD_zip_put_string in zip_c.o
      _TCOD_zip_put_data in zip_c.o
      _TCOD_zip_put_color in zip_c.o
      _TCOD_zip_put_console in zip_c.o
      _TCOD_zip_save_to_file in zip_c.o
      ...
  "_TCOD_list_push", referenced from:
      _TCOD_zip_put_char in zip_c.o
      _TCOD_zip_put_int in zip_c.o
      _TCOD_zip_put_string in zip_c.o
      _TCOD_zip_put_data in zip_c.o
      _TCOD_zip_put_color in zip_c.o
      _TCOD_zip_put_console in zip_c.o
      _TCOD_zip_save_to_file in zip_c.o
      ...
  "_TCOD_list_set_size", referenced from:
      _TCOD_zip_load_from_file in zip_c.o
  "_TCOD_list_size", referenced from:
      _TCOD_namegen_get_nb_sets_wrapper in wrappers.o
      _TCOD_zip_get_current_bytes in zip_c.o
      _TCOD_zip_get_remaining_bytes in zip_c.o
      _TCOD_zip_skip_bytes in zip_c.o
      _namegen_parser_run in namegen_c.o
      _namegen_word_has_illegal in namegen_c.o
      _TCOD_namegen_generate_custom in namegen_c.o
      ...
  "_TCOD_parser_get_bool_property", referenced from:
      _TCOD_sys_init in sys_sdl_c.o
  "_TCOD_parser_get_color_property", referenced from:
      _TCOD_parser_get_color_property_wrapper in wrappers.o
     (maybe you meant: _TCOD_parser_get_color_property_wrapper)
  "_TCOD_parser_get_int_property", referenced from:
      _TCOD_sys_init in sys_sdl_c.o
  "_TCOD_parser_get_string_property", referenced from:
      _TCOD_sys_init in sys_sdl_c.o
  "_TCOD_parser_new", referenced from:
      _TCOD_sys_init in sys_sdl_c.o
      _namegen_parser_prepare in namegen_c.o
  "_TCOD_parser_new_struct", referenced from:
      _TCOD_sys_init in sys_sdl_c.o
      _namegen_parser_prepare in namegen_c.o
  "_TCOD_parser_run", referenced from:
      _TCOD_sys_init in sys_sdl_c.o
      _namegen_parser_run in namegen_c.o
  "_TCOD_random_get_instance", referenced from:
      _namegen_generator_new in namegen_c.o
  "_TCOD_random_get_int", referenced from:
      _TCOD_namegen_generate_custom in namegen_c.o
      _TCOD_namegen_generate in namegen_c.o
  "_TCOD_strcasecmp", referenced from:
      _TCOD_sys_init in sys_sdl_c.o
  "_TCOD_strdup", referenced from:
      _TCOD_text_set_properties in txtfield_c.o
      _namegen_populate_list in namegen_c.o
      _namegen_populate in namegen_c.o
      _namegen_parser_property in namegen_c.o
      _namegen_parser_end_struct in namegen_c.o
      _namegen_parser_run in namegen_c.o
      _namegen_word_has_illegal in namegen_c.o
      ...
  "_TCOD_struct_add_property", referenced from:
      _TCOD_sys_init in sys_sdl_c.o
      _namegen_parser_prepare in namegen_c.o
  "_TCOD_sys_clipboard_get", referenced from:
      _TCOD_text_update in txtfield_c.o
  "_TCOD_sys_clipboard_set", referenced from:
      _TCOD_text_update in txtfield_c.o
      _cut in txtfield_c.o
  "_TCOD_white", referenced from:
      _TCOD_sys_update_char in sys_sdl_c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libtcod.dylib] Error 11

samples do not compile

Output of make -f makefiles/makefile-samples-linux release

gcc  -Iinclude -I. -Wall -O2 -s -o /tmp/libtcod/release/samples/samples_c.o -c samples/samples_c.c
clang: warning: argument unused during compilation: '-s'
In file included from samples/samples_c.c:13:
include/libtcod.h:109:10: fatal error: 'SDL.h' file not found
#include <SDL.h>
         ^
1 error generated.

keyboard input broken with SDL2

This repo is behind the original trunk. There is a bug with SDL2 described here:
https://bitbucket.org/jice/libtcod/issue/39/proposed-sdl2-unknown-pressed-character

If you can merge in the changed from jice's repo, it will fix them. With this repo, the TCOD_key_t foo.shift boolean wasn't working and I couldn't get capital letters. The newest libtcod adds a "text" element to get the right input from SDL2.

All that said, thanks for posting this fork. The makefile worked great and saved me a headache.

State of this Mac fork

Hi,

I'm replacing jice as the libtcod maintainer. People have been mentioning to me that the Mac support isn't working for them. I don't have a Mac so I thought I'd ask here, as it seems to have recent changes.

The end result I am looking for is for any Mac developers to at least be able to compile their own version, and better yet some way to get builds done (ideally with scripting language bindings) so that Mac users get the same level of accessibility as Windows users.

What are your thought on the state of things Mac-wise?

path_compute causes Segmentation Fault 11

Hi there!

Thank you very much for your work on making this port available! I've run into very few issues with it save for this one :P However, there is certainly a chance that I simply compiled the source wrong or something...

It seems that whenever I try to use the libtcod.path_compute() method from Python 2.7.10 on OS X (El Capitan) Python crashes with "Segmentation fault: 11". There is no other output.

Has anyone else experienced this issue? I've spent a little time searching the net but haven't found anyone else discussing this precise issue...

Please let me know if I can provide any additional information. I'm a C newbie so I'm still not sure what kinds of debug information is available/useful.

Thanks!

upx is a dependency

Heads up, upx is a dependency for the samples.

Before making the samples, e.g.
make -f makefiles/makefile-samples-linux-sdl2 release
or
make -f makefiles/makefile-samples-linux-sdl release
you'll need to
brew install upx

p.s. Thanks for all the hard work getting this ported to OSX!

slightly wrong SDL.h path

I just installed and compiled this.

One interesting thing, is that in most places, it looks for SDL/SDL.h but in the libtcod.h file there is a ifdef for OSX, that looks into only <SDL.h>, this made samples fail to compile on my machine.

Upon changing line 109 of libtcod.h to <SDL/SDL.h> then it worked correctly.

Trying to compile & run on OSX 10.11

I have here a summary of a partially-successful attempt to build & run libtcod on OSX 10.11 using libraries from MacPorts.

  1. The dependencies (SDL2, upx, ...) are available from MacPorts as well as homebrew.
  2. The samples do not compile out of the box following the instructions. To get them to compile I had to do the following:
    2a) Add $(SDL_LIBS) to CFLAGS in makefile-samples-linux-sdl2
    2b) Comment out all the conditional crap about SDL.h from samples_c.c and samples_cpp.cpp and just write #include <SDL.h>
  3. The samples run, but various features end up crashing the demo. I can provide more details if someone will actually investigate.
  4. The python sample starts to run, but it crashes with an Abort trap: 6

Unfortunately I wish to use the python bindings, so the partial success is not enough to let me do the tutorial I found.

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.