meganz / sdk

MEGA C++ SDK
BSD 2-Clause "Simplified" License
1.33k stars 504 forks source link

MegaApi cannot be resolved to a type. [Java] [Linux] #2571

Open Nelnitorian opened 3 years ago

Nelnitorian commented 3 years ago

I have tried using both Windows and Linux and used endless hours (10h+) reading and trying to comprehend why is not this working.

On Windows I downloaded the prebuilt library and I also needed libmegajava.so which was not included, so I swapped to Linux and tried there.

On Linux I was able to build libmegajava.so. When I was most excited about having made some progress, Eclipse tells me that "MegaApi cannot be resolved to a type". I guess it is logic though: I don't have a bin/ with the *.class which I guess are needed.

What I expect from the answer is some kind of guidance or explanation about libmegajava.so -if it can provide the classes needed.

Just to clarify things: I have a copy of the produced "libmegajava.so" in the specified folder (following Linux java build here). Just in case I even copied all the files produced along with libmegajava.so.

Thank you in advance.