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

Pages: [1] 2 3 4
1
General / Re: SFML for GCC 13.2.0
« on: November 04, 2024, 10:33:52 pm »
If you follow the instructions it will build a compatible version of SFML. It will use your same compiler to build SFML. Just try it out. I promise it'll help.

2
General / Re: SFML for GCC 13.2.0
« on: November 04, 2024, 09:02:16 pm »
You followed the instructions in https://github.com/SFML/cmake-sfml-project and this is the error you got? The template is structured such that those kinds of linker errors won't happen. I encourage you to follow the instructions in that link and your problem will likely go away.

3
General / Re: SFML for GCC 13.2.0
« on: November 04, 2024, 05:37:53 pm »
I'd recommend using the CMake project template so that you don't have to wait on us to distribute more binaries. It's really simple to use and works with all compilers.

https://github.com/SFML/cmake-sfml-project

4
As Lukas pointed out this is already a settled matter.

5
General / Re: VS Code running simple sfml app macos
« on: December 09, 2023, 03:55:17 am »
https://www.sfml-dev.org/tutorials/2.6/start-cmake.php

Try using the CMake project template and see if that's any easier for you. It's a lot easier to use.

6
System / Re: what do I need to fully use the library of SFML?
« on: December 04, 2023, 10:38:04 pm »
Follow the instructions for our official CMake tutorial. If you have any issues then please come to the Discord server to ask for help.

https://www.sfml-dev.org/tutorials/2.6/start-cmake.php


7
Linking to the `sfml-graphics` target should also result in the correct include directories being specified.

Your C++ and CMake code should not include build/_deps paths. That's unnecessary and a sign that some problem still exists elsewhere.

In this past I've seen this problem caused by someone having unnecessary files laying around. They had some sfml-graphics prebuilt library lying around from previous failed attempts to use SFML. Once they deleted that file then CMake started working again. In general don't have stale files laying around since they're prone to break things simply by existing.

8
General / Re: Android support
« on: November 19, 2023, 10:42:56 pm »
Yes we actively maintain Android support and have a few users who routinely provide bug fixes and other enhancements

9
General discussions / Re: static linking
« on: October 13, 2023, 06:34:17 am »
Did you remember to define SFML_STATIC?

10
General / Re: Compiled SFML code runs nothing
« on: October 04, 2023, 08:13:38 am »
You'll need to share more of the error to know what the actual problem is.

11
General / Re: Building SFML project error with sf::VideoMode
« on: October 04, 2023, 03:38:34 am »
This is almost certainly an issue with using SFML 3 headers alongside SFML 2 libraries. Try using the official template instead to avoid this problem.

https://github.com/SFML/cmake-sfml-project

12
General / Re: SFML, ImGui and SFML-ImGui with CMake
« on: September 22, 2023, 08:49:08 pm »
The new way you're doing it is much better so please keep using that solution. It's better in many ways than the old version.

I think your old solution was failing because you I don't see you ever compiling the ImGui-SFML sources into Libs.

For future reference, the official SFML CMake template project includes a branch that demonstrates how to use ImGui-SFML. Check it out here: https://github.com/SFML/cmake-sfml-project/blob/imgui-sfml/CMakeLists.txt

13
General / Re: SFML error on MacBook
« on: September 19, 2023, 01:35:20 am »
Homebrew will install SFML built for your current CPU architecture so I'm not sure how you could accidentally mix the two. So long as you use don't tell the compiler to target a different architecture, the compiler will also target your current CPU architecture.

14
SFML development / Re: Multi-line Text Alignment
« on: August 21, 2023, 09:01:23 pm »
Please reach out in the #contributing channel of the Discord server if you have any questions. I'm much easier to find there than on the forums which I check much less often.

15
SFML development / Re: Multi-line Text Alignment
« on: August 19, 2023, 06:42:19 am »
SFML 3. We're not accepting SFML 2 features anymore. That means you have full access to anything you want from C++17 which should make it easier to implement.

Pages: [1] 2 3 4