I pinpointed segmentation fault - What is wrong? |
bilsch01
|
The code is listed below. The intention is to copy some text into a rectangle. I am trying to parallel a tutorial at:
http://www.aaroncox.net/tutorials/2dtutorials/sdl_text.pdf I traced down the point where the segmentation fault occurs - It is marked by the line of asterisks. Can anyone see why it is getting segmentation fault? TIA Bill S.
|
|||||||||||||
|
bilsch01
|
Thank you. Yes, that was the problem. Where is the 'the systems pool of fonts'? Is that on my system's PATH? How can something like this be made portable to other computers? |
|||||||||||||
|
MrTAToad
|
Your systems pool of fonts could be anywhere. To make it portable, you need to download the arial font from somewhere and put in either with the programs executable, or for a Mac, in the Resource directory.
|
|||||||||||
|