uowuo / abaddon

An alternative Discord client with voice support made with C++ and GTK 3
GNU General Public License v3.0
970 stars 53 forks source link

issue when running cmake .. on macos #56

Closed 9xN closed 2 years ago

9xN commented 2 years ago

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

/Users/atg/abaddon/subprojects/ixwebsocket

does not contain a CMakeLists.txt file.

ouwou commented 2 years ago

git submodule init && git submodule update subprojects

maybe i should put that in the readme

9xN commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

git submodule init && git submodule update subprojects

maybe i should put that in the readme

yeah please add it in readme