Home | Reviews | GUIpedia | Forum | Fun500
aguma | Problem with compiling guiIt 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-05 | 6:44 PM |
Brandon | Re:Problem with compiling guiI'd set up cross-compiling, FBC probably needs more than DOSBox gives it. | 2009-03-05 | 6:48 PM |
aguma | Re:Problem with compiling guiHow 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-05 | 7:21 PM |
Todd | Re:Problem with compiling guiTry 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-05 | 9:31 PM |
aguma | Re:Problem with compiling guisorry, 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-06 | 6:06 PM |
Todd | Re:Problem with compiling guiThat 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-06 | 6:28 PM |
GUIs
2021 Brandon Cornell