Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
15 crawler(s) on-line.
 131 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 yoodoo2:  12 mins ago
 vox:  25 mins ago
 amigakit:  45 mins ago
 tlosm:  47 mins ago
 21stcentury:  54 mins ago
 bhabbott:  1 hr 3 mins ago
 pixie:  1 hr 5 mins ago
 BigD:  1 hr 14 mins ago
 kiFla:  1 hr 24 mins ago
 kolla:  1 hr 56 mins ago

/  Forum Index
   /  Amiga OS4 Software
      /  FLTK
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
ferrels 
FLTK
Posted on 6-Feb-2013 21:32:25
#1 ]
Cult Member
Joined: 20-Oct-2005
Posts: 922
From: Arizona

I'm surprised that there hasn't been much interest in porting good applications from other platforms to OS4 using FLTK. I've found a really nice spreadsheet here: http://nab.pcug.org.au/

It's called simply sprsht1.2.2. Complete source (Window and Linux binaries too) is included and it has a configurable GUI. The only dependency is FLTK. I sold my PegII about 18 months ago or I'd take a stab at porting this to OS4 using Massimiliano's FLTK library. Is anybody here willing to take this on? I've looked over the source code and I don't think it would take more than a few hours to have a working OS4 binary.

 Status: Offline
Profile     Report this post  
Thematic 
Re: FLTK
Posted on 6-Feb-2013 21:37:09
#2 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@ferrels

I don't remember seeing this FLTK port in action, is it feature complete and stable?

_________________
: AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1)
: A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5
: A500/1MB
: Pegasos (ff) 512 MB & MorphOS
Praise seitan.

 Status: Offline
Profile     Report this post  
ferrels 
Re: FLTK
Posted on 6-Feb-2013 21:46:25
#3 ]
Cult Member
Joined: 20-Oct-2005
Posts: 922
From: Arizona

@Thematic

It's stable but missing the following:

- OpenGL support
- Drag and Drop
- threads
- custom pointers

You can get it here: http://www.soft3dev.net/pages/fltk.php

Pre-compiled binaries for OS4 and nice screenshots too.

Last edited by ferrels on 06-Feb-2013 at 09:48 PM.

 Status: Offline
Profile     Report this post  
scabit 
Re: FLTK
Posted on 7-Feb-2013 13:26:58
#4 ]
Super Member
Joined: 8-Jan-2005
Posts: 1667
From: Satellite Beach, FL USA

@ferrels

I've tried to google FLTK programs or programs built with FLTK but I never find any source code for them. Usually all I get are demos or instruction manuals for FLTK and not actual useful programs.
is there a repository for programs built with FLTK, or is there a good way to search for them?

Thanks,

Scott

Last edited by scabit on 07-Feb-2013 at 01:27 PM.

_________________
AmigaOne uA1-c 512M RAM - Only Amiga Makes It Possible!
Check my blog AmigaOne Computing

 Status: Offline
Profile     Report this post  
abalaban 
Re: FLTK
Posted on 7-Feb-2013 16:32:43
#5 ]
Super Member
Joined: 1-Oct-2004
Posts: 1114
From: France

@all

I have on my HD an updated FLTK port that adds:
- mousewheel support
- abiliy to access volumes and assigns when accessing '/'

The only problem preventing its release is that it seems I'm unable to compile it with a working JPEG support anymore. My test program is an updated flPhoto and when using this version I can't save (or rotate I don't remember) a JPEG without obtaining an error message (I forgot right now but I can provide it if required).

_________________
AOS 4.1 : I dream it, Hyperion did it !
Now dreaming AOS 4.2...
Thank you to all devs involved for this great job !

 Status: Offline
Profile     Report this post  
ferrels 
Re: FLTK
Posted on 7-Feb-2013 17:21:25
#6 ]
Cult Member
Joined: 20-Oct-2005
Posts: 922
From: Arizona

@scabit

Here's a huge list of FLTK apps: http://www.fltk.org/links.php?LA+Q

If you're interested in doing any programming in FLTK, the best place to start is Erco's FLTK Cheat Page: http://seriss.com/people/erco/fltk/

Erco posts complete source code and screenshots for just about anything you can imagine.

I've also found that FLTK is much easier to use from a programmer's perspective than QT and it's light years easier to use compared to wxwidgets. FLTK executables are also about 1/10 the size of a QT or wxwidgets program.

 Status: Offline
Profile     Report this post  
ferrels 
Re: FLTK
Posted on 7-Feb-2013 17:34:24
#7 ]
Cult Member
Joined: 20-Oct-2005
Posts: 922
From: Arizona

Here's a screenshot and the complete source for a progress indicator from Erco's site. If you're a C/C++ programmer you'll appreciate the simplicity. It's less than 65 lines of code.




Erco's FLTK Cheat Page - Progress Bar Demo Source Code

Last edited by ferrels on 07-Feb-2013 at 06:59 PM.
Last edited by ferrels on 07-Feb-2013 at 05:49 PM.
Last edited by ferrels on 07-Feb-2013 at 05:46 PM.
Last edited by ferrels on 07-Feb-2013 at 05:42 PM.
Last edited by ferrels on 07-Feb-2013 at 05:40 PM.
Last edited by ferrels on 07-Feb-2013 at 05:38 PM.
Last edited by ferrels on 07-Feb-2013 at 05:35 PM.
Last edited by ferrels on 07-Feb-2013 at 05:34 PM.

 Status: Offline
Profile     Report this post  
ferrels 
Re: FLTK
Posted on 7-Feb-2013 18:55:23
#8 ]
Cult Member
Joined: 20-Oct-2005
Posts: 922
From: Arizona

@abalaban

I wish now that I'd held on to my PegII. I should have been more patient but after letting it sit unused for 2 years in the garage, I felt it was time to let someone else enjoy it.

I suppose I could use a cross-compiler such as AmiDev and take a stab at porting some FLTK apps but I'd still need an OS4 system for testing......oh well, maybe some bored soul will become interested in FLTK for OS4 and port some apps for us.

 Status: Offline
Profile     Report this post  
spotUP 
Re: FLTK
Posted on 7-Feb-2013 19:47:53
#9 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@abalaban

interesting! Fix it! ;)

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
itix 
Re: FLTK
Posted on 7-Feb-2013 20:01:19
#10 ]
Elite Member
Joined: 22-Dec-2004
Posts: 3398
From: Freedom world

@ferrels

Quote:

If you're a C/C++ programmer you'll appreciate the simplicity. It's less than 65 lines of code.


That is about same number of lines than with MUI.

Last edited by itix on 07-Feb-2013 at 08:10 PM.

_________________
Amiga Developer
Amiga 500, Efika, Mac Mini and PowerBook

 Status: Offline
Profile     Report this post  
joeled 
Re: FLTK
Posted on 8-Feb-2013 9:24:35
#11 ]
Cult Member
Joined: 25-Dec-2007
Posts: 724
From: Uppsala, Sweden

@abalaban

Hope you can fix it.

_________________
AmigaOS on Google+
AmigaOS on Facebook

 Status: Offline
Profile     Report this post  
abalaban 
Re: FLTK
Posted on 8-Feb-2013 10:23:59
#12 ]
Super Member
Joined: 1-Oct-2004
Posts: 1114
From: France

@joeled & spotup

I'll try to see if I can find a way to fix it this time, but don't expect miracle The problem is related to libjpeg itself and every libjpeg I can get hold on now seems to produce the same error. IIRC when I tried to understand the reason of this error I found very little information about it.


_________________
AOS 4.1 : I dream it, Hyperion did it !
Now dreaming AOS 4.2...
Thank you to all devs involved for this great job !

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: FLTK
Posted on 8-Feb-2013 11:57:32
#13 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12931
From: Norway

@abalaban

Do you really need libjpeg, can't you just use datatypes and some wrapper code?

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
ferrels 
Re: FLTK
Posted on 8-Feb-2013 16:01:41
#14 ]
Cult Member
Joined: 20-Oct-2005
Posts: 922
From: Arizona

@abalaban

I ran into the same problem with a cross-platform GUI library called GraphApp that relies on libjpeg. The error always occurred at link time and I had to use the following switch in the CFLAGS portion of my makefile for sucess: -DPNG_NO_MMX_CODE


So my CFLAGS portion looked like this:

CFLAGS = -DPNG_NO_MMX_CODE -O2 -Wall -I. -Ix11 -Iutility -Igui -Ilibz -Ilibpng -Ilibjpeg -Ilibgif -I$(X11_INC_DIR)

 Status: Offline
Profile     Report this post  
abalaban 
Re: FLTK
Posted on 8-Feb-2013 16:05:14
#15 ]
Super Member
Joined: 1-Oct-2004
Posts: 1114
From: France

@NutsAboutAmiga

libjpeg is a dependency of FLTK itself. While it's probably doable to add support of Datatypes it would be of no use because no existing FLTK would use them. Moreover Datatypes does not support saving and I'm not sure they cope very well with EXIF data...

_________________
AOS 4.1 : I dream it, Hyperion did it !
Now dreaming AOS 4.2...
Thank you to all devs involved for this great job !

 Status: Offline
Profile     Report this post  
MickJT 
Re: FLTK
Posted on 9-Feb-2013 21:27:55
#16 ]
Cult Member
Joined: 13-Jan-2005
Posts: 525
From: Adelaide, South Australia

@abalaban

I hope the libjpeg issue isn't an error on my part. I did the libjpeg 8d port on OS4Depot. Seems like a fairly straight-forward process to build it. I assume you've tried porting it yourself? There's also a slightly older version on Aminet ported by Chris Young.

Last edited by MickJT on 09-Feb-2013 at 09:40 PM.

 Status: Offline
Profile     Report this post  
broadblues 
Re: FLTK
Posted on 10-Feb-2013 13:00:14
#17 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4447
From: Portsmouth England

@abalaban

What was the error?

And did you try this one?

http://os4depot.net/index.php?function=showfile&file=development/library/graphics/libjpeg6b-dev.lha

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
abalaban 
Re: FLTK
Posted on 11-Feb-2013 8:51:21
#18 ]
Super Member
Joined: 1-Oct-2004
Posts: 1114
From: France

@broadblues

I'll try to find some time this evening to quote the exact error message.

_________________
AOS 4.1 : I dream it, Hyperion did it !
Now dreaming AOS 4.2...
Thank you to all devs involved for this great job !

 Status: Offline
Profile     Report this post  
ferrels 
Re: FLTK
Posted on 12-Feb-2013 22:50:21
#19 ]
Cult Member
Joined: 20-Oct-2005
Posts: 922
From: Arizona

@abalaban

Any word yet?

 Status: Offline
Profile     Report this post  
abalaban 
Re: FLTK
Posted on 12-Feb-2013 23:27:29
#20 ]
Super Member
Joined: 1-Oct-2004
Posts: 1114
From: France

@ferrels

Okay, I've just retried this night. Unfortunately the code broke on some recent system update and I had to fix this in order to be able to use flphoto again... Now that's fixed I was able to find out the error message is "Bogus virtual array access" (i.e. its JPEG error JERR_BAD_VIRTUAL_ACCESS).

Unfortunately the fltk port is using clib2 so I'm stuck for now with old libjpeg versions...

_________________
AOS 4.1 : I dream it, Hyperion did it !
Now dreaming AOS 4.2...
Thank you to all devs involved for this great job !

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle