[GH-ISSUE #7] b.sh errors on Mac OS X #3

Closed
opened 2026-03-17 03:00:51 +03:00 by kerem · 2 comments
Owner

Originally created by @funky327 on GitHub (Nov 4, 2012).
Original GitHub issue: https://github.com/hrydgard/ppsspp/issues/7

I'm running into errors when running b.sh, here is my build environment/error(s):

Mac OS X 10.8.2
Xcode 4.5.2 (4G2008a)
CMake 2.8.9_1 (as installed by MacPorts)

./b.sh
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 4.1.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/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.27.1")
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Found PNG: /opt/local/lib/libpng.dylib (found version "1.5.13")
-- checking for module 'sdl'
-- found sdl, version 1.2.15
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
-- Found SDL: /Library/Frameworks/SDL.framework;-framework Cocoa
CMake Error at CMakeLists.txt:47 (add_subdirectory):
add_subdirectory given source "../native/base" which is not an existing
directory.

CMake Error at CMakeLists.txt:48 (add_subdirectory):
add_subdirectory given source "../native/gfx" which is not an existing
directory.

CMake Error at CMakeLists.txt:49 (add_subdirectory):
add_subdirectory given source "../native/profiler" which is not an existing
directory.

CMake Error at CMakeLists.txt:50 (add_subdirectory):
add_subdirectory given source "../native/gfx_es2" which is not an existing
directory.

CMake Error at CMakeLists.txt:51 (add_subdirectory):
add_subdirectory given source "../native/file" which is not an existing
directory.

CMake Error at CMakeLists.txt:52 (add_subdirectory):
add_subdirectory given source "../native/image" which is not an existing
directory.

CMake Error at CMakeLists.txt:53 (add_subdirectory):
add_subdirectory given source "../native/json" which is not an existing
directory.

CMake Error at CMakeLists.txt:54 (add_subdirectory):
add_subdirectory given source "../native/audio" which is not an existing
directory.

CMake Error at CMakeLists.txt:55 (add_subdirectory):
add_subdirectory given source "../native/math" which is not an existing
directory.

CMake Error at CMakeLists.txt:56 (add_subdirectory):
add_subdirectory given source "../native/net" which is not an existing
directory.

CMake Error at CMakeLists.txt:57 (add_subdirectory):
add_subdirectory given source "../native/ui" which is not an existing
directory.

CMake Error at CMakeLists.txt:58 (add_subdirectory):
add_subdirectory given source "../native/ext/libzip" which is not an
existing directory.

CMake Error at CMakeLists.txt:59 (add_subdirectory):
add_subdirectory given source "../native/ext/etcpack" which is not an
existing directory.

CMake Error at CMakeLists.txt:60 (add_subdirectory):
add_subdirectory given source "../native/ext/vjson" which is not an
existing directory.

CMake Error at CMakeLists.txt:61 (add_subdirectory):
add_subdirectory given source "../native/ext/stb_vorbis" which is not an
existing directory.

CMake Error at CMakeLists.txt:62 (add_subdirectory):
add_subdirectory given source "../native/ext/stb_image" which is not an
existing directory.

CMake Error at CMakeLists.txt:63 (add_subdirectory):
add_subdirectory given source "../native/ext/sha1" which is not an existing
directory.

Thanks!

Originally created by @funky327 on GitHub (Nov 4, 2012). Original GitHub issue: https://github.com/hrydgard/ppsspp/issues/7 I'm running into errors when running b.sh, here is my build environment/error(s): Mac OS X 10.8.2 Xcode 4.5.2 (4G2008a) CMake 2.8.9_1 (as installed by MacPorts) ./b.sh -- The C compiler identification is GNU 4.2.1 -- The CXX compiler identification is Clang 4.1.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/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.27.1") -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") -- Found PNG: /opt/local/lib/libpng.dylib (found version "1.5.13") -- checking for module 'sdl' -- found sdl, version 1.2.15 -- Found OpenGL: /System/Library/Frameworks/OpenGL.framework -- Found SDL: /Library/Frameworks/SDL.framework;-framework Cocoa CMake Error at CMakeLists.txt:47 (add_subdirectory): add_subdirectory given source "../native/base" which is not an existing directory. CMake Error at CMakeLists.txt:48 (add_subdirectory): add_subdirectory given source "../native/gfx" which is not an existing directory. CMake Error at CMakeLists.txt:49 (add_subdirectory): add_subdirectory given source "../native/profiler" which is not an existing directory. CMake Error at CMakeLists.txt:50 (add_subdirectory): add_subdirectory given source "../native/gfx_es2" which is not an existing directory. CMake Error at CMakeLists.txt:51 (add_subdirectory): add_subdirectory given source "../native/file" which is not an existing directory. CMake Error at CMakeLists.txt:52 (add_subdirectory): add_subdirectory given source "../native/image" which is not an existing directory. CMake Error at CMakeLists.txt:53 (add_subdirectory): add_subdirectory given source "../native/json" which is not an existing directory. CMake Error at CMakeLists.txt:54 (add_subdirectory): add_subdirectory given source "../native/audio" which is not an existing directory. CMake Error at CMakeLists.txt:55 (add_subdirectory): add_subdirectory given source "../native/math" which is not an existing directory. CMake Error at CMakeLists.txt:56 (add_subdirectory): add_subdirectory given source "../native/net" which is not an existing directory. CMake Error at CMakeLists.txt:57 (add_subdirectory): add_subdirectory given source "../native/ui" which is not an existing directory. CMake Error at CMakeLists.txt:58 (add_subdirectory): add_subdirectory given source "../native/ext/libzip" which is not an existing directory. CMake Error at CMakeLists.txt:59 (add_subdirectory): add_subdirectory given source "../native/ext/etcpack" which is not an existing directory. CMake Error at CMakeLists.txt:60 (add_subdirectory): add_subdirectory given source "../native/ext/vjson" which is not an existing directory. CMake Error at CMakeLists.txt:61 (add_subdirectory): add_subdirectory given source "../native/ext/stb_vorbis" which is not an existing directory. CMake Error at CMakeLists.txt:62 (add_subdirectory): add_subdirectory given source "../native/ext/stb_image" which is not an existing directory. CMake Error at CMakeLists.txt:63 (add_subdirectory): add_subdirectory given source "../native/ext/sha1" which is not an existing directory. Thanks!
kerem closed this issue 2026-03-17 03:00:58 +03:00
Author
Owner

@hrydgard commented on GitHub (Nov 4, 2012):

You need to run:
git submodule init
git submodule update

to get all the code in the "native" library.

<!-- gh-comment-id:10053681 --> @hrydgard commented on GitHub (Nov 4, 2012): You need to run: git submodule init git submodule update to get all the code in the "native" library.
Author
Owner

@hrydgard commented on GitHub (Nov 5, 2012):

Closing this as people have reported that cloning native now works correctly.

<!-- gh-comment-id:10064511 --> @hrydgard commented on GitHub (Nov 5, 2012): Closing this as people have reported that cloning native now works correctly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ppsspp#3
No description provided.