-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Hi!
I cloned your repository and tried to build it following the instructions specified on the README.md file. At first, I got the following error:
-- The C compiler identification is AppleClang 10.0.1.10010046
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - not found
CMake Error at /usr/local/Cellar/cmake/3.14.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.14.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.14.1/share/cmake/Modules/FindThreads.cmake:191 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
After some googling I found out a quick fix for this: instead of calling cmake ..
, use the command cmake .. -DCMAKE_THREAD_LIBS_INIT="-lpthread"
, which fixed this error and succeeded building the Makefile. But now I'm get this issue:
[ 2%] Built target resource_macplist
[ 6%] Built target tinythread
[ 10%] Built target anyoption
[ 18%] Built target minizip
[ 29%] Built target tinyxml
[ 31%] Building CXX object src/CMakeFiles/updatershared.dir/UpdateDialogCocoa.mm.o
In file included from Update-Installer/src/UpdateDialogCocoa.mm:4:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:34:10: fatal error:
'CarbonSound/CarbonSound.h' file not found
#include <CarbonSound/CarbonSound.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
I tried some things but I was unable to fix this. Any suggestions?
Metadata
Metadata
Assignees
Labels
No labels