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 - botics

Pages: [1]
1
General / Re: SFML-2.3 error
« on: June 24, 2015, 05:47:02 pm »
I downloaded the 32-bit version of SFML and now it works fine.

2
General / Re: SFML-2.3 error
« on: June 24, 2015, 05:25:08 pm »
This?
cl /c /I"E:\Programok\SFML-2.3\include" /ZI /W3 /WX- /sdl /Od /Oy- /D _MBCS /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt main.cpp

3
General / SFML-2.3 error
« on: June 24, 2015, 03:35:08 pm »
Hi!
Recently I downloaded SFML-2.3 and I can't get to work.
With SFML-2.1 everything works fine but with the 2.3 libs and include files it doesn't work.
I use Visual Studio 2013 on a x64 machine.

Anybody has any idea what's the problem?

This is the code and the errors.
#include <SFML/Graphics.hpp>

int main()
{

        sf::RenderWindow window(sf::VideoMode(400, 400), "saf");

        while (window.isOpen())
        {
                window.clear();
                window.display();
        }

}

1>------ Build started: Project: SFML-2.3-test, Configuration: Debug Win32 ------
1>  main.cpp
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::String::String(char const *,class std::locale const &)" (__imp_??0String@sf@@QAE@PBDABVlocale@std@@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::String::~String(void)" (__imp_??1String@sf@@QAE@XZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (__imp_??0VideoMode@sf@@QAE@III@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall sf::Window::isOpen(void)const " (__imp_?isOpen@Window@sf@@QBE_NXZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Window::display(void)" (__imp_?display@Window@sf@@QAEXXZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Color::Color(unsigned char,unsigned char,unsigned char,unsigned char)" (__imp_??0Color@sf@@QAE@EEEE@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::RenderTarget::clear(class sf::Color const &)" (__imp_?clear@RenderTarget@sf@@QAEXABVColor@2@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (__imp_??0RenderWindow@sf@@QAE@VVideoMode@1@ABVString@1@IABUContextSettings@1@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::RenderWindow::~RenderWindow(void)" (__imp_??1RenderWindow@sf@@UAE@XZ) referenced in function _main
1>C:\Users\Boti\Desktop\Projektek\C++\SFML\SFML-2.3-test\Debug\SFML-2.3-test.exe : fatal error LNK1120: 9 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

And here are my settings.



4
General / Re: SFML-2.1 internal OpenGL call failed
« on: June 07, 2014, 06:17:20 pm »
I think, I fix it the problem was that instead of this:
if (ev.type == sf::Event::KeyPressed)
{
        if (ev.key.code == sf::Keyboard::Escape)
                window.close();
}

I used just this:
if (ev.key.code == sf::Keyboard::Escape)
                window.close();
 

5
General / Re: SFML-2.1 internal OpenGL call failed
« on: June 07, 2014, 04:49:07 pm »
The program is pretty big so I don't know how to show it and it happens when I move my mouse in the corner of the window.

6
General / SFML-2.1 internal OpenGL call failed
« on: June 07, 2014, 04:31:08 pm »
Hello,
I recently started a new project and I got a very frustrating error.
Everything is working until I move my mouse over a specific point on the window, then the program just stop running.
The error it gives is: "An internal OpenGL call failed in Texture.cpp (95) : GL_INVALID_OPERATION, the specified operation is not allowed in the current state."
I tried to google it but I didn't find anything. Somebody can please help me?

Pages: [1]
anything