-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make error : ‘ceil’ was not declared in this scope #78
Comments
Edit file: src/file_cache_row.cpp Insert after line 9: In like 73 change "ceil" to 'std::ceil'. Like this: Try compile again... |
In fedora 25 minimal works fine! Thank you |
Same problem and fix works on Debian 9. |
Same problem and fix works in Raspbian based on Debian 9 |
Same problem and fix in Ubuntu 18.04.1 |
4t4nner
added a commit
to 4t4nner/MegaFuse
that referenced
this issue
Oct 19, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error Message during compilation .
make
g++ -I inc -I /usr/include/cryptopp -I sdk -std=c++0x -O0 -g -fstack-protector-all -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include/x86_64-linux-gnu -I/usr/include/fuse -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:43 : la recette pour la cible « src/file_cache_row.o » a échouée
make: *** [src/file_cache_row.o] Erreur 1
The text was updated successfully, but these errors were encountered: