Comments (6)
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.
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.
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.
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.
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.
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)
- Android 12 font rendering slow HOT 1
- Cannot compile TangramDemo in Release in XCode 13.4.1 HOT 2
- Crashing in TextLabel::addVerticesToMesh HOT 3
- [Solved] How set Marker (as bitmap) over textlayer ? HOT 2
- When the zoom is below 10, the marker(flat: true) is not displayed
- Duplicate labels on polygons
- actual transparency of polygon is half of what is specified in `color`
- Rendering issue with Greek characters HOT 2
- Text wrap not working on line labels HOT 4
- Compilation error when trying to build it for Windows platform HOT 3
- example usage of debugtextstyle - need to draw debug text on screen
- POIs inconsistency in different zoom level HOT 1
- Custom POIs styling HOT 1
- Compiling instructions for Android
- React Native Android UI Component Error
- Sorry, i did not meant to create it :)
- m_velocityPan initial value. HOT 1
- Blank Map at startup And No label in debug build HOT 2
- Can tangram stretch textures on a polygon instead of tiling/wrapping it?
- Android build error Could NOT find Threads missing: Threads_FOUND HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tangram-es.