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

Pages: [1]
1
General / skipping incompatible library
« on: September 06, 2015, 09:21:39 pm »
In my test project I have some issue that have viewing:

f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libogg.a when searching for -logg
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libogg.a when searching for -logg
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libogg.a when searching for -logg
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -logg
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libjpeg.a when searching for -ljpeg
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libjpeg.a when searching for -ljpeg
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libjpeg.a when searching for -ljpeg
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ljpeg
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libvorbis.a when searching for -lvorbis
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libvorbis.a when searching for -lvorbis
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libvorbis.a when searching for -lvorbis
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lvorbis
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libflac.a when searching for -lflac
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libflac.a when searching for -lflac
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libflac.a when searching for -lflac
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lflac
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libfreetype.a when searching for -lfreetype
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libfreetype.a when searching for -lfreetype
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libfreetype.a when searching for -lfreetype
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lfreetype
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libvorbisenc.a when searching for -lvorbisenc
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libvorbisenc.a when searching for -lvorbisenc
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libvorbisenc.a when searching for -lvorbisenc
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lvorbisenc
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libvorbisfile.a when searching for -lvorbisfile
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libvorbisfile.a when searching for -lvorbisfile
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libvorbisfile.a when searching for -lvorbisfile
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lvorbisfile
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libsfml-system-d.a when searching for -lsfml-system-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libsfml-system-d.a when searching for -lsfml-system-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libsfml-system-d.a when searching for -lsfml-system-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-system-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libsfml-window-d.a when searching for -lsfml-window-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libsfml-window-d.a when searching for -lsfml-window-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libsfml-window-d.a when searching for -lsfml-window-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-window-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libsfml-graphics-s-d.a when searching for -lsfml-graphics-s-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libsfml-graphics-s-d.a when searching for -lsfml-graphics-s-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libsfml-graphics-s-d.a when searching for -lsfml-graphics-s-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-graphics-s-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libsfml-audio-d.a when searching for -lsfml-audio-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libsfml-audio-d.a when searching for -lsfml-audio-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libsfml-audio-d.a when searching for -lsfml-audio-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsfml-audio-d
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libopenal32.a when searching for -lopenal32
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib\libopenal32.a when searching for -lopenal32
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible SFML-2.3.1/lib/libopenal32.a when searching for -lopenal32
f:/ProgramFiles/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopenal32

I understand that library is incompatible because I using 5.1.0 compiler instead of 4.9.2 (library SFML for 4.9.2), but when I use 4.9.2 some other issue occurred:

In file included from f:/ProgramFiles/GCC-4.9.2-TDM-DW2/lib/gcc/mingw32/4.9.2-dw2/include/c++/bits/postypes.h:40:0,
                 from f:/ProgramFiles/GCC-4.9.2-TDM-DW2/lib/gcc/mingw32/4.9.2-dw2/include/c++/iosfwd:40,
                 from f:/ProgramFiles/GCC-4.9.2-TDM-DW2/lib/gcc/mingw32/4.9.2-dw2/include/c++/ios:38,
                 from f:/ProgramFiles/GCC-4.9.2-TDM-DW2/lib/gcc/mingw32/4.9.2-dw2/include/c++/ostream:38,
                 from SFML-2.3.1/include/SFML/System/Err.hpp:32,
                 from SFML-2.3.1/include/SFML/System.hpp:34,
                 from SFML-2.3.1/include/SFML/Window.hpp:32,
                 from SFML-2.3.1/include/SFML/Graphics.hpp:32,
                 from main.cpp:7:
f:/ProgramFiles/GCC-4.9.2-TDM-DW2/lib/gcc/mingw32/4.9.2-dw2/include/c++/cwchar:44:19: fatal error: wchar.h: No such file or directory
 #include <wchar.h>

and I don't understand why compiler can't see standard library in its path ... I work in NetBeans IDE. Can you help me ?

Pages: [1]
anything