Hi everybody!
I'm trying to compile my project with SFML2.0 (have compiled SFML2.0 with Visual Studio 9)
Before that, I've used SFML 1.6 but I'm a victim of the ATI bug
![Wink ;)](https://www.sfml-dev.org/forums/Smileys/default/wink.gif)
I think I've compiled it correctly (SFML 2.0) but when I'm trying to compile my project, I'm getting
sfml-graphics-d-2.dll : fatal error LNK1107: Invalid or corrupted File: Read at 0x2E0 not possible.
How I compiled SFML2.0- CMAKE
-- Build Examples
-- Build Shared Libs
-- Type: Release
- Visual Studio 9
-- Compiled "ALL_BUILD"
-- Compiled "INSTALL"
How I've implemented it into Visual Studio 9- Added lib, include & src path to Visual Studio 9
- Added .dll files to my Project (Linker/Input)
- Copied the .dll into my project folder
Any newbie mistakes so far?
![Tongue :P](https://www.sfml-dev.org/forums/Smileys/default/tongue.gif)
p.s.: I've used some tutorial code for testing sfml 2.0
#include <SFML/Graphics.hpp>
int main()
{
// Create the main rendering window
sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");
// Start game loop
while (App.IsOpened())
{
// Clear the screen (fill it with black color)
App.Clear();
// Display window contents on screen
App.Display();
}
return EXIT_SUCCESS;
}