Home | Reviews | GUIpedia | Forum | Fun500


agumaProblem with compiling gui
It keeps saying 'libc.a: Cannot read symbols: memory exhausted'. Is it something wrong with my program? Because my program uses a lot less memory than the FAR OS series. Is there any way to fix it? Thanks!
2009-03-056:44 PM

BrandonRe:Problem with compiling gui
I'd set up cross-compiling, FBC probably needs more than DOSBox gives it.
2009-03-056:48 PM

agumaRe:Problem with compiling gui
How would I set it up for FreeBASIC? Oh wait, nvm...the -target switch!!! Ohhhhh. EDIT: This is somewhat unrelated to everything, but how do I test how much is being used as my program is running?
2009-03-057:21 PM

ToddRe:Problem with compiling gui
Try making it minimal and as small as possible. It could just be the way FreeBASIC has translated the code into Assembly. :P If you upload code, it might help to see what could be the cause. It could be huge array dimensions or just excessive use of buffers.
2009-03-059:31 PM

agumaRe:Problem with compiling gui
sorry, i already fixed the problem...just compile from windows instead of dosbox. but thanks anyway btw: how do I make the buttons look different from the textboxes?
2009-03-066:06 PM

ToddRe:Problem with compiling gui
That can do it too. DOSBox is an emulator and so memory is limited. Try making the buttons rounded or give them rounded corners. You can just do a simple job of taking the first 5 pixels from each corner and lower one down 2 pixels and then move the two pixels on either side along with another one down only 1 pixel to make a corner. Example (top-right corner): [code] ****** ** * * * * * * [/code]
2009-03-066:28 PM

GUIs


2021 Brandon Cornell