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

Pages: [1]
1
General / Re: SFML static linking in CLion FLAC dependency
« on: May 11, 2015, 02:13:08 am »
Quote
The file lists for the FLAC packages don't show any static libs, so I'm going to assume that's why. You may have to compile it statically yourself (or find a static version provided elsewhere).
That's totally unrelated. Using SFML statically or dynamically doesn't change anything about its dependencies. FindSFML.cmake only tries to find a "flac" library on your system.

Oh, I didn't know that. Does that mean that FindSFML.cmake never needs to look up dependencies when linking sfml as a shared library? I guess I'm just confused because that works fine.

2
General / Re: SFML static linking in CLion FLAC dependency
« on: May 10, 2015, 07:01:54 pm »
What is the exact error message?

Error:SFML found but some of its dependencies are missing ( FLAC)

3
General / SFML static linking in CLion FLAC dependency
« on: May 10, 2015, 07:20:16 am »
Hello,
I am aware that since v2.2 I need to link all of SFML's dependencies in order to link SFML statically. I have been trying to learn CMake since I have started using the CLion IDE. Now, I have been calling find_package(SFML ...) and it works great. However, when I call set(SFML_STATIC_LIBRARIES TRUE), FLAC is listed as a missing dependency.

I'm running Arch Linux, and I have installed the FLAC package. Is there anything obvious that could be hindering findSFML's ability to locate the FLAC lib?

Thanks.

Pages: [1]
anything