GMenu2X - graphical frontend

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
s-kami
Posts: 138
Joined: Thu 30 Apr 2009, 11:56
Location: Hungary
Contact:

GMenu2X - graphical frontend

#1 Post by s-kami »

GMenu2X is a frontend application targeted at embedded devices, originally developed for the GP2X and successively ported to other devices.

It would be a cool thing to porting for puppy, but i am stuck with this error.

Does anyone have tried this to compile?

http://mtorromeo.github.io/gmenu2x/

http://mtorromeo.github.io/gmenu2x/docu ... tions.html

Code: Select all

bjs/pc/src/selector.o: In function `Selector::exec(int)':
/root/Downloads/gmenu2x-master/src/selector.cpp:73: undefined reference to `SDL_GetTicks'
/root/Downloads/gmenu2x-master/src/selector.cpp:98: undefined reference to `SDL_GetTicks'
/root/Downloads/gmenu2x-master/src/selector.cpp:127: undefined reference to `SDL_GetTicks'
/root/Downloads/gmenu2x-master/src/selector.cpp:135: undefined reference to `SDL_GetTicks'
/root/Downloads/gmenu2x-master/src/selector.cpp:143: undefined reference to `SDL_GetTicks'
objs/pc/src/selector.o:/root/Downloads/gmenu2x-master/src/selector.cpp:151: more undefined references to `SDL_GetTicks' follow
collect2: error: ld returned 1 exit status
Makefile:28: recipe for target 'debug' failed
make: *** [debug] Error 1
root# 
Attachments
GMenu2x_01_error.jpg
(252.75 KiB) Downloaded 234 times
[b]Hungarian Puppy Linux HQ[/b]
[url]http://skamilinux.hu[/url]
[img]https://skamilinux.hu/phpBB3/styles/prosilver/theme/images/site_logo.gif[/img]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#2 Post by Keef »

Using Slacko 6.9.9.6
It needs SDL. It has sdl-1.2.15 already, but had to add SDL_gfx-2.0.25 from PPM.
There were some errors during compilation such as:

Code: Select all

src/utilities.cpp:93:31: error: ‘unlink’ was not declared in this scope
    if (unlink(filepath.c_str())!=0) return false;
                               ^
src/utilities.cpp:98:27: error: ‘rmdir’ was not declared in this scope
  return rmdir(path.c_str())==0;
  
  
src/menu.cpp:302:41: error: ‘unlink’ was not declared in this scope
which were solved by adding #include <unistd.h> to :
messagebox.cpp
menu.cpp
utilities.cpp

If that all works, run 'make dist', and it should be ready to run in the 'dist' directory.

I didn't understand the error messages, but did a bit of searching then made it up as I went along.
Seems to work anyway. Hope that helps,
Attachments
Screenshot(1).png
(86 KiB) Downloaded 254 times

User avatar
s-kami
Posts: 138
Joined: Thu 30 Apr 2009, 11:56
Location: Hungary
Contact:

#3 Post by s-kami »

Thank you very muck for your work!

I have no success on xenial 32 bit but it is not such a good puplet like the old ones so i am keep on trying !
Maybe i have the wrong system for this compilation...

I will change system.

It is so good to see that it is works now!
:D :D :D
[b]Hungarian Puppy Linux HQ[/b]
[url]http://skamilinux.hu[/url]
[img]https://skamilinux.hu/phpBB3/styles/prosilver/theme/images/site_logo.gif[/img]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#4 Post by Keef »

Forgot to add that libpng12 is also needed.

Post Reply