Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
If you're still stuck, you can try searching for the error or warning messages online, as they may be a common issue with a known solution age of war

2
Im new, Im here
3
General (but related to Code::Blocks) / Problem with SFML 2.0 libraries
« Last post by Qday on Today at 06:18:17 am »
Hi, im trying to learn SFML2.0 with this tutorial: https://cpp0x.pl/kursy/Kurs-SFML-2-x-C++/460 (its in polish) and i cant get to it to work. Tried with empty project and with SFML wizard build in CodeBlocks.

tried with SFML 2.0 GCC 4.7 MinGW (DW2) - 32-bit and SFML 2.0 GCC 4.7 TDM (SJLJ) - 32-bit but still getting the same error message.

I have tried changing names of the libraries( deleting .a and "lib" but it doesnt work :(

screanshoots in the zip.

||=== Build: Debug in SFML_04 (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lsfml-graphics-d: No such file or directory|
ld.exe||cannot find -lsfml-window-d: No such file or directory|
ld.exe||cannot find -lsfml-system-d: No such file or directory|
||error: ld returned 1 exit status|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|




-------------- Build: Debug in SFML_04 (compiler: GNU GCC Compiler)---------------

g++.exe -LC:\Dev\SFML-2.0\lib -o bin\Debug\SFML_04.exe obj\Debug\main.o   -lmingw32 -luser32 -lgdi32 -lwinmm -ldxguid -lsfml-graphics-d -lsfml-window-d -lsfml-system-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib/libsfml-graphics-d.a when searching for -lsfml-graphics-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib\libsfml-graphics-d.a when searching for -lsfml-graphics-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib/libsfml-graphics-d.a when searching for -lsfml-graphics-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-graphics-d: No such file or directory
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib/libsfml-graphics-d.a when searching for -lsfml-graphics-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib/libsfml-window-d.a when searching for -lsfml-window-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib\libsfml-window-d.a when searching for -lsfml-window-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib/libsfml-window-d.a when searching for -lsfml-window-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-window-d: No such file or directory
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib/libsfml-window-d.a when searching for -lsfml-window-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib/libsfml-system-d.a when searching for -lsfml-system-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib\libsfml-system-d.a when searching for -lsfml-system-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib/libsfml-system-d.a when searching for -lsfml-system-d
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-system-d: No such file or directory
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Dev\SFML-2.0\lib/libsfml-system-d.a when searching for -lsfml-system-d
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 1 second(s))
4 error(s), 0 warning(s) (0 minute(s), 1 second(s))
 


4
Nightly builds / Re: The 25 May 2024 build (13524) is out.
« Last post by stahta01 on Yesterday at 10:59:42 pm »
@yositoki-mabbe, I cannot reproduce the first warning (closing a file is a very common operation, this had be spotted before).

The second looks like a memory corruption caused by the thread in headersdetectordlg.cpp.

I duplicated the second issue running svn-r13415 CB; so, not a new problem.
5
Nightly builds / Re: The 25 May 2024 build (13524) is out.
« Last post by Miguel Gimenez on Yesterday at 07:04:52 pm »
@yositoki-mabbe, I cannot reproduce the first warning (closing a file is a very common operation, this had be spotted before).

The second looks like a memory corruption caused by the thread in headersdetectordlg.cpp.
6
one strange thing i noticed which might be interresting is that i use the TDM compiler (modified version by me) with msys2 and the static runtime version of wxwidgets 3.2 works out of the box  with the autotools build :o has'nt crashed once on me.
but if i use the standard windows build with the batch files it goes ape huh.

the TDM build i use was made for msys2 and unless using -static-libgcc -static-libstdc++ it works just like the normal msys2 mingw builds.
other than that i fixed a bug with the cleanup function which was leaking path handles to the exception mechanism if it failed to run and i changed the _onexit routine running the cleanup function to atexit using a wrapper.
7
https://github.com/msys2/MINGW-packages/commit/ba7eac7846234a4d3f8f22f8d060ef85d4d6d749

this one, but since they dont intend on providing neither a mingw64 nor mingw32 build it might make more sense to just add the fix to C::B base ?.
8
doh seems they removed it again  ::) but the modified version linked here works.

What github issue or pull request are you using? Can you share the links?

Or, you suggest pushing your contributions to the C::B's source base?

Thanks.
9
doh seems they removed it again  ::) but the modified version linked here works.
10
Nightly builds / Re: The 25 May 2024 build (13524) is out.
« Last post by Xaviou on May 25, 2024, 10:10:09 pm »
Hi.

I'm sorry, I can't provide an OS X version of this rev  :(

32 bits version for Windows can also be can be downloaded from my website.

Debian Bookworm and Bullseye (32 and 64 bits) can be installed from my repo
The corresponding unsigned deb files can also be downloaded from the website page linked above.

Ubuntu-22.04, 23.10 and 24.04 versions can be installed from my ppa

Regards
Xav'
Pages: [1] 2 3 4 5 6 ... 10