Hi Gianluca,

the message "PixelBufferCocoa :: realizeImplementation not implemented
yet" should not lead to a crash.

Without a stack-trace it's hard to tell why your app crashes.

And please keep the discussion on the osg-users-list, so other have a
chance to search the archive.

cheers,

Stephan
Am 16.11.12 12:13, schrieb Gianluca Natale:
> Hi Stephan,
> thanks for your answer.
> 
> I did what you suggested, that is to say use the libs provided by the system, 
> and set OSG_WINDOWING_SYSTEM to Cocoa.
> Anyway, while it builds OSG (on a MacOS 10.6.8), it gave me these warnings, 
> which I don't know the meaning of (sorry, I don't know objective-C at all):
> 
> Warning: class 'GraphicsWindowCocoaDelegate' does not implement the 
> 'NSWindowDelegate' protocol.
> 
> I ignored it, since it built OSG in any case.
> Then I built my application based upon OSG, and everything built without 
> errors and warning.
> But when I launched it, I see this message on screen:
> 
> PixelBufferCocoa :: realizeImplementation not implemented yet
> 
> And my application quits unexpectedly.
> I still haven't debugged yet, I wonder if that might be the cause of such 
> exit.
> I just took a look at your code in PixelBufferCocoa.mm, but as I told you I 
> don't know anything of Objective-C.
> 
> Thanks,
> Gianluca
> 
> 
> -----Messaggio originale-----
> Da: Stephan Maximilian Huber [mailto:[email protected]] 
> Inviato: giovedì 15 novembre 2012 12:39
> A: OpenSceneGraph Users
> Cc: Gianluca Natale
> Oggetto: Re: [osg-users] building OSG 3.0.1 on Mac Snow Leopard
> 
> Hi Gianluca,
> 
> it should be safe to use the libs provieded by the system. Carbon is 
> deprecated, and most new features went into the cocoa window implementation 
> of osg, so please use the cocoa window-implementation.
> 
> 
> cheers,
> 
> Stephan
> Am 14.11.12 17:19, schrieb Gianluca Natale:
>> Hi all,
>> I'm trying to build OSG 3.0.1 on Mac OSX 10.6 using the procedure 
>> well-described on OSG website.
>> But when I clicked on Configure in CMake-gui, after setting "Where is the 
>> source code" and "Where to build the binaries", I gotten many 
>> red-highlighted options.
>> I could fix most of them (actually I didn't set my build folder as 
>> suggested, i.e. the prebuilt packages for dependencies are not in 
>> OpenSceneGraph/3rdParty), but I have some doubt for some of them, I hope 
>> anyone can give me some tip. Sorry if these are all silly questions!
>>
>> CURL LIBRARY:
>> CURL_INCLUDE_DIR points to /usr/include, instead of pointing to 
>> /myBuildfolder/3rdParty/include, where I unzipped the prebuilt packages.
>> So, curl is already installed on my system, and the version I have there is 
>> 4. But in prebuilt packages there is version 4.1. Should I use the newest 
>> one?
>>
>> FREETYPE LIBRARY:
>> Same as CURL, it is already installed on my system. Should I use in any case 
>> that provided in the prebuilt packages, or can I leave that gotten from the 
>> system?
>>
>> OSG_WINDOWING_SYSTEM defaults to Carbon on my machine. Isn't it deprecated? 
>> Should I change it to Cocoa?
>>
>> ZLIB LIBRARY:
>> Same question as curl, should I use in any case the version provided in the 
>> prebuilt packages?
>>
>> Thanks,
>> Gianluca
>>
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
>> org
>>
> 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to