Framework with MaxGUI

BlitzMax Forums/BlitzMax Programming/Framework with MaxGUI

Tibit(Posted 2006) [#1]
I have a little GUI app.
1. It uses one imported file of my own.
2. I use the Blitzmax Sockets and the GUI.

How do I setup the framework to make the filesize as small as possible? Right now it is 1Meg; feels rather large.

Framework Pub.MaxGUI
import Pub.Sockets
import "Myfile.bmx"

Does anyone know?

(If you want to test it you can download it here )


Chris C(Posted 2006) [#2]
you could try framwork assistant maybe?

has Myfile.bmx got any inports?


Tibit(Posted 2006) [#3]
Does Myfile.bmx have any imports?

No, but it uses sockets and stdl. It is the gui I'm unsure about.


MVB(Posted 2006) [#4]
I think you should also import one of the following:
BRL.CocoaMaxGUI
BRL.FLTKMaxGUI
BRL.Win32MaxGUI


EOF(Posted 2006) [#5]
Hi Wave,
Give my Framework Assistant a try and see it that helps.


Chris C(Posted 2006) [#6]
importing one of the MaxGUI drivers will import MaxGUI


Tibit(Posted 2006) [#7]
Thanks, Framework Assistant worked perfect. Very nice program by the way.

The solution was as follow:

* In The main file I imported:
Framework BRL.Win32MaxGUI
Import BRL.Socket

* In the Imported file:
Import BRL.Socket

I didn't know imported files should import their dependencies themselves.

Thanks for the help everyone.


Brucey(Posted 2006) [#8]
Any chance of a cross-platform compiled version of the Framework Assistant? :-)
(ie. for either of the two platforms that it currently isn't)

thanks :-)


EOF(Posted 2006) [#9]
I'll see what I can do Brucey.