[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] compile error (gcc)
Hello, compiling with gcc (XCode is ok) I'm getting an error:
$ cmake -DCMAKE_PREFIX_PATH=`brew --prefix qt5` -DSUPERNOVA=OFF .. && cmake --build . --target install --config RelWithDebInfo && cd ..
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/local/bin/gcc
-- Check for working C compiler: /usr/local/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/local/bin/g++
-- Check for working CXX compiler: /usr/local/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SuperCollider Version: 3.7alpha1
-- Building from branch master, commit hash is 046af8e
-- Build type defaulting to "RelWithDebInfo"
-- Compiling with Qt GUI
-- Found Pthreads: /usr/lib/libpthread.dylib
-- building boost libraries manually
-- using bundled libyaml-cpp
CMake Warning (dev) at external_libraries/hidapi/CMakeLists.txt:3 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
hidapi cmakelists
===mac cmakelists===
===hidapi_parser cmakelists===
-- Audio API: coreaudio
-- Found a homebrew install of readline /usr/local/opt/readline
-- Found GNU Readline version 6.3: /usr/local/opt/readline/lib/libreadline.dylib
Qt: /usr/local/opt/qt5/lib/QtCore.framework/QtCore
-- Compiling with Readline support
-- Building the Qt IDE
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/mz/dev/sc3.git/master/build
Scanning dependencies of target tlsf
[ 0%] Building C object external_libraries/CMakeFiles/tlsf.dir/TLSF-2.4.6/src/tlsf.c.o
[ 0%] Linking C static library libtlsf.a
[ 0%] Built target tlsf
Scanning dependencies of target yaml
. . . skip
[ 25%] Building CXX object editors/sc-ide/CMakeFiles/SuperCollider.dir/__/__/common/SC_DirUtils.cpp.o
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:123:0,
from /Users/mz/dev/sc3.git/master/common/SC_DirUtils.cpp:28:
/System/Library/Frameworks/Foundation.framework/Headers/NSTask.h:69:24: error: expected unqualified-id before '^' token
@property (copy) void (^terminationHandler)(NSTask *) NS_AVAILABLE(10_7, NA);
^
/System/Library/Frameworks/Foundation.framework/Headers/NSTask.h:69:24: error: expected ')' before ^' token
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:159:0,
from /Users/mz/dev/sc3.git/master/common/SC_DirUtils.cpp:28:
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:36:15: error: expected unqualified-id before '^' token
typedef void (^NSUserScriptTaskCompletionHandler)(NSError *error);
^
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:36:15: error: expected '' before '^' token
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:37:39: error: 'NSUserScriptTaskCompletionHandler' does not name a type
- (void)executeWithCompletionHandler:(NSUserScriptTaskCompletionHandler)handler;
^
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:53:15: error: expected unqualified-id before '^' token
typedef void (^NSUserUnixTaskCompletionHandler)(NSError *error);
^
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:53:15: error: expected '' before '^' token
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:54:70: error: 'NSUserUnixTaskCompletionHandler' does not name a type
- (void)executeWithArguments:(NSArray *)arguments completionHandler:(NSUserUnixTaskCompletionHandler)handler;
^
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:68:15: error: expected unqualified-id before '^' token
typedef void (^NSUserAppleScriptTaskCompletionHandler)(NSAppleEventDescriptor *result, NSError *error);
^
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:68:15: error: expected '' before '^' token
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:69:82: error: 'NSUserAppleScriptTaskCompletionHandler' does not name a type
- (void)executeWithAppleEvent:(NSAppleEventDescriptor *)event completionHandler:(NSUserAppleScriptTaskCompletionHandler)handler;
^
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:86:15: error: expected unqualified-id before '^' token
typedef void (^NSUserAutomatorTaskCompletionHandler)(id result, NSError *error);
^
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:86:15: error: expected '' before '^' token
/System/Library/Frameworks/Foundation.framework/Headers/NSUserScriptTask.h:87:72: error: 'NSUserAutomatorTaskCompletionHandler' does not name a type
- (void)executeWithInput:(id <NSSecureCoding>)input completionHandler:(NSUserAutomatorTaskCompletionHandler)handler;
^
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:160:0,
from /Users/mz/dev/sc3.git/master/common/SC_DirUtils.cpp:28:
/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:46:11: error: expected unqualified-id before '^' token
void (^_interruptionHandler)();
^
/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:46:11: error: expected ')' before '^' token
/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:46:11: error: expected ';' before '^' token
/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:47:11: error: expected unqualified-id before '^' token
void (^_invalidationHandler)();
^
/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:47:11: error: expected ')' before '^' token
/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:47:11: error: expected ';' before '^' token
In file included from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/bind/mem_fn.hpp:25:0,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/mem_fn.hpp:22,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/function/detail/prologue.hpp:18,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/function.hpp:24,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/algorithm/string/detail/find_iterator.hpp:18,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/algorithm/string/find_iterator.hpp:24,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/algorithm/string/iter_find.hpp:27,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/algorithm/string/split.hpp:16,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/algorithm/string.hpp:23,
from /Users/mz/dev/sc3.git/master/common/SC_DirUtils.h:37,
from /Users/mz/dev/sc3.git/master/common/SC_DirUtils.cpp:45:
/Users/mz/dev/sc3.git/master/external_libraries/boost/boost/get_pointer.hpp:27:40: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
template<class T> T * get_pointer(std::auto_ptr<T> const& p)
^
In file included from /usr/local/Cellar/gcc/5.2.0/include/c++/5.2.0/bits/locale_conv.h:41:0,
from /usr/local/Cellar/gcc/5.2.0/include/c++/5.2.0/locale:43,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/algorithm/string/classification.hpp:15,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/algorithm/string/trim.hpp:23,
from /Users/mz/dev/sc3.git/master/external_libraries/boost/boost/algorithm/string.hpp:19,
from /Users/mz/dev/sc3.git/master/common/SC_DirUtils.h:37,
from /Users/mz/dev/sc3.git/master/common/SC_DirUtils.cpp:45:
/usr/local/Cellar/gcc/5.2.0/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
make[2]: *** [editors/sc-ide/CMakeFiles/SuperCollider.dir/__/__/common/SC_DirUtils.cpp.o] Error 1
make[1]: *** [editors/sc-ide/CMakeFiles/SuperCollider.dir/all] Error 2
make: *** [all] Error 2
did I miss something?
thanks, Michael.
--
http://mz.klingt.org
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/