[Info-vax] Building AXPbox

Tomáš Glozar tglozar at gmail.com
Tue Dec 1 12:43:53 EST 2020


Dne pátek 27. listopadu 2020 v 14:35:22 UTC+1 uživatel Bill Gunshannon napsal:
> 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.
> > 
> > On the other hand SDL is only used for the graphic console, which may be 
> > still rather buggy. Try to compile without SDL support.
> I tried that, too. I tried commenting out the tests for both the 
> includes and libraries. It still prints the message "found SDL" and 
> tries to build with it. 
> 
> Too many other irons in the fire. I'll get back to this eventually. 
> Maybe even look at how much work it would be to move to SDL2. 
> 
> bill

Commenting out check_include_file("SDL/SDL.h" HAVE_SDL) works for me. Try removing CMakeCache.txt.



More information about the Info-vax mailing list