Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: CSFML 2.3 - Entry point not found in dyamic dll  (Read 7265 times)

0 Members and 1 Guest are viewing this topic.

migf1

  • Newbie
  • *
  • Posts: 6
    • View Profile
CSFML 2.3 - Entry point not found in dyamic dll
« on: June 26, 2015, 11:38:58 am »
Hello,

I just tried to give CSFML 2.3 a try, before going to SDL2, but got missing functions from the dynamic libs when trying to run the sample program from the docs. More specifically...



That's for audio, but same thing happens with other modules too. I'm using mingw 4.8.1 (not mingw-w64, nor tdm-gcc) on Windows 8.1

Steps I took for installing the lib:

1. Downloaded official v2.3 pre-compiled Visual C++ / GCC - 32-bit binaries.
2. Extracted to c:\unix\libs
3. Put c:\unix\libs\csfml\bin to Window's PATH
4. compiled with:
Code: [Select]
gcc example1.c -o example1.exe -std=c99 -g3 -Wall -Wextra -pedantic -IC:\unix\libs\csfml\include -LC:\unix\libs\csfml\lib\gcc -lcsfml-graphics -lcsfml-audio -lcsfml-window -lcsfml-system
Any pointers would be greatly appreciated.

On a side note, I tried to build from sources (also downloaded from the official page, I linked above) by following this guide (its for SFML but I thought the process would be the same).

Anyway, I'm not familiar with cmake, and frankly I can't spend time to do so right now. So, I had to download cmake too before following the guide. No success. The GUI's configurator first complained about finding sh in the path and suggested to use "MSYS makefiles" instead of "MinGW makefiles". Did that, then it complained abound not finding FindSFML.cmake and some other stuff.

At that point I simply gave up!

Please note that I've successfully built quite a few libs via the standard ( ./configure -prefix=INSTALL_PATH; make; make install) procedure in msys.

Thanks in advance for any responses I may get.

EDIT:

Just tried v2.2 and v2.1 pre-compiled binaries, they both work fine! So it must be something specific to the v2.3 binaries.
« Last Edit: June 26, 2015, 11:55:01 am by migf1 »

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: CSFML 2.3 - Entry point not found in dyamic dll
« Reply #1 on: June 26, 2015, 02:33:16 pm »
https://github.com/SFML/CSFML/issues/85

Since eXpl0it3r hasn't recompiled the dlls yet I am working on installing mingw to do it myself.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

migf1

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: CSFML 2.3 - Entry point not found in dyamic dll
« Reply #2 on: June 26, 2015, 06:33:11 pm »
Thank you!

Just tried the binaries posted by eXpl0it3r about 2 hours ago at github (by following the link you provided, thanks again) and they work.

Although they produce the following message at the console:
Code: [Select]
OpenGL extension SGIS_texture_edge_clamp unavailable
Artifacts may occur along texture edges
Ensure that hardware acceleration is enabled if available

The card in this machine is rather old, a Geforce GTS250, but I just found this post where I think states that a fix has been already applied at v2.3.1

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: CSFML 2.3 - Entry point not found in dyamic dll
« Reply #3 on: June 26, 2015, 06:35:31 pm »
Make sure to get an up-to-date GPU driver from your vendor's website.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

migf1

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: CSFML 2.3 - Entry point not found in dyamic dll
« Reply #4 on: June 26, 2015, 06:42:39 pm »
Make sure to get an up-to-date GPU driver from your vendor's website.

Yeap, I have the latest drivers( 341.44 to be exact - Feb 24, 2015).

EDIT:

If that matters, the OS and the drivers are 64bit (Windows 8.1) but I'm using the 32-bit version of CSFML.
« Last Edit: June 26, 2015, 06:49:16 pm by migf1 »

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: CSFML 2.3 - Entry point not found in dyamic dll
« Reply #5 on: June 26, 2015, 07:09:38 pm »
Yeah... this has been fixed in 2.3.1 as stated in #880. The GTS250 is one of those cards that doesn't expose SGIS_texture_edge_clamp.
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

migf1

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: CSFML 2.3 - Entry point not found in dyamic dll
« Reply #6 on: June 26, 2015, 07:17:49 pm »
Thanks! All good then so far :)

 

anything