Question about IMB_cocoa.m

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

labidus
Posts: 2
Joined: Wed Sep 12, 2012 3:53 am

Question about IMB_cocoa.m

Postby labidus » Wed Sep 12, 2012 4:02 am

Hi, I wanted to try to make blender in a lib and be able to use this to open all blend file in a 3d game engine.

Right now I am on MAC OSX, I created a new project and add all files needed to create the link and make it work with my engine.

Right now, they are a file IMB_cocoa.m, this file just not compile at all, so I started to modify, most of the issues are resolved, one of the thing, is the file must be a .mm not .m, since it use C++ from one of the header. Also IMB_cocoa.h is specified in the file while it is not present in the blender source. I removed it and replaced with 2 other headers.

But the real issue, I cannot find anywhere IS_tiff, IS_png, IS_bmp? where they are located, not in blender or any of the external lib or darwin lib.

So my final question is, IMB_cocoa is used at all? or its something from an old version that is no longer used, if its the case, that will explain why this file cannot compile at all :)


Thank you for any help!

labidus
Posts: 2
Joined: Wed Sep 12, 2012 3:53 am

Postby labidus » Wed Sep 12, 2012 7:14 pm

I think this file is no longer used since its not included in the makefile

I beleive someone should remove the file, if its really no more usefull.


Return to “Coding Blender”

Who is online

Users browsing this forum: Google [Bot] and 3 guests