Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - GarrickW

Pages: 1 [2]
16
General discussions / A few beginner questions
« on: June 11, 2011, 08:36:41 am »
So I've recently made the move from Python to C++, and now that I feel somewhat confident in the latter, I'm trying out SFML.  However, I have a few problems/issues so far.  Keep in mine, I'm using CodeBlocks 10.05 for all my coding.

First, I dislike having to copy the DLLs into the executable folder all the time; I've heard of static linking, but I've also heard it's better to copy the DLLs anyway.  Why?  What are the advantages/disadvantages of static linking?  And how do I go about doing it, anyway?  Do I need to link to them in Build Options?

Second, I dislike having to manually go into Build Options and link all the libraries I need each time I start a new project.  I assume the SFML template in CodeBlocks is meant to avoid this hassle, but I've yet to get the template to work, for some reason.  Can I somehow set up CodeBlocks such that when I want to write an SFML program, I can just create a project and start coding, with the linkage already done for me?  Would this involve setting up my own template, and if so, how would I go about this?

Pages: 1 [2]