Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: I got error when build a new project with xcode template  (Read 9697 times)

0 Members and 1 Guest are viewing this topic.

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
I got error when build a new project with xcode template
« on: August 17, 2011, 11:37:43 pm »
My OSX is Lion and XCode 4.

Error:

Quote

PhaseScriptExecution "Run Script" /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/Script-3A91393813FC4C68004C8119.sh
    cd /Users/paulo/Pessoal/workspaces/xcode/teste-sfml
    setenv ACTION build
    setenv ALTERNATE_GROUP staff
    setenv ALTERNATE_MODE u+w,go-w,a+rX
    setenv ALTERNATE_OWNER paulo
    setenv ALWAYS_SEARCH_USER_PATHS NO
    setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
    setenv APPLE_INTERNAL_DIR /AppleInternal
    setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
    setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
    setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
    setenv APPLY_RULES_IN_COPY_FILES NO
    setenv ARCHS x86_64
    setenv ARCHS_STANDARD_32_64_BIT "x86_64 i386"
    setenv ARCHS_STANDARD_32_BIT i386
    setenv ARCHS_STANDARD_64_BIT x86_64
    setenv AUDIO_DEBUG -lsfml-audio-d
    setenv AUDIO_RELEASE -lsfml-audio
    setenv AVAILABLE_PLATFORMS "iphonesimulator macosx iphoneos"
    setenv BUILD_COMPONENTS "headers build"
    setenv BUILD_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products
    setenv BUILD_ROOT /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products
    setenv BUILD_STYLE
    setenv BUILD_VARIANTS normal
    setenv BUILT_PRODUCTS_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug
    setenv CACHE_ROOT /var/folders/tr/1yl27k7n1lv0q63k_885_mgr0000gn/C/com.apple.Xcode.501
    setenv CCHROOT /var/folders/tr/1yl27k7n1lv0q63k_885_mgr0000gn/C/com.apple.Xcode.501
    setenv CHMOD /bin/chmod
    setenv CHOWN /usr/sbin/chown
    setenv CLASS_FILE_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/JavaClasses
    setenv CLEAN_PRECOMPS YES
    setenv CLONE_HEADERS NO
    setenv CODESIGNING_FOLDER_PATH /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug/teste-sfml.app
    setenv CODE_SIGNING_ALLOWED YES
    setenv COMBINE_HIDPI_IMAGES NO
    setenv COMMAND_MODE legacy
    setenv COMPOSITE_SDK_DIRS /var/folders/tr/1yl27k7n1lv0q63k_885_mgr0000gn/C/com.apple.Xcode.501/CompositeSDKs
    setenv CONFIGURATION Debug
    setenv CONFIGURATION_BUILD_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug
    setenv CONFIGURATION_TEMP_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug
    setenv CONTENTS_FOLDER_PATH teste-sfml.app/Contents
    setenv COPYING_PRESERVES_HFS_DATA NO
    setenv COPY_PHASE_STRIP NO
    setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
    setenv CP /bin/cp
    setenv CURRENT_ARCH x86_64
    setenv CURRENT_VARIANT normal
    setenv DEAD_CODE_STRIPPING NO
    setenv DEBUGGING_SYMBOLS YES
    setenv DEBUG_INFORMATION_FORMAT dwarf
    setenv DEPLOYMENT_LOCATION NO
    setenv DEPLOYMENT_POSTPROCESSING NO
    setenv DERIVED_FILES_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/DerivedSources
    setenv DERIVED_FILE_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/DerivedSources
    setenv DERIVED_SOURCES_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/DerivedSources
    setenv DEVELOPER_APPLICATIONS_DIR /Developer/Applications
    setenv DEVELOPER_BIN_DIR /Developer/usr/bin
    setenv DEVELOPER_DIR /Developer
    setenv DEVELOPER_FRAMEWORKS_DIR /Developer/Library/Frameworks
    setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Developer/Library/Frameworks\""
    setenv DEVELOPER_LIBRARY_DIR /Developer/Library
    setenv DEVELOPER_SDK_DIR /Developer/SDKs
    setenv DEVELOPER_TOOLS_DIR /Developer/Tools
    setenv DEVELOPER_USR_DIR /Developer/usr
    setenv DEVELOPMENT_LANGUAGE English
    setenv DOCUMENTATION_FOLDER_PATH teste-sfml.app/Contents/Resources/English.lproj/Documentation
    setenv DO_HEADER_SCANNING_IN_JAM NO
    setenv DSTROOT /tmp/teste-sfml.dst
    setenv DWARF_DSYM_FILE_NAME teste-sfml.app.dSYM
    setenv DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT NO
    setenv DWARF_DSYM_FOLDER_PATH /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug
    setenv EMBEDDED_PROFILE_NAME embedded.provisionprofile
    setenv ENABLE_HEADER_DEPENDENCIES YES
    setenv ENABLE_OPENMP_SUPPORT NO
    setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".svn CVS"
    setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch (*) CVS .svn .git *.xcodeproj *.xcode *.pbproj *.pbxproj"
    setenv EXECUTABLES_FOLDER_PATH teste-sfml.app/Contents/Executables
    setenv EXECUTABLE_FOLDER_PATH teste-sfml.app/Contents/MacOS
    setenv EXECUTABLE_NAME teste-sfml
    setenv EXECUTABLE_PATH teste-sfml.app/Contents/MacOS/teste-sfml
    setenv FILE_LIST /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/Objects/LinkFileList
    setenv FIXED_FILES_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/FixedFiles
    setenv FRAMEWORKS_FOLDER_PATH teste-sfml.app/Contents/Frameworks
    setenv FRAMEWORK_FLAG_PREFIX -framework
    setenv FRAMEWORK_SEARCH_PATHS "\"/Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug\" "
    setenv FRAMEWORK_VERSION A
    setenv FULL_PRODUCT_NAME teste-sfml.app
    setenv GCC3_VERSION 3.3
    setenv GCC_C_LANGUAGE_STANDARD gnu99
    setenv GCC_DYNAMIC_NO_PIC NO
    setenv GCC_ENABLE_OBJC_EXCEPTIONS YES
    setenv GCC_INLINES_ARE_PRIVATE_EXTERN YES
    setenv GCC_OPTIMIZATION_LEVEL 0
    setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
    setenv GCC_PRECOMPILE_PREFIX_HEADER NO
    setenv GCC_PREPROCESSOR_DEFINITIONS "DEBUG=1 "
    setenv GCC_SYMBOLS_PRIVATE_EXTERN NO
    setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
    setenv GCC_VERSION com.apple.compilers.llvm.clang.1_0
    setenv GCC_VERSION_IDENTIFIER com_apple_compilers_llvm_clang_1_0
    setenv GCC_WARN_64_TO_32_BIT_CONVERSION YES
    setenv GCC_WARN_ABOUT_MISSING_PROTOTYPES YES
    setenv GCC_WARN_ABOUT_RETURN_TYPE YES
    setenv GCC_WARN_UNUSED_VARIABLE YES
    setenv GENERATE_MASTER_OBJECT_FILE NO
    setenv GENERATE_PKGINFO_FILE YES
    setenv GENERATE_PROFILING_CODE NO
    setenv GID 20
    setenv GRAPHICS_DEBUG -lsfml-graphics-d
    setenv GRAPHICS_RELEASE -lsfml-graphics
    setenv GROUP staff
    setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
    setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
    setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
    setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
    setenv HEADER_SEARCH_PATHS "\"/Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug/include\"  /usr/local/include/ /Users/paulo/Pessoal/downloads/cpp/sfml/include/"
    setenv ICONV /usr/bin/iconv
    setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
    setenv INFOPLIST_FILE teste-sfml/teste-sfml-Info.plist
    setenv INFOPLIST_OUTPUT_FORMAT same-as-input
    setenv INFOPLIST_PATH teste-sfml.app/Contents/Info.plist
    setenv INFOPLIST_PREPROCESS NO
    setenv INFOSTRINGS_PATH teste-sfml.app/Contents/Resources/English.lproj/InfoPlist.strings
    setenv INSTALL_DIR /tmp/teste-sfml.dst/Applications
    setenv INSTALL_GROUP staff
    setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
    setenv INSTALL_OWNER paulo
    setenv INSTALL_PATH /Applications
    setenv INSTALL_ROOT /tmp/teste-sfml.dst
    setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
    setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    setenv JAVA_ARCHIVE_CLASSES YES
    setenv JAVA_ARCHIVE_TYPE JAR
    setenv JAVA_COMPILER /usr/bin/javac
    setenv JAVA_FOLDER_PATH teste-sfml.app/Contents/Resources/Java
    setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
    setenv JAVA_JAR_FLAGS cv
    setenv JAVA_SOURCE_SUBDIR .
    setenv JAVA_USE_DEPENDENCIES YES
    setenv JAVA_ZIP_FLAGS -urg
    setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
    setenv KEEP_PRIVATE_EXTERNS NO
    setenv LD_GENERATE_MAP_FILE NO
    setenv LD_MAP_FILE_PATH /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/teste-sfml-LinkMap-normal-x86_64.txt
    setenv LD_NO_PIE NO
    setenv LD_OPENMP_FLAGS -fopenmp
    setenv LEGACY_DEVELOPER_DIR /Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    setenv LEX /Developer/usr/bin/lex
    setenv LIBRARY_FLAG_NOSPACE YES
    setenv LIBRARY_FLAG_PREFIX -l
    setenv LIBRARY_SEARCH_PATHS "\"/Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug\" "
    setenv LINKER_DISPLAYS_MANGLED_NAMES NO
    setenv LINK_FILE_LIST_normal_x86_64 /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/Objects-normal/x86_64/teste-sfml.LinkFileList
    setenv LINK_WITH_STANDARD_LIBRARIES YES
    setenv LOCALIZED_RESOURCES_FOLDER_PATH teste-sfml.app/Contents/Resources/English.lproj
    setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
    setenv LOCAL_APPS_DIR /Applications
    setenv LOCAL_DEVELOPER_DIR /Library/Developer
    setenv LOCAL_LIBRARY_DIR /Library
    setenv MACH_O_TYPE mh_execute
    setenv MACOSX_DEPLOYMENT_TARGET 10.7
    setenv MAC_OS_X_PRODUCT_BUILD_VERSION 11A511
    setenv MAC_OS_X_VERSION_ACTUAL 1070
    setenv MAC_OS_X_VERSION_MAJOR 1070
    setenv MAC_OS_X_VERSION_MINOR 0700
    setenv NATIVE_ARCH i386
    setenv NATIVE_ARCH_32_BIT i386
    setenv NATIVE_ARCH_64_BIT x86_64
    setenv NATIVE_ARCH_ACTUAL x86_64
    setenv NETWORK_DEBUG -lsfml-network-d
    setenv NETWORK_RELEASE -lsfml-network
    setenv NO_COMMON YES
    setenv OBJECT_FILE_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/Objects
    setenv OBJECT_FILE_DIR_normal /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/Objects-normal
    setenv OBJROOT /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates
    setenv ONLY_ACTIVE_ARCH YES
    setenv OPTIMIZATION_LEVEL 0
    setenv OS MACOS
    setenv OSAC /usr/bin/osacompile
    setenv OTHER_LDFLAGS " -lsfml-system-d -lsfml-window-d -lsfml-graphics-d -lsfml-audio-d -lsfml-network-d"
    setenv PACKAGE_TYPE com.apple.package-type.wrapper.application
    setenv PASCAL_STRINGS YES
    setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Developer/Headers /Developer/SDKs /Developer/Platforms"
    setenv PBDEVELOPMENTPLIST_PATH teste-sfml.app/Contents/pbdevelopment.plist
    setenv PFE_FILE_C_DIALECTS "c++ objective-c++"
    setenv PKGINFO_FILE_PATH /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/PkgInfo
    setenv PKGINFO_PATH teste-sfml.app/Contents/PkgInfo
    setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Developer/Applications
    setenv PLATFORM_DEVELOPER_BIN_DIR /Developer/usr/bin
    setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Developer/Library
    setenv PLATFORM_DEVELOPER_SDK_DIR /Developer/SDKs
    setenv PLATFORM_DEVELOPER_TOOLS_DIR /Developer/Tools
    setenv PLATFORM_DEVELOPER_USR_DIR /Developer/usr
    setenv PLATFORM_DIR /Developer/Platforms/MacOSX.platform
    setenv PLATFORM_NAME macosx
    setenv PLATFORM_PREFERRED_ARCH x86_64
    setenv PLATFORM_PRODUCT_BUILD_VERSION 4B110
    setenv PLIST_FILE_OUTPUT_FORMAT same-as-input
    setenv PLUGINS_FOLDER_PATH teste-sfml.app/Contents/PlugIns
    setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
    setenv PRECOMP_DESTINATION_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/PrefixHeaders
    setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
    setenv PRIVATE_HEADERS_FOLDER_PATH teste-sfml.app/Contents/PrivateHeaders
    setenv PRODUCT_NAME teste-sfml
    setenv PRODUCT_SETTINGS_PATH /Users/paulo/Pessoal/workspaces/xcode/teste-sfml/teste-sfml/teste-sfml-Info.plist
    setenv PRODUCT_TYPE com.apple.product-type.application
    setenv PROFILING_CODE NO
    setenv PROJECT teste-sfml
    setenv PROJECT_DERIVED_FILE_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/DerivedSources
    setenv PROJECT_DIR /Users/paulo/Pessoal/workspaces/xcode/teste-sfml
    setenv PROJECT_FILE_PATH /Users/paulo/Pessoal/workspaces/xcode/teste-sfml/teste-sfml.xcodeproj
    setenv PROJECT_NAME teste-sfml
    setenv PROJECT_TEMP_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build
    setenv PUBLIC_HEADERS_FOLDER_PATH teste-sfml.app/Contents/Headers
    setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
    setenv REMOVE_CVS_FROM_RESOURCES YES
    setenv REMOVE_GIT_FROM_RESOURCES YES
    setenv REMOVE_SVN_FROM_RESOURCES YES
    setenv REZ_COLLECTOR_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/ResourceManagerResources
    setenv REZ_OBJECTS_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/ResourceManagerResources/Objects
    setenv REZ_SEARCH_PATHS "\"/Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug\" "
    setenv RUN_CLANG_STATIC_ANALYZER NO
    setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO
    setenv SCRIPTS_FOLDER_PATH teste-sfml.app/Contents/Resources/Scripts
    setenv SCRIPT_INPUT_FILE_COUNT 0
    setenv SCRIPT_OUTPUT_FILE_COUNT 0
    setenv SDKROOT /Developer/SDKs/MacOSX10.7.sdk
    setenv SDK_DIR /Developer/SDKs/MacOSX10.7.sdk
    setenv SDK_NAME macosx10.7
    setenv SDK_PRODUCT_BUILD_VERSION 11A511a
    setenv SED /usr/bin/sed
    setenv SEPARATE_STRIP NO
    setenv SEPARATE_SYMBOL_EDIT NO
    setenv SET_DIR_MODE_OWNER_GROUP YES
    setenv SET_FILE_MODE_OWNER_GROUP NO
    setenv SHARED_DERIVED_FILE_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug/DerivedSources
    setenv SHARED_FRAMEWORKS_FOLDER_PATH teste-sfml.app/Contents/SharedFrameworks
    setenv SHARED_PRECOMPS_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/PrecompiledHeaders
    setenv SHARED_SUPPORT_FOLDER_PATH teste-sfml.app/Contents/SharedSupport
    setenv SKIP_INSTALL NO
    setenv SOURCE_ROOT /Users/paulo/Pessoal/workspaces/xcode/teste-sfml
    setenv SRCROOT /Users/paulo/Pessoal/workspaces/xcode/teste-sfml
    setenv STRINGS_FILE_OUTPUT_ENCODING UTF-16
    setenv STRIP_INSTALLED_PRODUCT YES
    setenv STRIP_STYLE all
    setenv SUPPORTED_PLATFORMS macosx
    setenv SYMROOT /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products
    setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
    setenv SYSTEM_APPS_DIR /Applications
    setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
    setenv SYSTEM_DEBUG -lsfml-system-d
    setenv SYSTEM_DEMOS_DIR /Applications/Extras
    setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications
    setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin
    setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/Utilities/Built Examples"
    setenv SYSTEM_DEVELOPER_DIR /Developer
    setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library"
    setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/Applications/Graphics Tools"
    setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/Java Tools"
    setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/Applications/Performance Tools"
    setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes"
    setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
    setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference Library/documentation/DeveloperTools"
    setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr
    setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/Utilities
    setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
    setenv SYSTEM_LIBRARY_DIR /System/Library
    setenv SYSTEM_RELEASE -lsfml-system
    setenv TARGETNAME teste-sfml
    setenv TARGET_BUILD_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Products/Debug
    setenv TARGET_NAME teste-sfml
    setenv TARGET_TEMP_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build
    setenv TEMP_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build
    setenv TEMP_FILES_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build
    setenv TEMP_FILE_DIR /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build
    setenv TEMP_ROOT /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates
    setenv TEST_AFTER_BUILD NO
    setenv UID 501
    setenv UNLOCALIZED_RESOURCES_FOLDER_PATH teste-sfml.app/Contents/Resources
    setenv UNSTRIPPED_PRODUCT NO
    setenv USER paulo
    setenv USER_APPS_DIR /Users/paulo/Applications
    setenv USER_LIBRARY_DIR /Users/paulo/Library
    setenv USE_DYNAMIC_NO_PIC YES
    setenv USE_HEADERMAP YES
    setenv USE_HEADER_SYMLINKS NO
    setenv VALIDATE_PRODUCT NO
    setenv VALID_ARCHS "i386 x86_64"
    setenv VERBOSE_PBXCP NO
    setenv VERSIONPLIST_PATH teste-sfml.app/Contents/version.plist
    setenv VERSION_INFO_BUILDER paulo
    setenv VERSION_INFO_FILE teste-sfml_vers.c
    setenv VERSION_INFO_STRING "\"@(#)PROGRAM:teste-sfml  PROJECT:teste-sfml-\""
    setenv WINDOW_DEBUG -lsfml-window-d
    setenv WINDOW_RELEASE -lsfml-window
    setenv WRAPPER_EXTENSION app
    setenv WRAPPER_NAME teste-sfml.app
    setenv WRAPPER_SUFFIX .app
    setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
    setenv XCODE_PRODUCT_BUILD_VERSION 4B110
    setenv XCODE_VERSION_ACTUAL 0410
    setenv XCODE_VERSION_MAJOR 0400
    setenv XCODE_VERSION_MINOR 0410
    setenv YACC /Developer/usr/bin/yacc
    /bin/sh -c /Users/paulo/Library/Developer/Xcode/DerivedData/teste-sfml-cstsjhevonccsoeybqtxwjzvindx/Build/Intermediates/teste-sfml.build/Debug/teste-sfml.build/Script-3A91393813FC4C68004C8119.sh

ditto: can't get real path for source
ditto: can't get real path for source
ditto: can't get real path for source
ditto: can't get real path for source
ditto: can't get real path for source
Command /bin/sh failed with exit code 1


prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
I got error when build a new project with xcode template
« Reply #1 on: August 18, 2011, 02:06:32 am »
I solve the problem.

I have generated the xcode project from CMAKE and i build it, but the generated libs (*.dylib) doesnt have the structure:

Quote
/usr/local/lib/libsfml-$1-d.2.dylib


But have:

Quote
/usr/local/lib/libsfml-$1-d.dylib


Quote
The .2 was forgot.


I rename all to correct form and everything works fine.

And how i can generate the release version?

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
I got error when build a new project with xcode template
« Reply #2 on: August 18, 2011, 02:14:57 am »
Another issue:

In this case i have to rename the library links to:

Quote
-lsfml-audio-d.2
-lsfml-window-d.2
-lsfml-system-d.2
...


In Build Settings from my project.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
I got error when build a new project with xcode template
« Reply #3 on: August 18, 2011, 02:58:38 pm »
Does the templates works if you build and install SFML with makefile instead of Xcode project ?
SFML / OS X developer

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
I got error when build a new project with xcode template
« Reply #4 on: August 18, 2011, 03:33:08 pm »
I dont test, but i rename all to original name without ".2" and change only in the "sh" command executed when build, in xcode project build settings.

This is the only place that make reference to this files witj ".2", you only need change there.

Thanks

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
I got error when build a new project with xcode template
« Reply #5 on: August 18, 2011, 03:37:24 pm »
But this won't work for the majority : most people use makefile to build SFML (that's the recommenced way) so I have to put these .2 here otherwise it won't work.

Anyway, it's good to know that building SFML with Xcode produces these errors so thank you for this report.  :)
SFML / OS X developer

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
I got error when build a new project with xcode template
« Reply #6 on: August 18, 2011, 03:50:15 pm »
Another issue in xcode is that i cant build the project install, i get error message that the build file .sh cant change permission of folder "/usr/local/./include", but i put permission recursive in "/usr/local".

This is a problem or i can only build it from terminal?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
I got error when build a new project with xcode template
« Reply #7 on: August 18, 2011, 03:53:00 pm »
that's why I recommend using Makefile instead. Xcode cannot use 'sudo' command so we're stuck with access rights.

Quote
i put permission recursive in "/usr/local".
It's usually a very bad idea to change permission on such directories for security reasons.
SFML / OS X developer

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
I got error when build a new project with xcode template
« Reply #8 on: August 18, 2011, 04:00:57 pm »
I kniw, but only for test purpose.

So, what the correct way and command to build all?

Only execute:
make
make install

?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
I got error when build a new project with xcode template
« Reply #9 on: August 18, 2011, 04:03:52 pm »
yes. (You might need to do 'sudo make install')
SFML / OS X developer

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
I got error when build a new project with xcode template
« Reply #10 on: August 18, 2011, 04:09:54 pm »
Ok, i will write an article about it. Thanks.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
I got error when build a new project with xcode template
« Reply #11 on: August 18, 2011, 04:12:27 pm »
Can I ask you where ?
SFML / OS X developer

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
I got error when build a new project with xcode template
« Reply #12 on: August 18, 2011, 04:24:35 pm »
Also, the templates will be updated soon including this script. The changes are not directly related to this issue but will probably solve it for most of the users.
SFML / OS X developer

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
I got error when build a new project with xcode template
« Reply #13 on: August 18, 2011, 04:27:34 pm »
Hi,

on ny blog (prsolucoes.com), my game portal (devgames.com.br) or an article on my site (prsolucoes.com).

But why?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
I got error when build a new project with xcode template
« Reply #14 on: August 18, 2011, 04:32:01 pm »
I'm currently working on building SFML frameworks. It shouldn't be long now – only a few days left before commit.
SFML / OS X developer

 

anything