[Info-vax] Building AXPbox

Bill Gunshannon bill.gunshannon at gmail.com
Fri Nov 27 11:58:28 EST 2020


On 11/27/20 9:58 AM, Joukj wrote:
> Bill Gunshannon wrote:
>> On 11/27/20 2:46 AM, Joukj wrote:
>>> Bill Gunshannon wrote:
>>>> On 11/26/20 9:23 AM, Bill Gunshannon wrote:
>>>>>
>>>>> So, the holiday gave me the time to give this a shot.  Sadly,
>>>>> no luck.  I successfully downloaded everything to my Ubuntu
>>>>> box ran cmake and then make.  It dies every time trying to
>>>>> build SDL.
>>>>>
>>>>> First error is:
>>>>>
>>>>> /home/bill/AXPBox/axpbox/src/gui/sdl.cpp:203:3: error: 
>>>>> ‘SDL_EnableKeyRepeat’ was not declared in this scope
>>>>>     SDL_EnableKeyRepeat(250, 50);
>>>>>     ^~~~~~~~~~~~~~~~~~~
>>>>> /home/bill/AXPBox/axpbox/src/gui/sdl.cpp:203:3: note: suggested 
>>>>> alternative: ‘SDL_enabled_assert’
>>>>>     SDL_EnableKeyRepeat(250, 50);
>>>>>     ^~~~~~~~~~~~~~~~~~~
>>>>>     SDL_enabled_assert
>>>>>
>>>>> And it then does the same for what appears to be all the calls to
>>>>> SDL routines.
>>>>>
>>>>> Does AXPbox require a specific (older) vversion of SDL?
>>>>>
>>>>
>>>> I think I have it figured out.  It won't build with SDL2.
>>>> Being as I know of no way to roll back to SDL1 I guess once
>>>> again this project comes to a screeching halt.
>>>>
>>>> bill
>>>>
>>>
>>> On my Fedora system both SDL and SDL2 are installed and axpbox just 
>>> compiles fine. Is it not possible on Ubuntu to install SDL next to SDL2?
>>
>> I looked at it quickly but couldn't find a way to do both of them
>> as in the end they both want to link to a directory just called SDL.
> 
> hmm SDL2 should go into folders labeled SDL2. on my system I have i.e. 
> /usr/include/SDL and /usr/include/SDL2
> 

It does.  And /usr/include/SDL is a link to /usr/include/SDL2.
I even tried removing the link and it still find cmake still finds
the SDL2 files.

bill





More information about the Info-vax mailing list