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

Pages: [1]
1
General / underfined reference to...
« on: May 01, 2018, 08:49:20 pm »
I follow this clip



and this is my build log

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

mingw32-g++.exe -LC:\Users\ASUS\Desktop\SFML-2.4.2\lib -o bin\Debug\sfmltest.exe obj\Debug\main.o   -lsfml-graphics-d -lsfml-audio-d -lsfml-network-d -lsfml-window-d -lsfml-system-d
obj\Debug\main.o: In function `main':
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:5: undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:5: undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:5: undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:6: undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:7: undefined reference to `_imp___ZN2sf5Color5GreenE'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:7: undefined reference to `_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:15: undefined reference to `_imp___ZN2sf6Window5closeEv'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:12: undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:18: undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:18: undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:19: undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:19: undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:20: undefined reference to `_imp___ZN2sf6Window7displayEv'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:9: undefined reference to `_imp___ZNK2sf6Window6isOpenEv'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:23: undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
C:/Users/ASUS/Desktop/sfmltest/sfmltest/main.cpp:23: undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
obj\Debug\main.o: In function `ZN2sf11CircleShapeD1Ev':
C:/Users/ASUS/Desktop/SFML-2.4.2/include/SFML/Graphics/CircleShape.hpp:41: undefined reference to `_imp___ZTVN2sf11CircleShapeE'
C:/Users/ASUS/Desktop/SFML-2.4.2/include/SFML/Graphics/CircleShape.hpp:41: undefined reference to `_imp___ZTVN2sf11CircleShapeE'
C:/Users/ASUS/Desktop/SFML-2.4.2/include/SFML/Graphics/CircleShape.hpp:41: undefined reference to `_imp___ZN2sf5ShapeD2Ev'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
20 error(s), 0 warning(s) (0 minute(s), 0 second(s))

2
General / problem with sfml codeblock
« on: May 01, 2018, 06:59:42 pm »
||=== Build: Debug in sfmltest (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lglew|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

Pages: [1]
anything