Comments (6)
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.
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.
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.
Oh, that's weird. Did you install libfreetype6-dev
to get the Freetype headers?
from acid.
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.
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)
- CMake fails trying to download glslang HOT 2
- How do I install this??? HOT 1
- 'equilibrium.games' link does not work
- This application has requested the Runtime to terminate it in an unusual way HOT 1
- Compile bug on linux HOT 4
- Can`t download the volk package HOT 4
- help me run the tests!
- Documentation
- No examples would work HOT 8
- [Security] Workflow ci_linux_clang.yml is using vulnerable action actions/checkout
- [Security] Workflow ci_doxygen.yml is using vulnerable action actions/checkout
- [Security] Workflow ci_linux_gcc.yml is using vulnerable action actions/checkout
- Enough of this HOT 2
- Build error on Ubuntu22.04 HOT 6
- Website Down ? Current status ?
- Wayland support HOT 1
- I want to make a game with my business but need to know about the GUI
- Cannot build on macOS HOT 1
- Editor crashes upon start HOT 3
- Read Access Violation when running certain projects in VS2022 build 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 acid.