Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b.sh errors on Mac OS X #7

Closed
funky327 opened this issue Nov 4, 2012 · 2 comments
Closed

b.sh errors on Mac OS X #7

funky327 opened this issue Nov 4, 2012 · 2 comments

Comments

@funky327
Copy link

funky327 commented Nov 4, 2012

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!

@hrydgard
Copy link
Owner

hrydgard commented Nov 4, 2012

You need to run:
git submodule init
git submodule update

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

@hrydgard
Copy link
Owner

hrydgard commented Nov 5, 2012

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

@hrydgard hrydgard closed this as completed Nov 5, 2012
@livisor livisor mentioned this issue Mar 9, 2013
LunaMoo pushed a commit that referenced this issue Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants