Now, the thing has the right flags but still manages to complain about: [PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/build philippeback$] sudo make [ 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: error: Unknown value â6.1â of -mmacosx-version-min /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:10:18: error: math.h: No such file or directory /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:11:19: error: stdio.h: No such file or directory /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:12:20: error: stdlib.h: No such file or directory /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:13:20: error: string.h: No such file or directory /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:14:18: error: time.h: No such file or directory In file included from /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:25: /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/iPhone/sqPlatformSpecific.h:68:20: error: unistd.h: No such file or directory In file included from /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:25: /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/iPhone/sqPlatformSpecific.h:82: error: expected declaration specifiers or â...â before âFILEâ /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/iPhone/sqPlatformSpecific.h:132:22: error: pthread.h: No such file or directory /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c: In function âmsgâ: /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:110: warning: incompatible implicit declaration of built-in function âfprintfâ /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:110: error: âstderrâ undeclared (first use in this function) /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:110: error: (Each undeclared identifier is reported only once /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:110: error: for each function it appears in.) /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c: At top level: /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c:170: error: âNULLâ undeclared here (not in a function) make[2]: *** [IOSPlugin/CMakeFiles/IOSPlugin.dir/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/src/plugins/IOSPlugin/IOSPlugin.c.o] Error 1 make[1]: *** [IOSPlugin/CMakeFiles/IOSPlugin.dir/all] Error 2 make: *** [all] Error 2 I'll work a tad more on this later today. Phil 2013/2/27 Igor Stasenko <siguctua@gmail.com>:
On 27 February 2013 17:46, phil@highoctane.be <phil@highoctane.be> 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 <siguctua@gmail.com>:
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, phil@highoctane.be <phil@highoctane.be> 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.