Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Nov 2017, 00:31
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
GMenu2X - graphical frontend
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
s-kami


Joined: 30 Apr 2009
Posts: 133
Location: Hungary

PostPosted: Fri 30 Jun 2017, 13:12    Post subject:  GMenu2X - graphical frontend
Subject description: Compilation error - porting problems
 

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/documentation/compilation-instructions.html
Code:
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#
GMenu2x_01_error.jpg
Description 
jpg

 Download 
Filename  GMenu2x_01_error.jpg 
Filesize  252.75 KB 
Downloaded  30 Time(s) 

_________________
Hungarian Puppy Linux HQ
http://skamilinux.hu

Back to top
View user's profile Send private message Visit poster's website 
Keef


Joined: 20 Dec 2007
Posts: 869
Location: Staffordshire

PostPosted: Fri 30 Jun 2017, 15:38    Post subject:  

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:
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,
Screenshot(1).png
 Description   
 Filesize   86 KB
 Viewed   121 Time(s)

Screenshot(1).png

Back to top
View user's profile Send private message 
s-kami


Joined: 30 Apr 2009
Posts: 133
Location: Hungary

PostPosted: Fri 30 Jun 2017, 16:01    Post subject:  

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!
Very Happy Very Happy Very Happy

_________________
Hungarian Puppy Linux HQ
http://skamilinux.hu

Back to top
View user's profile Send private message Visit poster's website 
Keef


Joined: 20 Dec 2007
Posts: 869
Location: Staffordshire

PostPosted: Fri 30 Jun 2017, 16:13    Post subject:  

Forgot to add that libpng12 is also needed.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0361s ][ Queries: 13 (0.0084s) ][ GZIP on ]