Open drepram opened 4 years ago
I also have the same problem but solved it by adding '-std=gnu++11' flag in Makefile.
output: v380.o UtlSocket.o UtlDiscovery.o aes.o
g++ v380.o UtlSocket.o UtlDiscovery.o aes.o -o v380
v380.o: v380.cpp stdafx.h
g++ -std=gnu++11 -c v380.cpp
UtlSocket.o: UtlSocket.cpp UtlSocket.h
g++ -std=gnu++11 -c UtlSocket.cpp
UtlDiscovery.o: UtlDiscovery.cpp UtlDiscovery.h
g++ -std=gnu++11 -c UtlDiscovery.cpp
aes.o: aes.cpp aes.h
g++ -std=gnu++11 -c aes.cpp
clean:
rm *.o v380
I tried compiling with
g++
and it simply didn't work. Replaced it withg++-9
and the compile was successful.My machine is Mac OS X. My
gcc --version
: