Giter Site home page Giter Site logo

Cannot compile on Ubuntu 14.04 about flatui HOT 11 OPEN

google avatar google commented on May 17, 2024
Cannot compile on Ubuntu 14.04

from flatui.

Comments (11)

lilianmoraru avatar lilianmoraru commented on May 17, 2024

I can confirm the same issue on Ubuntu 15.10. I installed the suggested dependencies listed below the error.
After this message, you see this error:

~/Git/flatui/dependencies/harfbuzz ~/Git/flatui
$HOME/Git/flatui/cmake/harfbuzz/autogen_if_changed.sh: line 32: $HOME/Git/flatui/dependencies/harfbuzz/autogen.sh: No such file or directory
CMake Error at cmake/harfbuzz/CMakeLists.txt:46 (message):
  CMake encountered an error while configuring harfbuzz.

Note: I replaced my actual home folder with $HOME
Note 2: Installing libharfbuzz-dev didn't help

from flatui.

lilianmoraru avatar lilianmoraru commented on May 17, 2024

@nico87 There is no setup script so seems like you have to go into the dependencies folder and do git clone for every project you have there.
Example:

git clone https://github.com/google/flatui.git
cd flatui/dependencies

git clone https://github.com/behdad/harfbuzz.git
git clone https://github.com/google/mathfu.git
git clone https://github.com/google/fplbase.git
...

from flatui.

hak avatar hak commented on May 17, 2024

Hello,
It's using git submodules.
Could you try
git clone --recursive https://github.com/google/flatui
?

hak
On Nov 22, 2015 1:41 PM, "Lilian Anatolie Moraru" [email protected]
wrote:

@nico87 https://github.com/nico87 There is no setup script so seems
like you have to go into the dependencies folder and do git clone for
every project you have there.
Example:

git clone https://github.com/google/flatui.git
cd flatui/dependencies

git clone https://github.com/behdad/harfbuzz.git
git clone https://github.com/google/mathfu.git
git clone https://github.com/google/fplbase.git
...


Reply to this email directly or view it on GitHub
#2 (comment).

from flatui.

lilianmoraru avatar lilianmoraru commented on May 17, 2024

@hak Yes, it worked.
Edit: It compiled but both flatuisample and flatuitest say ERROR: The specified window has not been made current a lot of times and then segfault.

from flatui.

nico87 avatar nico87 commented on May 17, 2024

@hak and @lilianmoraru It worked. Thanks! Maybe it would be good to add the checkout instructions in the readme file.

On my system both flatuisample and flatuitest work correctly.

from flatui.

 avatar commented on May 17, 2024

That's an SDL error, and I'm not quite sure what could cause it. Anything non-standard about your system? Are you in a VM? Do other applications that use OpenGL work?

from flatui.

nico87 avatar nico87 commented on May 17, 2024

@lilianmoraru I've tested the sample and test builds on a pc with an old ATI X1900 graphics adapter and I get the same error "The specified window has not been made current". I think it's about OpenGL. With this adapter I've never been able to run an OpenGL application under Linux.
Maybe you are in the same situation?

from flatui.

lilianmoraru avatar lilianmoraru commented on May 17, 2024

@gwvo @nico87 Yes, I ran the application in a VM. VMWare 12 with the tools installed.
Yes, other applications that use OpenGL work.
For example, we have Qt Quick 2 applications running in the VM. Qt Quick 2 has a hard requirement on OpenGL 2.1 or higher.

from flatui.

 avatar commented on May 17, 2024

FlatUI (and FPLBase which it uses for rendering) currently asks for OpenGL 3.1 on Linux. This is because of instancing support, which FlatUI doesn't yet use, so it could be downgraded to 2.1.

To test if this is the case, change 3 to 2 in dependencies/fplbase/src/renderer.cpp:114

from flatui.

lilianmoraru avatar lilianmoraru commented on May 17, 2024

@gwvo It looks fuzzy and weird but it works.

from flatui.

 avatar commented on May 17, 2024

Yes, our current test isn't pretty, if that's what you're referring to :)

I'll see what I can do to lower the minimum requirements to 2.1

from flatui.

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.