Hello, I tried to build Blender using the official build guide but I get this error:
make[1]: *** [all] Error 2
make: *** [all] Error 2
System:
- Subversion: stable 1.14.2
- CMake: stable 3.23.2
- MacOS: 12.4
- CPU: M1
Does anybody know how to resolve this?
Thanks and regards
The full log is below because I am not allowed to upload attachments yet:
blender % make
Configuring Blender in "/Users/???/Desktop/blender-git/build_darwin" ...
-- Detected OS X 12.3 and Command Line Tools 13.4 at /Library/Developer/CommandLineTools
-- SDKs Directory: /Library/Developer/CommandLineTools/SDKs
-- Detected OSX_SYSROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk
-- JACK not found, disabling WITH_JACK
-- Using /Users/???/Desktop/blender-git/blender/../lib/darwin_arm64/openmp for OpenMP
-- Neon SIMD instructions enabled
-- Found Metal: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Metal.framework
-- Tests: Using Python executable: /Users/???/Desktop/blender-git/blender/../lib/darwin_arm64/python/bin/python3.10
CMake Warning at tests/python/CMakeLists.txt:632 (MESSAGE):
Disabling render tests because tests folder does not exist at
/Users/???/Desktop/blender-git/blender/../lib/tests
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/attributes/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/curve_primitives/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/curves/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/geometry/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/mesh_primitives/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/mesh/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/mesh/extrude/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/points/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/utilities/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/vector/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/mesh/boolean/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/volume/ Not Found, disabling test.
-- Directory named /Users/???/Desktop/blender-git/blender/../lib/tests/modeling/geometry_nodes/mesh/subdivision_tests/ Not Found, disabling test.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/???/Desktop/blender-git/build_darwin
Building Blender ...
make -s -C "/Users/???/Desktop/blender-git/build_darwin" -j 8 install
Consolidate compiler generated dependencies of target bf_intern_clog
Consolidate compiler generated dependencies of target datatoc
Consolidate compiler generated dependencies of target bf_intern_guardedalloc
Consolidate compiler generated dependencies of target bf_intern_memutil
Consolidate compiler generated dependencies of target bf_intern_mikktspace
Consolidate compiler generated dependencies of target bf_intern_opencolorio
[ 0%] Built target datatoc
[ 0%] Built target bf_intern_clog
Consolidate compiler generated dependencies of target bf_intern_ghost
Consolidate compiler generated dependencies of target bf_intern_glew_mx
[ 0%] Built target bf_intern_mikktspace
[ 0%] Built target bf_intern_guardedalloc
[ 1%] Built target bf_intern_memutil
Consolidate compiler generated dependencies of target bf_intern_eigen
[ 1%] Built target bf_intern_opencolorio
Consolidate compiler generated dependencies of target bf_intern_audaspace
[ 1%] Built target bf_intern_glew_mx
Consolidate compiler generated dependencies of target bf_intern_sky
Consolidate compiler generated dependencies of target bf_intern_dualcon
Consolidate compiler generated dependencies of target bf_intern_iksolver
[ 1%] Built target bf_intern_sky
Consolidate compiler generated dependencies of target bf_intern_libmv
[ 1%] Built target bf_intern_audaspace
[ 1%] Built target bf_intern_dualcon
Consolidate compiler generated dependencies of target bf_dna_blenlib
[ 1%] Built target bf_intern_eigen
Consolidate compiler generated dependencies of target makesdna
Consolidate compiler generated dependencies of target bf_intern_itasc
[ 1%] Built target bf_dna_blenlib
Consolidate compiler generated dependencies of target cycles_subd
[ 2%] Built target bf_intern_iksolver
Consolidate compiler generated dependencies of target cycles_util
[ 2%] Built target makesdna
[ 2%] Building CXX object intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_SystemCocoa.mm.o
[ 2%] Building CXX object intern/locale/CMakeFiles/bf_intern_locale.dir/boost_locale_wrapper.cpp.o
[ 2%] Generating node_add_closure.oso
[ 2%] Built target cycles_subd
[ 2%] Building CXX object intern/rigidbody/CMakeFiles/bf_intern_rigidbody.dir/rb_bullet_api.cpp.o
[ 2%] Building CXX object intern/mantaflow/CMakeFiles/bf_intern_mantaflow.dir/intern/manta_python_API.cpp.o
[ 2%] Built target cycles_util
[ 2%] Building CXX object intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_WindowCocoa.mm.o
...
[ 3%] Generating node_gradient_texture.oso
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_SystemCocoa.mm:40:8: error: unknown type name 'GHOST_TButtonMask'
static GHOST_TButtonMask convertButton(int button)
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_SystemCocoa.mm:1941:54: warning: 'NSStringPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
NSString *textPasted = [pasteBoard stringForType:NSStringPboardType];
^~~~~~~~~~~~~~~~~~
NSPasteboardTypeString
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:311:32: note: 'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeString", macos(10.0,10.14));
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_SystemCocoa.mm:1976:33: warning: 'NSStringPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
[pasteBoard declareTypes:@[ NSStringPboardType ] owner:nil];
^~~~~~~~~~~~~~~~~~
NSPasteboardTypeString
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:311:32: note: 'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeString", macos(10.0,10.14));
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_SystemCocoa.mm:1978:46: warning: 'NSStringPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
[pasteBoard setString:textToCopy forType:NSStringPboardType];
^~~~~~~~~~~~~~~~~~
NSPasteboardTypeString
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:311:32: note: 'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeString", macos(10.0,10.14));
^
[ 3%] Generating node_hair_info.oso
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:165:46: warning: 'NSTIFFPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
if ([[draggingPBoard types] containsObject:NSTIFFPboardType])
^~~~~~~~~~~~~~~~
NSPasteboardTypeTIFF
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:313:32: note: 'NSTIFFPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSTIFFPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeTIFF", macos(10.0,10.14));
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:167:51: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
else if ([[draggingPBoard types] containsObject:NSFilenamesPboardType])
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:169:51: warning: 'NSStringPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
else if ([[draggingPBoard types] containsObject:NSStringPboardType])
^~~~~~~~~~~~~~~~~~
NSPasteboardTypeString
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:311:32: note: 'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeString", macos(10.0,10.14));
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:234:50: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
data = [draggingPBoard propertyListForType:NSFilenamesPboardType];
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:237:44: warning: 'NSStringPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
data = [draggingPBoard stringForType:NSStringPboardType];
^~~~~~~~~~~~~~~~~~
NSPasteboardTypeString
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:311:32: note: 'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeString", macos(10.0,10.14));
^
3 warnings and 1 error generated.
make[3]: *** [intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_SystemCocoa.mm.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 3%] Generating node_point_info.oso
[ 3%] Building C object extern/curve_fit_nd/CMakeFiles/extern_curve_fit_nd.dir/intern/curve_fit_cubic.c.o
In file included from /Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:257:
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowViewCocoa.h:17:31: warning: 'NSOpenGLView' is deprecated: first deprecated in macOS 10.14 - Please use MTKView instead. [-Wdeprecated-declarations]
@interface COCOA_VIEW_CLASS : COCOA_VIEW_BASE_CLASS <NSTextInputClient>
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:256:31: note: expanded from macro 'COCOA_VIEW_BASE_CLASS'
#define COCOA_VIEW_BASE_CLASS NSOpenGLView
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGLView.h:18:12: note: 'NSOpenGLView' has been explicitly marked deprecated here
@interface NSOpenGLView : NSView
^
[ 3%] Generating node_scatter_volume.oso
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:354:13: warning: 'setWantsBestResolutionOpenGLSurface:' is deprecated: first deprecated in macOS 10.14 - Use NSOpenGLView instead. [-Wdeprecated-declarations]
[view setWantsBestResolutionOpenGLSurface:YES];
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGLView.h:47:16: note: property 'wantsBestResolutionOpenGLSurface' is declared deprecated here
@property BOOL wantsBestResolutionOpenGLSurface API_DEPRECATED("Use NSOpenGLView instead.", macos(10.7,10.14));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGLView.h:47:16: note: 'setWantsBestResolutionOpenGLSurface:' has been explicitly marked deprecated here
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:380:63: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
[m_window registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType,
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:381:63: warning: 'NSStringPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
NSStringPboardType,
^~~~~~~~~~~~~~~~~~
NSPasteboardTypeString
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:311:32: note: 'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeString", macos(10.0,10.14));
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:382:63: warning: 'NSTIFFPboardType' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
NSTIFFPboardType,
^~~~~~~~~~~~~~~~
NSPasteboardTypeTIFF
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:313:32: note: 'NSTIFFPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSTIFFPboardType API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeTIFF", macos(10.0,10.14));
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:877:3: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
NSUserNotification *notification = [[NSUserNotification alloc] init];
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
@interface NSUserNotification : NSObject <NSCopying> {
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:877:40: warning: 'NSUserNotification' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
NSUserNotification *notification = [[NSUserNotification alloc] init];
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:24:12: note: 'NSUserNotification' has been explicitly marked deprecated here
@interface NSUserNotification : NSObject <NSCopying> {
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:880:28: warning: 'NSUserNotificationDefaultSoundName' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
notification.soundName = NSUserNotificationDefaultSoundName;
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:115:36: note: 'NSUserNotificationDefaultSoundName' has been explicitly marked deprecated here
FOUNDATION_EXPORT NSString * const NSUserNotificationDefaultSoundName API_DEPRECATED("All NSUserNotifications API should be replaced with UserNotifications.frameworks API", macos(10.8, 11.0)) API_UNAVAILABLE(ios, watchos, tvos);
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:881:5: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification];
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
@interface NSUserNotificationCenter : NSObject {
^
/Users/???/Desktop/blender-git/blender/intern/ghost/intern/GHOST_WindowCocoa.mm:906:8: warning: 'NSUserNotificationCenter' is deprecated: first deprecated in macOS 11.0 - All NSUserNotifications API should be replaced with UserNotifications.frameworks API [-Wdeprecated-declarations]
if ([NSUserNotificationCenter respondsToSelector:@selector(defaultUserNotificationCenter)]) {
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:118:12: note: 'NSUserNotificationCenter' has been explicitly marked deprecated here
@interface NSUserNotificationCenter : NSObject {
^
[ 3%] Generating node_absorption_volume.oso
[ 3%] Building CXX object intern/rigidbody/CMakeFiles/bf_intern_rigidbody.dir/rb_convex_hull_api.cpp.o
[ 3%] Generating node_principled_volume.oso
[ 3%] Generating node_holdout.oso
[ 3%] Building CXX object intern/mantaflow/CMakeFiles/bf_intern_mantaflow.dir/intern/MANTA_main.cpp.o
[ 3%] Generating node_hsv.oso
[ 3%] Linking CXX static library ../../lib/libbf_intern_rigidbody.a
[ 3%] Generating node_ies_light.oso
[ 3%] Generating node_image_texture.oso
[ 3%] Built target bf_intern_rigidbody
[ 3%] Generating node_invert.oso
[ 3%] Building C object extern/rangetree/CMakeFiles/extern_rangetree.dir/intern/range_tree.c.o
[ 3%] Generating node_layer_weight.oso
[ 3%] Linking CXX static library ../../lib/libbf_intern_openvdb.a
[ 3%] Generating node_light_falloff.oso
15 warnings generated.
[ 3%] Building C object extern/curve_fit_nd/CMakeFiles/extern_curve_fit_nd.dir/intern/curve_fit_cubic_refit.c.o
[ 3%] Generating node_light_path.oso
[ 3%] Built target bf_intern_openvdb
[ 3%] Linking C static library ../../lib/libextern_rangetree.a
[ 4%] Generating node_magic_texture.oso
[ 4%] Building C object extern/wcwidth/CMakeFiles/extern_wcwidth.dir/wcwidth.c.o
[ 4%] Generating node_map_range.oso
[ 4%] Built target extern_rangetree
[ 4%] Building C object extern/curve_fit_nd/CMakeFiles/extern_curve_fit_nd.dir/intern/curve_fit_corners_detect.c.o
[ 4%] Generating node_mapping.oso
[ 4%] Linking C static library ../../lib/libextern_wcwidth.a
[ 4%] Building CXX object extern/bullet2/CMakeFiles/extern_bullet.dir/src/BulletCollision/BroadphaseCollision/btAxisSweep3.cpp.o
[ 4%] Generating node_math.oso
[ 4%] Built target extern_wcwidth
[ 4%] Generating node_mix.oso
[ 4%] Generating node_mix_closure.oso
[ 4%] Building CXX object extern/draco/draco/CMakeFiles/draco.dir/src/draco/animation/keyframe_animation.cc.o
[ 4%] Building CXX object extern/bullet2/CMakeFiles/extern_bullet.dir/src/BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp.o
[ 4%] Generating node_musgrave_texture.oso
[ 4%] Generating node_noise_texture.oso
[ 4%] Building C object extern/curve_fit_nd/CMakeFiles/extern_curve_fit_nd.dir/intern/generic_heap.c.o
[ 4%] Generating node_normal.oso
[ 4%] Building CXX object extern/bullet2/CMakeFiles/extern_bullet.dir/src/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.cpp.o
...
[ 10%] Building CXX object extern/bullet2/CMakeFiles/extern_bullet.dir/src/LinearMath/btSerializer64.cpp.o
[ 10%] Building CXX object extern/bullet2/CMakeFiles/extern_bullet.dir/src/LinearMath/btVector3.cpp.o
[ 10%] Linking CXX static library ../../lib/libextern_bullet.a
[ 10%] Built target extern_bullet
[ 10%] Linking C static library ../../lib/libextern_glew.a
[ 10%] Built target extern_glew
make[1]: *** [all] Error 2
make: *** [all] Error 2