Sure. I just feels like I am back to 1993 when I was doing ASM, C, and
C++ all day long.
Anwyay, there has been progress: 83% builds fine.
Now, I am on the main application. So, there is something wrong with
OpenGL which gets loaded where it should not. Maybe just a framework
thing to sort out.
More tomorrow.
Looks like I am gonna get the build working again. But I wonder how
I'll get the result on my iPad... Xcode Cmake target ...
Then I'll be able to put my changes for the bluetooth keyboard....
[ 83%] Building CXX object
CMakeFiles/iStackVM.dir/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/iPhone/Classes/SqueakNoOGLIPhoneAppDelegate.m.o
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.h:25,
from
/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/plugins/SoundPlugin/sqSqueakSoundCoreAudio.h:41,
from
/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/Common/Classes/sqSqueakMainApplication.h:47,
from
/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/Common/Classes/sqSqueakAppDelegate.h:43,
from
/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/iPhone/Classes/SqueakNoOGLIPhoneAppDelegate.h:43,
from
/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/iPhone/Classes/SqueakNoOGLIPhoneAppDelegate.m:41:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioQueue.h:332:
warning: ‘weak_import’ attribute does not apply to types
In file included from
/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/iPhone/Classes/SqueakUIViewOpenGL.h:42,
from
/Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceVMiOSFromBook/blessed/platforms/iOS/vm/iPhone/Classes/SqueakNoOGLIPhoneAppDelegate.m:46:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h:45:
error: redefinition of typedef ‘GLenum’
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h:55:
error: previous declaration of ‘GLenum’ was here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h:46:
error: redefinition of typedef ‘GLboolean’
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h:56:
error: previous declaration of ‘GLboolean’ was here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h:47:
error: redefinition of typedef ‘GLbitfield’
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h:57:
error: previous declaration of ‘GLbitfield’ was here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h:48:
error: redefinition of typedef ‘GLbyte’
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h:58:
error: previous declaration of ‘GLbyte’ was here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h:49:
error: redefinition of typedef ‘GLshort’
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h:59:
error: previous declaration of ‘GLshort’ was here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h:50:
error: redefinition of typedef ‘GLint’
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h:60:
error: previous declaration of ‘GLint’ was here
2013/2/27 Igor Stasenko <[email protected]>:
> On 27 February 2013 22:58, [email protected] <[email protected]> wrote:
>> I am getting closer!
>>
>> But it is not going to be so trivial because some things are in
>> CogFamilyCocoaIOSConfig and get used for StackIOSConfig, which is not
>> very clean.
>>
>> Anyway, once things compile here, I'll ship you my full folder so that
>> it will be easier to integrate the results.
>>
>>
>> Phil, knowing a tad more about Cmake and the source generation process
>> that he would like to know in the first place...
>>
>
> Sounds like you prefer having knowledge about m4 syntax and autoconfig
> process instead :)
> Sorry about that.. but who said that compiling C code and/or porting C
> to another platform is easy task?
>
> Lately, i found that many smalltalkers taking portability for
> granted.. because it costs no effort for them to just get VM for their
> OS and run stuff there.. forgetting that to get it compiled & working
> there costs a lot of sweat & brain cells to someone .
>
> Portable C code is a myth.. but sure when you back it with enormous
> workforce of numerous C hackers, and countless hours of trial and
> fail, it becomes reality.
>
>
>
>> 2013/2/27 Igor Stasenko <[email protected]>:
>>> On 27 February 2013 18:43, [email protected] <[email protected]> wrote:
>>>> Yeah but it is not.
>>>>
>>>> StackIPhoneConfig new
>>>> "addExternalPlugins: #( FT2Plugin );"
>>>> "generateDebug;"
>>>> generateSources;
>>>> generate.
>>>>
>>>> and I had to comment out the FT2Plugin for some other reason. Maybe
>>>> I'll be able to put it back later.
>>>>
>>>> There is no PharoVMBuilder support for the iOS things at the moment.
>>>>
>>>
>>> Yes. But it would be trivial to add.
>>> But making things compile & work will be non-trivial, and require
>>> people like Esteban who knows
>>> iOS quirks and pitfalls .. because i am not the right person :)
>>>
>>>> Phil
>>>>
>>>> 2013/2/27 Igor Stasenko <[email protected]>:
>>>>> 2013/2/27 [email protected] <[email protected]>:
>>>>>> CocoaIOSConfig>>commonCompilerFlags
>>>>>> "Common compiler flags"
>>>>>> ^#('-arch i386' '-mmacosx-version-min=10.5'
>>>>>> '-DHAVE_UUID_GENERATE')
>>>>>>
>>>>>
>>>>> it should be overridden in subclass, no?
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Igor Stasenko.
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko.
>>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko.
>