1
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.
Pages: [1]
2
General / Linking error?
« on: December 10, 2011, 02:51:35 am »
Hi, guys.
I made a post a few days ago trying to get SFML to work with C::B. It didn't end well, and I eventually just gave up after following several tutorials to no avail. I decided to switch over to Visual C++ and got a little further, but I am still having a lot of trouble getting anything with SFML to work and am starting to wonder if I'm not just an idiot.
The tutorial I am following is: http://www.gamefromscratch.com/page/Game-From-Scratch-CPP-Edition-Part-1.aspx
I have set up everything as described. Alas, I am still receiving this error (or others when I play around with things):
1>LINK : fatal error LNK1104: cannot open file 'sfml-system-d.lib'
sfml-system-d.lib is in the correct place from what I can tell, as are all the necessary dlls. Everything has been set up in the project settings as per the tutorial and I have triple checked this. The only difference is that I am currently only including sfml-system-d.lib with the linker. If I add anything else the error includes those as well (eg.
1>LINK : fatal error LNK1104: cannot open file 'sfml-system-d.lib; sfml-main-d.lib;'
et cetera.
Any help? I'm seriously frustrated.
I made a post a few days ago trying to get SFML to work with C::B. It didn't end well, and I eventually just gave up after following several tutorials to no avail. I decided to switch over to Visual C++ and got a little further, but I am still having a lot of trouble getting anything with SFML to work and am starting to wonder if I'm not just an idiot.
The tutorial I am following is: http://www.gamefromscratch.com/page/Game-From-Scratch-CPP-Edition-Part-1.aspx
I have set up everything as described. Alas, I am still receiving this error (or others when I play around with things):
1>LINK : fatal error LNK1104: cannot open file 'sfml-system-d.lib'
sfml-system-d.lib is in the correct place from what I can tell, as are all the necessary dlls. Everything has been set up in the project settings as per the tutorial and I have triple checked this. The only difference is that I am currently only including sfml-system-d.lib with the linker. If I add anything else the error includes those as well (eg.
1>LINK : fatal error LNK1104: cannot open file 'sfml-system-d.lib; sfml-main-d.lib;'
et cetera.
Any help? I'm seriously frustrated.
3
General / SFML + Code::Blocks Help
« on: December 07, 2011, 02:44:10 am »
Hi, guys. I'm new to SFML.
I'm trying to get it installed, and have decided to install C::B and use that as my IDE for C++. However, I keep running into issues. I have been following the guide on the site, and made sure I replaced the mingw with the one in the instructions, made sure all the files are in the right places, and followed the linker instruction. I am still getting an error telling me that the compiler I am using is invalid.
I am not sure what to do. I had it kind of working before, but it was giving me several different errors. I have tried following two YT tutorials too, starting from scratch, and am not seeing my mistake.
I'm trying to get it installed, and have decided to install C::B and use that as my IDE for C++. However, I keep running into issues. I have been following the guide on the site, and made sure I replaced the mingw with the one in the instructions, made sure all the files are in the right places, and followed the linker instruction. I am still getting an error telling me that the compiler I am using is invalid.
Quote
"SFMLTest - Release" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
I am not sure what to do. I had it kind of working before, but it was giving me several different errors. I have tried following two YT tutorials too, starting from scratch, and am not seeing my mistake.
Pages: [1]