matteoserva / MegaFuse

MEGA client for linux, based on FUSE
Other
248 stars 79 forks source link

Needs additional tools and an include to build on Ubuntu 18.04 #95

Open JimCooper opened 6 years ago

JimCooper commented 6 years ago

I followed the instructions to build it on github. It wouldn't pull in the libs and link without install ing "g++" and "pkg-config".

I was getting an error compiling file_cache_row.cpp because it wasn't pulling in the math lib for a rounding function. So I added the following include to file_cache_row.h:

include

After that it compiles with a lot of warnings but builds completely.

tomakkermans commented 6 years ago

I confirm the comments of JimCooper. Finally succeeded in compiling on Ubuntu 18.04, but with a lot of warnings and tweaking (like including the math.h library, setting the 64bit flag in the Makefile, installing pkg-config manually, etc.). Given the fact that a lot of Ubuntu users will switch to the newly released 18.04 LTS, it might be worth the effort to polish the installation (and compilation) process for this OS.

ragadk commented 5 years ago

I am having problems compiling it on newest ubuntu aswell. Needs -fPIC flag somewhere. Tried editing makefile but it's still the same.

kinmenRP commented 5 years ago

Can you guys show your modified makefile and instructions to compile on 18.04 please?

Edit: Ok, found the solution for the compiling error here: https://github.com/matteoserva/MegaFuse/issues/78