Previous Thread  Next Thread

chat icon Question about IMB_cocoa.m

labidus

Posted: Wed Sep 12, 2012 3:02 am
Joined: 12 Sep 2012
Posts: 2
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 Smile


Thank you for any help!
Reply with quote


labidus

Posted: Wed Sep 12, 2012 6:14 pm
Joined: 12 Sep 2012
Posts: 2
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.
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group