On 27 February 2013 17:46, [email protected] <[email protected]> wrote: > Now changed the variables in the generator.image for pointing to the > right iPhoneOS SDK. > > Build process now complains... 0%] Building C object > IOSPlugin/CMakeFiles/IOSPlugin.dir/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c.o > <built-in>:0: warning: Mac OS X version 10.5 or later is needed for > use of the new objc abi > <built-in>:0: error: Unknown value ‘6.1’ of -mmacosx-version-min > > Arhg > :)
Thanks, Phil for looking at it. Things rotting quite fast on Apple platforms.. so any external help is invaluable. > Phil > > 2013/2/27 Igor Stasenko <[email protected]>: >> could be. >> Esteban didn't touched ios build for a while.. >> and there was some changes in cmake stuff meanwhile. >> >> On 27 February 2013 17:02, [email protected] <[email protected]> wrote: >>> Guess the CMake that is generated is plain wrong. >>> >>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX6.1.sdk >>> ... >>> >>> WRONG I guess... >>> >>> set(CMAKE_C_COMPILER >>> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc) >>> set(CMAKE_CXX_COMPILER >>> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++) >>> set(CMAKE_OSX_ARCHITECTURES armv7) >>> set(CMAKE_OSX_SYSROOT /) >>> # This is automatically generated file using StackIPhoneConfig on 27 >>> February 2013 4:17:00.984 pm >>> cmake_minimum_required(VERSION 2.6.2) >>> include(CMakeDetermineSystem) >>> project("iStackVM") >>> set(CMAKE_OSX_DEPLOYMENT_TARGET 10.5) >>> set(CMAKE_OSX_SYSROOT >>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX6.1.sdk) >>> include(directories.cmake) >>> set(externalModulesDir "${outputDir}/iStackVM.app/Contents/MacOS/Plugins") >>> message("${CMAKE_MODULE_PATH}") >>> set(CMAKE_CONFIGURATION_TYPES Release) >>> include_directories(${buildDir}/) >>> include_directories(${platformsDir}/iOS/vm/iPhone) >>> include_directories(${crossDir}/vm ${srcVMDir} ${targetPlatform}/vm >>> ${buildDir}) >>> include_directories(${srcDir}/vm) >>> include_directories(${platformsDir}/iOS/vm/iPhone) >>> include_directories(${platformsDir}/iOS/vm/iPhone/Classes) >>> include_directories(${platformsDir}/iOS/vm/OSX) >>> include_directories(${platformsDir}/unix/vm) >>> include_directories(${platformsDir}/iOS/vm/Common/Classes) >>> include_directories(${platformsDir}/iOS/plugins/SoundPlugin) >>> include_directories(${platformsDir}/iOS/vm/OSX/plugins/SoundP >>> >> >> >> >> -- >> Best regards, >> Igor Stasenko. >> > -- Best regards, Igor Stasenko.
