Author Topic: GUI applications?  (Read 4685 times)

Cycron

  • Guest
GUI applications?
« on: August 14, 2010, 04:44:57 am »
Hi, I'm kinda new, I just got a Dingoo a little bit ago and want to make GUI applications for it (like Dictionary and change DWrite to have a QWERTY keyboard). How exactly do I make GUI apps for Dingux? ???

I don't know how, but I'm very willing to learn. I'm a total newbie to Dingoo and Dingux, I have great ideas for Dingux apps, but I don't know how to make them.
I know some Python and (very) little C++.
And I use Ubuntu 10.04.

darfgarf

  • Guest
Re: GUI applications?
« Reply #1 on: August 14, 2010, 09:28:56 am »
For general purpose everything on the dingoo, most people use sdl, so get the toolchain and start reading lazyfoos sdl tutorials, oh and just generally learn how to write different sorts of program, you learn the logic, not a specific language :D

Cycron

  • Guest
Re: GUI applications?
« Reply #2 on: August 17, 2010, 04:31:52 am »
For general purpose everything on the dingoo, most people use sdl, so get the toolchain and start reading lazyfoos sdl tutorials, oh and just generally learn how to write different sorts of program, you learn the logic, not a specific language :D
thanks... I'll look into what you posted.  :)

SiENcE

  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: GUI applications?
« Reply #3 on: August 17, 2010, 09:25:19 pm »
I ported python. So you could port TK. Then you have a scriptable Guisystem.

Cycron

  • Guest
Re: GUI applications?
« Reply #4 on: August 17, 2010, 09:28:31 pm »
I ported python. So you could port TK. Then you have a scriptable Guisystem.
that would be really nice, but I have no idea of how to port TK. :-\

Cycron

  • Guest
Re: GUI applications?
« Reply #5 on: September 01, 2010, 04:03:00 pm »
For general purpose everything on the dingoo, most people use sdl, so get the toolchain and start reading lazyfoos sdl tutorials, oh and just generally learn how to write different sorts of program, you learn the logic, not a specific language :D
I finally looked into what you said... and found this: http://lazyfoo.net/SDL_tutorials/lesson01/linux/index.php, and also found sdl in my package manager. but you said to get "the toolchain" is there a dingux toolchain for linux? or were you referring  to sdl
I am a noob.

darfgarf

  • Guest
Re: GUI applications?
« Reply #6 on: September 01, 2010, 04:20:36 pm »
is there a dingux toolchain for linux?

look on the dingoo-linux googlecode page, or proabbyl somewhere roudn this forum, there's a nice little pre-made toolchain that you jsut slap into /opt and type mipsel-linux-gcc  ;D

Cycron

  • Guest
Re: GUI applications?
« Reply #7 on: September 06, 2010, 08:52:07 pm »
is there a dingux toolchain for linux?

look on the dingoo-linux googlecode page, or proabbyl somewhere roudn this forum, there's a nice little pre-made toolchain that you jsut slap into /opt and type mipsel-linux-gcc  ;D
Code: [Select]
mipsel-linux-gcc: command not found I extracted the the toolchain into /opt. Was there something else I was supposed to do before entering that command (maybe going to a certain directory?).

darfgarf

  • Guest
Re: GUI applications?
« Reply #8 on: September 06, 2010, 10:32:46 pm »
export PATH=$PATH:/opt/mipsel-linux-uclibc/usr/bin

Cycron

  • Guest
Re: GUI applications?
« Reply #9 on: September 06, 2010, 11:15:50 pm »
export PATH=$PATH:/opt/mipsel-linux-uclibc/usr/bin
ok, I ran that, then I ran mipsel-linux-gcc and it said
Code: [Select]
mipsel-linux-gcc: no input filesso that means it's ready, right? So I should make an application following the instructions on the lazy foo pages, then run
Code: [Select]
g++ -o myprogram mysource.cpp -lSDL then run
Code: [Select]
mipsel-linux-gcc myprogramright?

EDIT: I tried that with lesson01 from the lazy foo page and it said
Code: [Select]
lesson01: In function `__data_start':
(.data+0x4): multiple definition of `__dso_handle'
/opt/mipsel-linux-uclibc/usr/bin/../lib/gcc/mipsel-linux-uclibc/4.3.3/crtbegin.o:(.sdata+0x0): first defined here
lesson01: In function `_fini':
(.fini+0x0): multiple definition of `_fini'
/opt/mipsel-linux-uclibc/usr/lib/crti.o:initfini.c:(.fini+0x0): first defined here
lesson01: In function `_init':
(.init+0x0): multiple definition of `_init'
/opt/mipsel-linux-uclibc/usr/lib/crti.o:initfini.c:(.init+0x0): first defined here
lesson01: In function `__data_start':
(.data+0x0): multiple definition of `__data_start'
/opt/mipsel-linux-uclibc/usr/lib/crt1.o:(.data+0x0): first defined here
/opt/mipsel-linux-uclibc/usr/bin/../lib/gcc/mipsel-linux-uclibc/4.3.3/crtend.o:(.dtors+0x0): multiple definition of `__DTOR_END__'
lesson01:(.dtors+0x4): first defined here
/opt/mipsel-linux-uclibc/usr/bin/../lib/gcc/mipsel-linux-uclibc/4.3.3/../../../../mipsel-linux-uclibc/bin/ld: warning: Cannot create .eh_frame_hdr section, --eh-frame-hdr ignored.
/opt/mipsel-linux-uclibc/usr/bin/../lib/gcc/mipsel-linux-uclibc/4.3.3/../../../../mipsel-linux-uclibc/bin/ld: unknown architecture of input file `lesson01' is incompatible with mips:isa32 output
/opt/mipsel-linux-uclibc/usr/bin/../lib/gcc/mipsel-linux-uclibc/4.3.3/../../../../mipsel-linux-uclibc/bin/ld: error in lesson01(.eh_frame); no .eh_frame_hdr table will be created.
collect2: ld returned 1 exit status
I'm a noob!
« Last Edit: September 07, 2010, 12:09:28 am by Cycron »

darfgarf

  • Guest
Re: GUI applications?
« Reply #10 on: September 07, 2010, 06:43:16 am »
:D yes you're a noob :p if you go look in that folder youll see what the toolchain consists of, everything is preceded by the dispel triplet, so mipselblahg++ etc

Should really log onto #dingoonity on freenode

Cycron

  • Guest
Re: GUI applications?
« Reply #11 on: September 07, 2010, 11:31:40 pm »
:D yes you're a noob :p if you go look in that folder youll see what the toolchain consists of, everything is preceded by the dispel triplet, so mipselblahg++ etc

Should really log onto #dingoonity on freenode
I got on the IRC and "mth" and "zLouD" helped me to compile it. I had to run
Code: [Select]
/opt/mipsel-linux-uclibc/usr/bin/mipsel-linux-g++ -o MYPROGRAM MYSOURCE.cpp `/opt/mipsel-linux-uclibc/usr/bin/sdl-config --cflags` `/opt/mipsel-linux-uclibc/usr/bin/sdl-config --libs`
YAAY I FINALLY GOT IT WORKING!!!  
:) :) :) :) :) :) :) :) :) :) :) :) :) :)
« Last Edit: September 07, 2010, 11:44:06 pm by Cycron »

 

Post a new topic