Giter Club home page Giter Club logo

Comments (6)

FirstLoveLife avatar FirstLoveLife commented on August 14, 2024

Is this a cmake issue? maybe cmake from ppa is older than aur? find_package will look for FindFreetype.cmake(in module mode), which is located at /usr/share/cmake-3.13/Modules/FindFreetype.cmake on my manjaro(arch-based dtor).

I'm not sure about ubuntu/debain's package management, but you can try pip install cmake, which will also provide the latest cmake for you

from acid.

sum01 avatar sum01 commented on August 14, 2024

I see you still have find_package(Freetype) commented out, even though the new merge made it QUIET. It could be uncommented since you're not using REQUIRED.

from acid.

mattparks avatar mattparks commented on August 14, 2024

But what happens if Freetype is found on some Linux platforms is FREETYPE_INCLUDE_DIRS does not include any valid includes, one way that has been said to be done is linking the includes:

sudo ln -s /usr/include/freetype2/freetype /usr/include/freetype

But in my last tests this did not help. I'm not getting this on my Arch system but I am on my Ubuntu 18.10 system (and Travis builds).

from acid.

sum01 avatar sum01 commented on August 14, 2024

Oh, that's weird. Did you install libfreetype6-dev to get the Freetype headers?

from acid.

mattparks avatar mattparks commented on August 14, 2024

As of commit bd3f96c I switch Freetype on and logged the include dirs:
https://travis-ci.org/Equilibrium-Games/Acid/jobs/506539975#L876
https://travis-ci.org/Equilibrium-Games/Acid/jobs/506539975#L1288
I'm using this FindFreetype for analysis: https://github.com/Kitware/CMake/blob/master/Modules/FindFreetype.cmake
So it appears two includes are found, I don't think my link command changes anything, maybe the semi-colon in the path is causing issues?

from acid.

sum01 avatar sum01 commented on August 14, 2024

The semi-colon is a delimiter in Cmake. So those are just read as two paths, not one long one.

As for that second thing you linked, the only thing that stands out is that the includes should be #include <freetype2/ft2build.h>, but I just tried building and it didn't matter (on Arch).

Maybe Ubuntu messes with the file structure or file names on Freetype2? Not sure.

from acid.

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.