So search didn't turn up any hits, so I'll ask here. Did anyone get Klystracker to build on RPi2? I get 2 errors on many GUI objects. Using the Deb Jessie packages
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-2.0-0
sudo apt-get install libsdl2-image-dev
I get many
" warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]"
slider, file_list_view, flip, checkbox, button_event, button_text_event, spinner
"error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]"
songinfo1_view, songinfo2_view, songinfo3_view, playstop_view, info_line, write_command, program_view, inst_field, instrument_name_view, instrument_view, instrument_view2, instrument_list, fx_name_view, fx_global_view, fx_view
Looks like a problem with SDL2_image for armhf (?) Any tips or this is just a 'no go'
EDIT: so I checked the view.c source where these errors are. Seems that it's MAKEPTR() that the compiler doesn't like. Google search didn't help, seems to be a macro but no idea why the armhf GCC doesn't like it.
Last edited by yogi (December 12, 2016 10:30 pm)