Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake build fails #11

Open
AMDmi3 opened this issue Jul 31, 2020 · 3 comments
Open

CMake build fails #11

AMDmi3 opened this issue Jul 31, 2020 · 3 comments

Comments

@AMDmi3
Copy link

AMDmi3 commented Jul 31, 2020

FreeBSD 12.1, cmake 3.17.3, ftgl 2.4.0:

-- The C compiler identification is Clang 8.0.1
-- The CXX compiler identification is Clang 8.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Freetype: /usr/local/lib/libfreetype.so (found version "2.10.2") 
-- Found OpenGL: /usr/local/lib/libGL.so   
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.15") found components: doxygen dot 
-- Could NOT find CxxTest (missing: CXXTEST_INCLUDE_DIR CXXTEST_PYTHON_TESTGEN_EXECUTABLE) 
-- Configuring done
CMake Error at src/CMakeLists.txt:120 (ADD_LIBRARY):
  Cannot find source file:

    FTLibrary.h

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx


CMake Error at src/CMakeLists.txt:120 (ADD_LIBRARY):
  No SOURCES given to target: ftgl


CMake Generate step failed.  Build files cannot be regenerated correctly.
@frankheckenbach
Copy link
Owner

Just FYI, I don't work with FTGL anymore, see #10 (and since I didn't use CMake, I might not have been able to help anyway). I hope someone else can help you.

@AMDmi3
Copy link
Author

AMDmi3 commented Jul 31, 2020

Seen that, just left an issue for possible contributors or fork.

@Eonfge
Copy link

Eonfge commented Sep 17, 2020

There is actually a commit on the master-branch that addresses the issue: 835f2ba

I fixed it by adding this to the build script:

sed -i '29d' ./src/CMakeLists.txt

bbhtt added a commit to flathub/org.megaglest.MegaGlest that referenced this issue Sep 6, 2023
Upstream development has stopped and the original project fails to build
due to Freetype issues

frankheckenbach/ftgl#10
frankheckenbach/ftgl#11
bbhtt added a commit to flathub/org.megaglest.MegaGlest that referenced this issue Sep 22, 2024
* Bump runtime to 23.08

* Update shared-modules

* Add a svg icon

* Switch ftgl source to a fork

Upstream development has stopped and the original project fails to build
due to Freetype issues

frankheckenbach/ftgl#10
frankheckenbach/ftgl#11

* Fix screenshots in appdata and remove ftgl patch

* Delete flathub.json

* Delete appdata-Add-releases-section.patch

* Delete screenshot.patch

* Add files via upload

* Update org.megaglest.MegaGlest.json

* Add files via upload

* Update org.megaglest.MegaGlest.json

---------

Co-authored-by: bbhtt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants