Git Product home page Git Product logo

Comments (18)

allsey87 avatar allsey87 commented on July 18, 2024

Hi Danesh, support for Ubuntu 14.04 ended a long time ago. Can you upgrade to either 16.04 or 18.04 LTS?

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

Hi Danesh, Ubuntu 14.04 is not supported anymore because the version of Qt shipped with it is too old. To be able to support both the current Mac OSX and Ubuntu, we had to make a cutoff at Ubuntu 16.04. Anything older than that won't work anymore.

from argos3.

daneshtarapore avatar daneshtarapore commented on July 18, 2024

Many apologies for the typo. I am using Ubuntu 16.04.4 LTS. The errors reported were with the latest commit of argos3.

Thanks,
Danesh.

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

In theory argos_prof should never be compiled, it's intended only for me to do profiling. Have you installed google-perftools because you saw that CMake was looking for it? ARGoS will compile fine if you remove google-perftools. In the meantime I'll fix this compilation issue.

from argos3.

daneshtarapore avatar daneshtarapore commented on July 18, 2024

No, google-perftools is not installed.

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

It might be called gperftools, but argos-prof is only compiled when it is detected in the system. BTW, why are you trying to compile ARGoS from the sources, rather than using the precompiled binaries?

from argos3.

daneshtarapore avatar daneshtarapore commented on July 18, 2024

I would like to implement the Thymio robot in argos, hence the compilation from source (thanks for your advise!).

Btw, I just installed google-perftools, and now argos3 compiles.

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

If you plan on making a new robot, please follow the blueprint of the KheperaIV and make a separate repository. It's much simpler to work that way.

I'm checking on my virtual machine what happens with the compilation...

from argos3.

daneshtarapore avatar daneshtarapore commented on July 18, 2024

Okay, thanks for the suggestion.

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

... and it worked. I can't make sense of your installation trying to compile argos3_prof. That should not happen. Can you share your CMakeCache.txt when the error occurs?

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

If you check the CMake script here:
https://github.com/ilpincy/argos3/blob/master/src/testing/CMakeLists.txt#L73

you see that argos3_prof is only compiled if you're compiling the simulator and you have Google Perftools installed. I tried on the VM I use to make packages (no gperftools) and the compilation is successful. I don't understand what's going on on your machine...

from argos3.

daneshtarapore avatar daneshtarapore commented on July 18, 2024

CMakeLists.txt

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

I need the file build/CMakeCache.txt, which is generated when you run cmake

from argos3.

daneshtarapore avatar daneshtarapore commented on July 18, 2024

Apologies, posted the wrong one. Here you go:
CMakeCache.txt

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

Reading your file:

//Google PerfTools header location
GOOGLEPERFTOOLS_INCLUDE_DIR:PATH=/usr/include/google

//Google PerfTools library location
GOOGLEPERFTOOLS_LIBRARY:FILEPATH=/usr/lib/libtcmalloc.so

Those should be set to NOT-FOUND.

from argos3.

daneshtarapore avatar daneshtarapore commented on July 18, 2024

Even when I apt-get remove google-perftools, it still seems to find these files:

//Google PerfTools header location
GOOGLEPERFTOOLS_INCLUDE_DIR:PATH=/usr/include/google

//Google PerfTools library location
GOOGLEPERFTOOLS_LIBRARY:FILEPATH=/usr/lib/libtcmalloc.so

Not sure if any other library is involved here.

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

So it does seem that you have google perftools installed somehow. Maybe you installed it manually? Anyway, it's enough to remove it and you won't have compilation issues. Or install the official package, which also seems to have worked. Either way, it seems to be a problem specific to your machine.

from argos3.

daneshtarapore avatar daneshtarapore commented on July 18, 2024

Okay, many thanks.

from argos3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.