matteoserva / MegaFuse

MEGA client for linux, based on FUSE
Other
250 stars 80 forks source link

canot build for debain 64 #105

Closed devorel closed 4 years ago

devorel commented 4 years ago

g++ -I inc -I /usr/include/cryptopp -I sdk -std=c++0x -O0 -g -fstack-protector-all -Wall -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_DEBUG -c src/file_cache_row.cpp -o src/file_cache_row.o src/file_cache_row.cpp: In static member function ‘static int CacheManager::numChunks(size_t)’: src/file_cache_row.cpp:72:59: error: ‘ceil’ was not declared in this scope return 8 + ceil(float(pos-end)/(8.0*ChunkedHash::SEGSIZE)); ^ Makefile:44: recipe for target 'src/file_cache_row.o' failed make: *** [src/file_cache_row.o] Error 1