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

issue when running cmake .. on macos #56

Closed
9xN opened this issue Feb 11, 2022 · 4 comments
Closed

issue when running cmake .. on macos #56

9xN opened this issue Feb 11, 2022 · 4 comments

Comments

@9xN
Copy link
Contributor

9xN commented Feb 11, 2022

CMake Error at CMakeLists.txt:21 (add_subdirectory):
The source directory

/Users/atg/abaddon/subprojects/ixwebsocket

does not contain a CMakeLists.txt file.

@ouwou
Copy link
Member

ouwou commented Feb 11, 2022

git submodule init && git submodule update subprojects

maybe i should put that in the readme

@ouwou ouwou closed this as completed Feb 11, 2022
@9xN
Copy link
Contributor Author

9xN commented Feb 11, 2022

git submodule init && git submodule update subprojects

maybe i should put that in the readme

Consolidate compiler generated dependencies of target ixwebsocket
[ 34%] Built target ixwebsocket
Consolidate compiler generated dependencies of target abaddon
[ 35%] Building CXX object CMakeFiles/abaddon.dir/src/abaddon.cpp.o
In file included from /Users/atg/abaddon/src/abaddon.cpp:1:
In file included from /usr/local/Cellar/gtkmm3/3.24.5/include/gtkmm-3.0/gtkmm.h:103:
In file included from /usr/local/Cellar/gtkmm3/3.24.5/include/gdkmm-3.0/gdkmm/dragcontext.h:30:
In file included from /usr/local/Cellar/gtkmm3/3.24.5/include/gdkmm-3.0/gdkmm/pixbuf.h:39:
In file included from /usr/local/Cellar/cairomm@1.14/1.14.3/include/cairomm-1.0/cairomm/surface.h:37:
In file included from /usr/local/Cellar/cairomm@1.14/1.14.3/include/cairomm-1.0/cairomm/enums.h:24:
/usr/local/Cellar/cairo/1.16.0_5/include/cairo/cairo-ft.h:50:10: fatal error: 'fontconfig/fontconfig.h' file not found
#include <fontconfig/fontconfig.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/abaddon.dir/src/abaddon.cpp.o] Error 1
make[1]: *** [CMakeFiles/abaddon.dir/all] Error 2
make: *** [all] Error 2

@9xN
Copy link
Contributor Author

9xN commented Feb 11, 2022

i ended up just adding a fontconfig header file to the cairo library and rename the include <fontconfig/fontconfig.h> to #include 'fontconfig.h'
the file that i added to the folder not sure what a proper fix would look like but this worked for me

@Justaus3r
Copy link

git submodule init && git submodule update subprojects

maybe i should put that in the readme

yeah please add it in readme

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