Hi all,
I am relatively new to Code::Blocks, I have only used it to write dlls in the past. Now I am trying to make a SFML project.
Suppose I have a folder in the project directory called "font". In it, I have a font file which my project uses. In my code I wrote:
int i=font.loadFromFile("font/calibri.ttf");
And, sure enough, it works.
Now when I build my project, the .exe program is created in either the Debug or Release folder. And, naturally, when I try to run the program from either folder, the font isn't loaded unless I copy the "font" folder to the repective location of the .exe.
My question is: Is there a way for C::B to create the "font" folder and its contents in the bin directories? Or do I have to manually copy all required folders to the .exe location (or vice versa)?