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

Pages: [1]
1
C / Re: CSFML 2.3 - Entry point not found in dyamic dll
« on: June 26, 2015, 07:17:49 pm »
Thanks! All good then so far :)

2
C / Re: CSFML 2.3 - Entry point not found in dyamic dll
« 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.

3
C / Re: CSFML 2.3 - Entry point not found in dyamic dll
« 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

4
C / 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.

5
C / Re: CSFML static linking & dlls
« on: December 22, 2013, 04:25:07 pm »
It makes perfect sense, thanks for the rapid responses guys!

6
C / CSFML static linking & dlls
« on: December 22, 2013, 02:53:28 am »
Hello everybody, my 1st post here (btw, big thanks for C/SFML).

I've just set up CSFML 2.1 to give it a go, on a vanilla mingw32 toolchain, with gcc 4.7.0 on Win XP SP3...

Code: [Select]
> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/unix/mingw/bin/../libexec/gcc/mingw32/4.7.0/lto-wrapper.e
xe
Target: mingw32
Configured with: ../gcc-4.7.0/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --disable-build-poststage1-
with-cxx --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.7.0 (GCC)

No problems, all is fine with the sample code written with notepad++ and compiled via the command line.

But am I supposed to have CSFML's bin folder in the PATH environment variable, even when I'm linking statically? If I don't, the runtime complains it cannot find the CSFML dll's...

Code: [Select]
gcc -g3 -std=c99 -Wall -Wextra -DSFML_STATIC test.c -o test.exe -Ic:/unix/csfml/include -Lc:/unix/csfml/lib/gcc -lcsfml-graphics -lcsfml-audio -lcsfml-window -lcsfml-network -lcsfml-system -Wl,--subsystem,windows

I took a wild guess and also defined -DCSFML_STATIC... did no difference.

Thanks in advance.

Pages: [1]