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

Pages: [1]
1
General / Re: ld.exe cannot find extern dependencies
« on: February 19, 2017, 05:38:54 pm »
Are they in the 2.4.1S64/lib folder?

When you build the INSTALL target when using CMake, the libraries will be installed automatically. If you don't let the CMake script install the libraries, you need to manually copy them from the extlibs directory.

Thanks. I finally got it. I guess the CMake script couldn't decide which libraries should it use with my Mingw-w64 compiler.I feel a bit braindead. Copied the contents of /extlibs/libs-mingw/x64/ from the sources to my compiled library 2.4.1S64/lib (next to libsfml-window-s, etc).

I got the same errors using TDM-GCC, now i know the problem was not with the compiler.

Topic (should be) closed.

2
General / Re: ld.exe cannot find extern dependencies
« on: February 19, 2017, 12:41:58 pm »
You didn't specify where to find the library files.

I did not have to specify them until now. It just worked out of the box.
Quote from: Offical SFML Tutorial/Compiling SFML with CMake
On Windows and Mac OS X, all the required dependencies are provided alongside SFML so you won't have to download/install anything else. Building will work out of the box.

3
General / ld.exe cannot find extern dependencies
« on: February 18, 2017, 10:33:59 pm »
I have recently downgraded from windows 10 back to 8.1, and ran into some trouble while compiling a project i was working on windows 10.

Build Errors:
(click to show/hide)

Build Log:
(click to show/hide)

I compile SFML with CMake statically. I tried the library i used on windows 10, but got the same errors.

I get the same errors with the sample program in the tutorial too.

4
Feature requests / Adding sf::Window::getTitle()
« on: November 10, 2016, 04:18:07 pm »
Hello!

To say it in a short way, this is how i start my game:


int main(){
    MainProgram game(new sf::RenderWindow(sf::VideoMode(1280, 720), "Title"));

    game.insertNewState<StateMainMenu>();
    game.programLoop();
}
 

And it looks cool (to me) until i want to go fullscreen. The only way i can go fullscreen is by closing the  current window, then making a new one. The problem is i cannot get the title from the window, to pass it to the new one.


Originally i was about posting this here: http://en.sfml-dev.org/forums/index.php?topic=2276.0 , then the site warned me to make a new post instead of writing into a really old one.

Pages: [1]