Alle discussies > Steam-forum > Steam for Mac > Details van topic
need help compiling steamworksexample on MAC OSX under Xcode or manually
Hi All, Just downloaded the steam SDK onto OSX Maverick and have the Xcode 5.1. I tried using the outside build template, dragged all the source into the Project Navigator (left hand side) and ran the compile (build tool for the project set for /usr/bin/make, have /Volumes/share/Steam/sdk/steamworksexample as the Directory and "Pass build settings in environment" checked... got errors with setting the path:

/bin/sh: /../tools/linux/bin/sdl2-config: No such file or directory
/bin/sh: /../tools/linux/bin/sdl2-config: No such file or directory
bash /../tools/linux/setup.sh --auto-upgrade
bash: /../tools/linux/setup.sh: No such file or directory
make: *** [steam-runtime-setup] Error 127

Then tried running make manually in the directory from the command line, and

Complete build listing:
ExternalBuildToolExecution test\ of\ steam\ 2
cd /Volumes/share/Steam/sdk/steamworksexample
export ACTION=
export ALTERNATE_GROUP=staff
export ALTERNATE_MODE=u+w,go-w,a+rX
export ALTERNATE_OWNER=gwhiz
export ALWAYS_SEARCH_USER_PATHS=NO
export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
export APPLE_INTERNAL_DIR=/AppleInternal
export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
export APPLY_RULES_IN_COPY_FILES=NO
export ARCHS=x86_64
export AVAILABLE_PLATFORMS="iphonesimulator macosx iphoneos"
export BUILD_COMPONENTS="headers build"
export BUILD_DIR=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Products
export BUILD_ROOT=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Products
export BUILD_STYLE=
export BUILD_VARIANTS=normal
export BUILT_PRODUCTS_DIR=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Products/Debug
export CACHE_ROOT=/var/folders/y1/s9r_1z8132q9m8vnlnp41t_c0000gn/C/com.apple.DeveloperTools/5.1-5B130a/Xcode
export CLANG_CXX_LANGUAGE_STANDARD=gnu++0x
export CLANG_CXX_LIBRARY=libc++
export CLANG_ENABLE_MODULES=YES
export CLANG_ENABLE_OBJC_ARC=YES
export CLANG_WARN_BOOL_CONVERSION=YES
export CLANG_WARN_CONSTANT_CONVERSION=YES
export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
export CLANG_WARN_EMPTY_BODY=YES
export CLANG_WARN_ENUM_CONVERSION=YES
export CLANG_WARN_INT_CONVERSION=YES
export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
export CLASS_FILE_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build/JavaClasses"
export CLONE_HEADERS=NO
export CODE_SIGNING_ALLOWED=NO
export COLOR_DIAGNOSTICS=NO
export CONFIGURATION=Debug
export CONFIGURATION_BUILD_DIR=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Products/Debug
export CONFIGURATION_TEMP_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug"
export COPYING_PRESERVES_HFS_DATA=NO
export COPY_PHASE_STRIP=NO
export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
export DEAD_CODE_STRIPPING=NO
export DEBUGGING_SYMBOLS=YES
export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
export DEFAULT_KEXT_INSTALL_PATH=/Library/Extensions
export DEPLOYMENT_LOCATION=NO
export DEPLOYMENT_POSTPROCESSING=NO
export DERIVED_FILES_DIR=
export DERIVED_FILE_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build/DerivedSources"
export DERIVED_SOURCES_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build/DerivedSources"
export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export DEVELOPMENT_LANGUAGE=English
export DO_HEADER_SCANNING_IN_JAM=NO
export DSTROOT="/tmp/test of steam 2.dst"
export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export DWARF_DSYM_FILE_NAME=.dSYM
export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
export DWARF_DSYM_FOLDER_PATH=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Products/Debug
export EMBEDDED_PROFILE_NAME=embedded.provisionprofile
export ENABLE_HEADER_DEPENDENCIES=YES
export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* (*) .DS_Store CVS .svn .git .hg"
export FILE_LIST="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build/Objects/LinkFileList"
export FRAMEWORK_VERSION=A
export GCC3_VERSION=3.3
export GCC_C_LANGUAGE_STANDARD=gnu99
export GCC_DYNAMIC_NO_PIC=NO
export GCC_ENABLE_OBJC_EXCEPTIONS=YES
export GCC_GENERATE_DEBUGGING_SYMBOLS=YES
export GCC_OPTIMIZATION_LEVEL=0
export GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1 "
export GCC_SYMBOLS_PRIVATE_EXTERN=NO
export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
export GCC_WARN_UNDECLARED_SELECTOR=YES
export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
export GCC_WARN_UNUSED_FUNCTION=YES
export GCC_WARN_UNUSED_VARIABLE=YES
export GENERATE_MASTER_OBJECT_FILE=NO
export GENERATE_PKGINFO_FILE=NO
export GID=20
export GROUP=staff
export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
export HEADER_SEARCH_PATHS=" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
export INFOPLIST_OUTPUT_FORMAT=same-as-input
export INFOPLIST_PREPROCESS=NO
export INSTALL_DIR="/tmp/test of steam 2.dst"
export INSTALL_GROUP=staff
export INSTALL_MODE_FLAG=u+w,go-w,a+rX
export INSTALL_OWNER=gwhiz
export INSTALL_ROOT="/tmp/test of steam 2.dst"
export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
export JAVA_ARCHIVE_CLASSES=YES
export JAVA_ARCHIVE_TYPE=JAR
export JAVA_COMPILER=/usr/bin/javac
export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
export JAVA_JAR_FLAGS=cv
export JAVA_SOURCE_SUBDIR=.
export JAVA_USE_DEPENDENCIES=YES
export JAVA_ZIP_FLAGS=-urg
export KEEP_PRIVATE_EXTERNS=NO
export LD_DEPENDENCY_INFO_FILE="//test of steam 2_dependency_info.dat"
export LD_GENERATE_MAP_FILE=NO
export LD_MAP_FILE_PATH="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build/test of steam 2-LinkMap--.txt"
export LD_NO_PIE=NO
export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
export LIBRARY_FLAG_NOSPACE=YES
export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
export LINKER_DISPLAYS_MANGLED_NAMES=NO
export LINK_WITH_STANDARD_LIBRARIES=YES
export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
export LOCAL_APPS_DIR=/Applications
export LOCAL_DEVELOPER_DIR=/Library/Developer
export LOCAL_LIBRARY_DIR=/Library
export MACOSX_DEPLOYMENT_TARGET=10.9
export MAC_OS_X_PRODUCT_BUILD_VERSION=13C64
export MAC_OS_X_VERSION_ACTUAL=1092
export MAC_OS_X_VERSION_MAJOR=1090
export MAC_OS_X_VERSION_MINOR=0902
export MODULE_CACHE_DIR=/Users/gwhiz/Library/Developer/Xcode/DerivedData/ModuleCache
export OBJECT_FILE_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build/Objects"
export OBJROOT=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates
export ONLY_ACTIVE_ARCH=YES
export OPTIMIZATION_LEVEL=0
export OS=MACOS
export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
export PLATFORM_NAME=macosx
export PLIST_FILE_OUTPUT_FORMAT=same-as-input
export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
export PRECOMP_DESTINATION_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build/PrefixHeaders"
export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
export PRODUCT_NAME="test of steam 2"
export PROFILING_CODE=NO
export PROJECT="test of steam 2"
export PROJECT_DERIVED_FILE_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/DerivedSources"
export PROJECT_DIR="/Volumes/share/Steam/sdk/steamworksexample/test of steam 2"
export PROJECT_FILE_PATH="/Volumes/share/Steam/sdk/steamworksexample/test of steam 2/test of steam 2.xcodeproj"
export PROJECT_NAME="test of steam 2"
export PROJECT_TEMP_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build"
export PROJECT_TEMP_ROOT=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates
export REMOVE_CVS_FROM_RESOURCES=YES
export REMOVE_GIT_FROM_RESOURCES=YES
export REMOVE_HG_FROM_RESOURCES=YES
export REMOVE_SVN_FROM_RESOURCES=YES
export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
export SEPARATE_STRIP=NO
export SEPARATE_SYMBOL_EDIT=NO
export SHARED_DERIVED_FILE_DIR=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Products/Debug/DerivedSources
export SHARED_PRECOMPS_DIR=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/PrecompiledHeaders
export SKIP_INSTALL=YES
export SOURCE_ROOT="/Volumes/share/Steam/sdk/steamworksexample/test of steam 2"
export SRCROOT="/Volumes/share/Steam/sdk/steamworksexample/test of steam 2"
export STRINGS_FILE_OUTPUT_ENCODING=UTF-16
export STRIP_INSTALLED_PRODUCT=YES
export STRIP_STYLE=all
export SUPPORTED_PLATFORMS=macosx
export SYMROOT=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Products
export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
export SYSTEM_APPS_DIR=/Applications
export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
export SYSTEM_DEMOS_DIR=/Applications/Extras
export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
export SYSTEM_LIBRARY_DIR=/System/Library
export TARGETNAME="test of steam 2"
export TARGET_BUILD_DIR=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Products/Debug
export TARGET_NAME="test of steam 2"
export TARGET_TEMP_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build"
export TEMP_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build"
export TEMP_FILES_DIR=
export TEMP_FILE_DIR="/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates/test of steam 2.build/Debug/test of steam 2.build"
export TEMP_ROOT=/Users/gwhiz/Library/Developer/Xcode/DerivedData/test_of_steam_2-bruverkicdzyvngecjitndfhcydb/Build/Intermediates
export UID=501
export USER=gwhiz
export USER_APPS_DIR=/Users/gwhiz/Applications
export USER_LIBRARY_DIR=/Users/gwhiz/Library
export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_PRODUCT_BUILD_VERSION=5B130a
export XCODE_VERSION_ACTUAL=0510
export XCODE_VERSION_MAJOR=0500
export XCODE_VERSION_MINOR=0510
export arch=x86_64
export "steam test"=/Volumes/share/Steam/sdk/steamworksexample
export variant=normal
/usr/bin/make

/bin/sh: /../tools/linux/bin/sdl2-config: No such file or directory
/bin/sh: /../tools/linux/bin/sdl2-config: No such file or directory
bash /../tools/linux/setup.sh --auto-upgrade
bash: /../tools/linux/setup.sh: No such file or directory
make: *** [steam-runtime-setup] Error 127
< >
1-15 van 17 reacties weergegeven
Found the path is set in flags.mk, but the environment doesn't have STEAMWORKS_SDK set
There's a tools folder with a linux sub folder but no mac folder. In the linux folder, there's a README that says to run setup.sh first. I ran it manually, said yes to updating the SDK (no updates) and the tools, and to building 64bit. It downloaded a zip,

then started giving errors:

t/usr/libexec/getconf/POSIX_V6_LP64_OFF64: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/libexec/getconf/POSIX_V6_LP64_OFF64'
#### 6.7%amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/libexec/getconf/POSIX_V7_LP64_OFF64: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/libexec/getconf/POSIX_V7_LP64_OFF64'
#### 6.7%amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Jamaica: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Jamaica'
amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Denver: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Denver'
amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Argentina/Buenos_Aires: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Argentina/Buenos_Aires'
amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Argentina/Catamarca: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Argentina/Catamarca'
amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Argentina/ComodRivadavia: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Argentina/ComodRivadavia'
amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Kentucky/Louisville: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Kentucky/Louisville'
amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Guadeloupe: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Guadeloupe'
####

etc.... there are quite a few errors, but also many other files are created just fine in that path. Most worrisome errors were things like:

amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/bin/getconf: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/bin/getconf'
######################### 35.4%amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld.bfd: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld.bfd'
########################### 38.1%amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/c++: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/c++'

It's building the tree in general just fine however, so not sure why some of these are failing and others are populating?
Just continuing the thread here for others who try this...

setup.sh asked if I should update the runtime, I said yes... it downloaded a zip file, then spewed errors like:

d64/usr/lib/x86_64-linux-gnu/libwind.so.0: Write to restore size failed
amd64/usr/lib/x86_64-linux-gnu/libopenal.so.1.13.0: Write to restore size failed
############### 21.1%amd64/usr/lib/x86_64-linux-gnu/libXpm.a: Write to restore size failed
############### 21.2%amd64/usr/lib/x86_64-linux-gnu/libfltk.a: Write to restore size failed
############### 21.3%amd64/usr/lib/x86_64-linux-gnu/libcanberra.so: Write to restore size failed
amd64/usr/lib/x86_64-linux-gnu/libva.so: Write to restore size failed
amd64/usr/lib/x86_64-linux-gnu/libsmime3.so: Write to restore size failed
############### 21.3%amd64/usr/lib/x86_64-linux-gnu/libcups.so.2: Write to restore size failed
##############
Would suggest that in this page:

https://partner.steamgames.com/documentation/getting_started

there be more "getting your build started" help for each build platform supported.
Thinking the errors might be due to something that sudo would fix, tried it again with sudo bash setup.sh, but:

michaeliamsspro:linux gwhiz$ sudo bash setup.sh
Password:
======================================
Which architectures would you like to target?
1) i386 (x86 32-bit)
2) amd64 (x64 64-bit)
3) all supported architectures
Default amd64: 2
Set target architecture to: amd64

======================================
Which runtime flavor would you like to use?
1) release
2) debug
Default debug: 2
Set runtime flavor to: debug

======================================
Update base SDK? [Y/n]: Y
No updates available.

======================================
Update tools? [Y/n]: Y
No updates available.

======================================
Update runtime? [Y/n]: Y
No updates available.

======================================
Update complete!

so the previous runs failed, but running again seems to think it succeeded?
in tools/linux there is shell.sh whih calls the command dpkg. This command is not existing in OSX.
Starting over, created a new dir and downloaded steam-runtime-sdk_latest.tar.xz from https://github.com/ValveSoftware/steam-runtime. tar -xJf on that file gave steam-runtime-sdk_2013-09-05/ . Ran setup.sh,

michaeliamsspro:steam-runtime-sdk_2013-09-05 gwhiz$ bash setup.sh
======================================
Which architectures would you like to target?
1) i386 (x86 32-bit)
2) amd64 (x64 64-bit)
3) all supported architectures
Default i386 amd64: 3
Set target architecture to: i386 amd64

======================================
Which runtime flavor would you like to use?
1) release
2) debug
Default debug: 2
Set runtime flavor to: debug

======================================
Update base SDK? [Y/n]: n
======================================
Update tools? [Y/n]: Y
Installing http://media.steampowered.com/client/runtime/x-tools-amd64-i386_latest.tar.xz...
At about 60%, started giving same errors as before:

amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/POSIX_V6_ILP32_OFFBIG: Can't create 'amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/POSIX_V6_ILP32_OFFBIG'
amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/POSIX_V7_ILP32_OFFBIG: Can't create 'amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/POSIX_V7_ILP32_OFFBIG'
amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/XBS5_ILP32_OFFBIG: Can't create 'amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/XBS5_ILP32_OFFBIG'
amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/POSIX_V6_ILP32_OFF32: Can't create 'amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/POSIX_V6_ILP32_OFF32'
amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/XBS5_ILP32_OFF32: Can't create 'amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/libexec/getconf/XBS5_ILP32_OFF32'
############################################ 61.9%amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Jamaica: Can't create 'amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Jamaica'
amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Denver: Can't create 'amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Denver'
amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Argentina/Buenos_Aires: Can't create 'amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/Argentina/Buenos_Aires'
amd64/i686-unknown-linux-gnu/i686-unknown-linux-gnu/sysroot/usr/share/zoneinfo/America/A

df on the disk shows 350G still free.

Then it said:

tar: Error exit delayed from previous errors.
Installing http://media.steampowered.com/client/runtime/x-tools-amd64-amd64_latest.tar.xz

after about 7% it started giving similar errors...

23.2%amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/bin/getconf: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot/usr/bin/getconf'
######################### 35.4%amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld.bfd: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/ld.bfd'
########################### 38.1%amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/c++: Can't create 'amd64/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/c++'
####################################################################### 98.7%amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld.gold: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld.gold'
amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-objcopy: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-objcopy'
####################################################################### 98.7%amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-g++: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-g++'
####################################################################### 100.0%amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-nm: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-nm'
amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-objdump: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-objdump'
amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-strip: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-strip'
amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-as: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-as'
amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ranlib: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ranlib'
amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ar: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ar'
amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld.bfd: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld.bfd'
amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld'
######################################################################## 100.0%
amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-gcc-4.6.3: Can't create 'amd64/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-gcc-4.6.3'
tar: Error exit delayed from previous errors.

======================================

Then setup.sh continued...

Update runtime? [Y/n]: Y
Installing http://media.steampowered.com/client/runtime/steam-runtime-dev-debug_latest.tar.xz...

and it starts to give errors like:

amd64/usr/lib/x86_64-linux-gnu/libXi.a: Write to restore size failed
#################### 28.2%amd64/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3200.3: Write to restore size failed
#################### 28.4%amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.a: Write to restore size failed


df on my root disk and on the steam install disk show many Gigs free on each.




The first few levels of the resultant tree might indicate to someone what is going wrong, note the "unknown" word in the folder names , and no adm64/usr folder was created. Ideas?
Should I just give up and try it on WIndows?
Origineel geplaatst door gwhiz:
Should I just give up and try it on WIndows?
Yes.
Thanks Lincoln, for the crisp answer ;^)

I stumbled on this page:
https://partner.steamgames.com/documentation/example

Where it talks about compiling the steamworksexample. It refers only to Windows and Visual Studio, and doesn't talk about running setup.sh or any of that. Is it possible to compile steamworksexample on any form of Unix? It sort of looks like it is supposed to.

I would post something this technical on valve's github page, I think you'd find better help there:

https://github.com/ValveSoftware
Guys guys guys! Really? VS from 2005 is required???? Can't you update things since 9 years ago????

Building & running the example

Requirements:

Visual Studio 2005 (other versions of VS may work but will require some project file conversion)
D3D SDK (D3D9 or newer) (available from Microsoft)
Steamworks SDK (download now)

Laatst bewerkt door gwhiz; 24 mrt 2014 om 22:23
Just so people know, I found VS 2005 c++ on the internet here:

http://apdubey.blogspot.com/2009/04/microsoft-visual-studio-2005-express.html

certainly not from Microsoft. The link provided in the documentation is for 2013 or so.
OMG while installing this version of VS c++, it says SQL server from ancient days may have trouble and is required. What??!!??

Laatst bewerkt door gwhiz; 24 mrt 2014 om 22:24
OK this is no longer compiling on MAC. I've switched to windowsalong with VS 2005 ugh so will open a new thread about building the example on windows 7.
< >
1-15 van 17 reacties weergegeven
Per pagina: 1530 50

Alle discussies > Steam-forum > Steam for Mac > Details van topic
Geplaatst op: 24 mrt 2014 om 10:03
Aantal berichten: 17