Discussion:
Building AXPbox
(too old to reply)
Bill Gunshannon
2020-11-26 14:23:35 UTC
Permalink
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?

bill
Bill Gunshannon
2020-11-26 15:02:20 UTC
Permalink
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.
‘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
Joukj
2020-11-27 07:46:58 UTC
Permalink
Post by Bill Gunshannon
Post by Bill Gunshannon
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.
‘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?

On the other hand SDL is only used for the graphic console, which may be
still rather buggy. Try to compile without SDL support.

Jouk
Bill Gunshannon
2020-11-27 13:35:16 UTC
Permalink
Post by Joukj
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.
‘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.
Post by Joukj
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
Joukj
2020-11-27 14:58:30 UTC
Permalink
Post by Bill Gunshannon
Post by Joukj
Post by Bill Gunshannon
Post by Bill Gunshannon
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.
‘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
Bill Gunshannon
2020-11-27 16:58:28 UTC
Permalink
Post by Joukj
Post by Bill Gunshannon
Post by Joukj
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.
‘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
Stephen Hoffman
2020-11-27 19:43:29 UTC
Permalink
Entirely FWIW, some how-to-build discussions, particularly around SDL
usage with the AXPbox progenitor emulator:

https://sourceforge.net/p/es40/discussion/search/?q=Sdl
https://sourceforge.net/p/es40/discussion/656085/thread/903d0a87/
etc...
--
Pure Personal Opinion | HoffmanLabs LLC
Tomáš Glozar
2020-12-01 17:43:53 UTC
Permalink
Post by Bill Gunshannon
Post by Joukj
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.
‘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.
Post by Joukj
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.
Loading...