SFML community forums
Help => Graphics => Topic started by: Mars_999 on June 10, 2012, 10:06:52 pm
-
1>NXResource.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class sf::Vector2<unsigned int> __thiscall sf::Image::getSize(void)const " (__imp_?
not sure why I am getting this error? I am using the RC build....
I get this on a Release build but not Debug...
-
snapshot rc-28 version and I am using SFML_DYNAMIC
-
And I'm not sure (i.e. have no idea) what you're doing in your code...
snapshot rc-28 version and I am using SFML_DYNAMIC
Also you don't need to decalre SFML_DYNAMIC in SFML 2 anymore...
-
glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + i, 0, GL_RGBA8, image.getSize().x, image.getSize().y, 0,
GL_RGBA, GL_UNSIGNED_BYTE, image.getPixelsPtr());
-
Thanks for the heads up on the dynamic preprocessor flag....
I just went through the entire pain the ass of making a whole new project in VC++2010 and dumping the code and libs into that new project and it works now... WTF is up with that? Anyone else have issues like that before?
Thanks