You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
leeh@s103139:~/minetestmapper$ make
[ 11%] Building CXX object CMakeFiles/minetestmapper.dir/db-postgresql.cpp.o
/home/leeh/minetestmapper/db-postgresql.cpp: In member function ‘int DBPostgreSQL::pg_to_int(PGresult*, int, int)’:
/home/leeh/minetestmapper/db-postgresql.cpp:151:39: error: ‘atoi’ was not declared in this scope
return atoi(PQgetvalue(res, row, col));
^
/home/leeh/minetestmapper/db-postgresql.cpp:152:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
CMakeFiles/minetestmapper.dir/build.make:238: recipe for target 'CMakeFiles/minetestmapper.dir/db-postgresql.cpp.o' failed
make[2]: *** [CMakeFiles/minetestmapper.dir/db-postgresql.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/minetestmapper.dir/all' failed
make[1]: *** [CMakeFiles/minetestmapper.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Building MT with postgresql requires a bit of fiddling. Passing the same flags to mtmapper looks promising but fails quickly on make.
The text was updated successfully, but these errors were encountered: