hoehermann / purple-gowhatsapp

Pidgin/libpurple plug-in for WhatsApp Web.
GNU General Public License v3.0
287 stars 35 forks source link

Cannot compile: No SOURCES given to target: whatsmeow #143

Closed Nardol closed 1 year ago

Nardol commented 1 year ago

Repo revision: a700af9fa13409a6b9c32847553a9114107d74d9

$ mkdir build
$ cd build/
$ cmake ..
-- The C compiler identification is GNU 8.3.0
-- 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
-- Checking for module 'purple'
--   Found purple, version 2.13.0
-- Checking for module 'gdk-pixbuf-2.0'
--   Found gdk-pixbuf-2.0, version 2.38.1
-- PURPLE_INCLUDE_DIRS: /usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include;/usr/include/libpurple
-- PURPLE_LIBRARY_DIRS: 
-- PURPLE_LIBRARIES: purple;glib-2.0
-- PURPLE_PLUGIN_DIR: /usr/lib/purple-2
-- Configuring done
CMake Error at src/c/CMakeLists.txt:6 (add_library):
  Cannot find source file:

    commands.c

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

CMake Error at src/c/CMakeLists.txt:6 (add_library):
  No SOURCES given to target: whatsmeow

-- Build files have been written to: /home/pzajda/git/purple-gowhatsapp/build

I had the same when compiling from the directory structure I compiled with before and when deleting the build directory. The same occurs after deleting the Git repository then cloning it again.

hoehermann commented 1 year ago

Whoops. I forgot to add yesterday's file to git. Thank you for the report. 93e0729 should be okay.