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

Pages: [1]
1
Hey Laurent,

I've come to this thread because it is what comes up if you Google 'code blocks sfml cannot find lib'.

Please update the CodeBlocks tutorial, it has a very misleading tooltip: https://www.sfml-dev.org/download/sfml/2.5.1/

"There are multiple variants of GCC for Windows ... select the package which corresponds to the version that you use. If you are unsure, check which of the libgcc_s_sjlj-1.dll or libgcc_s_dw2-1.dll files is present in your MinGW/bin folder. If MinGW was installed along with Code::Blocks, you probably have an SJLJ version."

This is misleading, because the default compiler that comes with the default (64-bit) version of CodeBlocks is the "SEH" version. If an attentive beginner reader is following your tutorial, they won't be able to find "libgcc_s_sjlj-1.dll" or "libgcc_s_dw2-1.dll" in the MinGW folder (only "libgcc_s_seh-1.dll"). At this point they'll probably just cross their fingers and hope that they have the SJLJ version, because that's what you suggest.

The tutorial should mention that they might find the libgcc_s_seh-1.dll as one of three possible options.

2
General / Re: Using SFML with C, not C++
« on: February 19, 2021, 10:44:09 am »
This is pretty disappointing. Couldn't the README here at least contain a couple of examples of how to call the C SFML binding? https://github.com/SFML/CSFML/blob/master/readme.txt

Is the intention literally that everyone must use trial and error?

Pages: [1]