Cod: Selectaţi tot
$ uname -a
FreeBSD localhost 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4Eroarea: https://photos.app.goo.gl/8zUEPpg9T4emd95b9
In principiu,
Cod: Selectaţi tot
DragonSoul.cpp:385:11: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'ee DragonSoul.cpp
Cod: Selectaţi tot
sys_err ("Cannot create DRAGON_HEART(%d).", DRAGON_HEART_VNUM);
return NULL;Cod: Selectaţi tot
sys_err ("Cannot create DRAGON_HEART(%d).", DRAGON_HEART_VNUM);
return false;Cod: Selectaţi tot
return thecore_random() / (RAND_MAX + 1.f) * (b - a) + a;Cod: Selectaţi tot
return thecore_random() / ((double)RAND_MAX + 1.f) * (b - a) + a;Cod: Selectaţi tot
main.cpp:82:10: fatal error: 'gtest/gtest.h' file not found
#include <gtest/gtest.h>Cod: Selectaţi tot
pkg install devel/googletest && cd /usr/home/game/src && ln -s /usr/include/private/gtest gtestCod: Selectaţi tot
linking ../game....
ld: error: unable to find library -lanticpxsvr
clang++: error: linker command failed with exit code 1 (use -v to see invocation)