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 Wed 01 Oct 2014, 19:13
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
The Puppy Gui tinycc project
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 28 May 2005, 11:57    Post_subject:  The Puppy Gui tinycc project  

Jesse writes on the wiki

=========
a C based compiler and gui toolkit. I've written a minimal one for OpenGL so I know a bit about them.

I would seriously consider helping anyone who wanted to work on any of these projects. Let me know.
========

We have tinycc. Is there such a thing as a minimal open source GUI design kit for Linux - must be - I saw some minute and wonderful ones for Windows using assembler.

Who knows of such things?

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sun 29 May 2005, 07:46    Post_subject:  

Oh my gosh!
I just had a bit of an idea, typed it into google.... and there is such a thing as TinyGL (minimal OpenGL software only implementation) now I'm wondering if I could "plug" it into the old stuff I did...
Oh dear theres too many cool things that I want to work on... cool Smile
Jesse
Back to top
View user's profile Send_private_message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sun 29 May 2005, 08:37    Post_subject:  

OMG! I compiled TinyGL with TCC on PuppyLinux (had to convert makefiles) but I got some animated graphics on the screen WayCool!, there seems to be a bug with color depth not quite being handled correctly, so colors are not as expected, but this looks very cool Smile
Jesse
Back to top
View user's profile Send_private_message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Sun 29 May 2005, 09:08    Post_subject:  

I figured it out, but have not bug fixed it yet, it only draws 16 bit graphics, even on 24 or 32 bit displays, so pixel boundarys overlap and you never see an intended colour on those displays...
here is a screenshot of "mech" running in puppy (16 bit display):

http://tinypic.com/5fitm0

this needs quite a bit of cosmetic work, but looks very promising Smile

libTinyGL.a compiled to 135Kb, and the executable "mech" is 129Kb (staticly linked)

I'm thinking of calling in sick tomorrow...

Jesse
Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sun 29 May 2005, 11:27    Post_subject:  

That's fascinating!

The OpenGL libraries in Mandrake are libGL.so and libGLU.so (I think this second one is also part of OpenGL, not sure). Sizes are 460K and 556K stripped.

...um, yes, libGLU needs libGL. Dunno what the difference is between them.
Back to top
View user's profile Send_private_message Visit_website 
PeterSieg

Joined: 04 May 2005
Posts: 361
Location: Germany, 37603

PostPosted: Mon 30 May 2005, 09:50    Post_subject: TinyGL  

Hi Jesse. Picture looks great! I saw that TinyGL is from the same guru as
TinyCC...

Could you please upload your tarball with your modifications, when 'done'?
Probably with some howto informations on which TinyCC version used and
what one has to watch out for...

Many Thanks,
PS

_________________
Have fun Smile
Back to top
View user's profile Send_private_message Visit_website 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Mon 30 May 2005, 10:56    Post_subject:  

Ah, there are lots of pitfals awaiting your arrival.
First install puppy to a harddisk partition
compile TCC 0.9.22 from http://fabrice.bellard.free.fr/tcc/ on another linux like vector or mandrake
tar up the tcc dir, move it to puppy, untar it then install it.
Install utilities make,ar from your other distro (just copy from /bin to /bin)
copy over the /usr/include from your build system into puppy to /usr/local/include
also copy over the X11 include directory from build system to /usr/local/include/X11
extract tinyGL 0.4 from http://fabrice.bellard.free.fr/TinyGL/
extract my attached build scripts, run the one in the src dir then the one in the examples dir, and you will have a mech executable.
(that sould keep you fairly busy) its easy as a walk in the park Wink

I've just discovered OpenGUI which might be what I'm after, its been in development for a few years, written in C++, not too bloated.

Jesse
Back to top
View user's profile Send_private_message 
Boukman

Joined: 31 May 2005
Posts: 3

PostPosted: Tue 31 May 2005, 00:22    Post_subject: FLTK  

Not sure if that's what you're looking for, but there is always FLTK.
Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Tue 31 May 2005, 09:48    Post_subject:  

I did create a Unleashed TCC awhile back, put in a selection of header files, don't recall exactly what, think it was basic C headers plus GTK1 headers.
PupGet can download it.

I can add more headers to it to improve it.
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 24 Jun 2005, 00:22    Post_subject: C Status?  

It says on the tcc site
http://fabrice.bellard.free.fr/tcc/

Quote:
* UNLIMITED! Any C dynamic library can be used directly. TCC is heading torward full ISOC99 compliance. TCC can of course compile itself.


Does that mean if the libraries required in the header are placed on
Puppy Developers edition, we can compile Puppy several times faster than gcc on Vector Linux?

Now I know great interest was expressed in creating a GUI front end for tcc and John Murga was interested in creating a programmers Puppy or did I dream all these things?

tsk. tsk. Shocked

    Waz 'appenin' Dudelles*?
    Bin sitting in the sun frying your brains out?


tsk. tsk. Shocked


*women Dudes and programmers with too much doodle and not enough noodle

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0644s ][ Queries: 11 (0.0089s) ][ GZIP on ]