Giter Site home page Giter Site logo

Build problems on Ubuntu about tangram-es HOT 6 CLOSED

tangrams avatar tangrams commented on May 21, 2024
Build problems on Ubuntu

from tangram-es.

Comments (6)

tallytalwar avatar tallytalwar commented on May 21, 2024

Hey Nicklas

I tried to build on 15.10, using g++-4.9.3 and it did build fine for me.

Can you let us know what gcc/g++ version you are using? Though it does not seem to be a compiler version error, but just for sanity check, I want to repro the issue with your exact configuration.

Can you also let us know if you have glfw libraries explicitly installed on your machine?
If so, Its possible there is some conflict between the explicitly installed glfw libraries and the ones being accessed from the submodule.

Thanks

from tangram-es.

nicklasaven avatar nicklasaven commented on May 21, 2024

Hi

Thanks for looking at this!

I have:
gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)

But I think you are right about some conflict.
I followed the readme and ran
git submodule init && git submodule update

But when I tried to build I had dependency problems and installed what it asked for. I cannot reacall exactly what it asked for but I then installed:
it asked for xrandr so I installed:
libxrandr-dev
then it asked for xinerama and I installed:
libxinerama-dev
it asked for xcursor and i installed:
libxcursor-dev
then I had the error described above and tried by installing a bunch of libraries:
mesa-common-dev mesa-utils-extra, libgl1-mesa-dev, libglapi-mesa libglu1-mesa-dev

So I guess i messed things up :-)

You ask about glfw. As far as i understand I haven't installed anything like that.
aptitude search glfw gives no reult that is installed. Only uninstalled packages.

Thanks again

from tangram-es.

tallytalwar avatar tallytalwar commented on May 21, 2024

Thanks for the details.

I can give it a shot with g++ 5.2 also to make sure its not that.

Can you do a clean install and update us with the exact conflicts you were getting?

It will be good for us to know and document if ubuntu or other linux distributions ask for other dependencies other than the ones we are handling in our build process.

from tangram-es.

matteblair avatar matteblair commented on May 21, 2024

It seems that GLFW (the windowing library we use) has some dependencies on linux that weren't cited in our build instructions: http://www.glfw.org/docs/latest/compile.html

The README is updated now, but see if installing xorg-dev and libgl1-mesa-dev helps with the build process.

from tangram-es.

nicklasaven avatar nicklasaven commented on May 21, 2024

I had the chance today to install Ubuntu on a computor at work. Then I followed the readme and it built perfectly.

One difference between the installs is that at the box at home I first installed Android Studio with Ubuntu Make (umake android)

That uses a special repository and installs a lot of things out of my control. So maybe something gets another version then.

But I had the same gcc now, 5.2.1 by just installing build-essential.
I will look some more at my installation at home later today.

from tangram-es.

nicklasaven avatar nicklasaven commented on May 21, 2024

This is solved :-)

I added the dependencies that the readme is updated with. Still no luck.
But I started all over in a new directory pulling out the code and followed the readme.
Now it works fine. Thanks!

from tangram-es.

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.