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.


Messages - DroomNop

Pages: [1]
1
General / Is there a way to statically link to msvcp100.dll?
« on: July 30, 2010, 10:56:12 pm »
I'm just learning SFML, so I'm writing lot's of learning-how-to-do-stuff-test-programs, and I wanted to show my friend what I had done, but he got the error that msvcp100.dll was missing. I found out later that people who get that error just need to install the VC++ Redistributable Package, but isn't there a way I could statically embed it into my executable so I don't have to provide that 5mb installer for every person who doesn't have it installed already? Not that it's too tedious, just would be easier I guess.

SFML rocks by the way, thanks.

2
General discussions / Game Maker flooding the market with crap?
« on: July 30, 2010, 10:51:33 pm »
You can't exactly call stuff like this crap. Most of those Gamemaker games are qualitatively better than a big part of indie games written in a real language. And it's not just Drag'nDrop, it has it's own scripting language, children and other people can learn a lot of game logic with that. Sure they if they just wanted they could make equally good games with a real programming language, but it would take 25x the time, why should someone who's just interested in "creating games" bother with that much?

3
General / [Noob Question] FPS & TimeStep & box2D
« on: July 30, 2010, 10:21:01 pm »
Can't help but I wanted to say I like it  :o The only issue is that sometimes it's not possible to jump while walking.

4
General / LNK2001
« on: July 28, 2010, 05:16:55 pm »
Me turd, I managed to compile sfml, I got a few warnings though, I hope it's nothing important. The thread example runs fine now.

If anyone needs to compile it with Visual Studio 2010 go to

5
General / LNK2001
« on: July 28, 2010, 04:34:08 pm »
I just started to learn SFML and I can't even get through the second example code. The first one, http://www.sfml-dev.org/tutorials/1.6/start-vc.php, compiled fine. But the second tutorial program, about threads, gives me this error:

 
Code: [Select]
error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,int)" (__imp_?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z) c:\documents and settings\~~~~\my documents\visual studio 2010\Projects\SFML3\SFML3\sfml-system-s.lib(Thread.obj) SFML3


The code is

Code: [Select]

#include <SFML\System.hpp>
#include <iostream>

void ThreadFunction(void* UserData) {
    for (int i = 0; i < 10; ++i)
        std::cout << "I'm the thread number 1" << std::endl;
}

int main() {
    sf::Thread Thread(&ThreadFunction);

    Thread.Launch();

    for (int i = 0; i < 10; ++i)
        std::cout << "I'm the main thread" << std::endl;

    return EXIT_SUCCESS;
}


I used "Release" option and linked to "sfml-system-s.lib", with Visual Studio 2010. The tutorial said it would work, so first I didn't compile SFML myself, then when I got this error I tried, but I wasn't even able to compile it because of tons of errors.

The thread-example DOES compile fine when using sfml-system.lib when declared with SFML_DYNAMIC. But I'd like a static link. How can I solve this problem? I don't want to download vc2008 just for this.

Pages: [1]