Hi folks, all the best wishes for 2013!

I have tried to compile my plugins for Nuke 7, but  Foundry's adherence to 
outdated and obsolete libs and compilers is getting at me again. With Nuke 6 I 
managed to escape the disaster by stashing my 10.5 /usr and the SDK folders, so 
my build pipeline worked flawlessly for Nuke 6. However, I've tried to install 
the separate 10.6 SDK and build using the gcc 4.0 I got over from Leopard, but 
to no avail. Seems that the 10.6 SDK forward-declares some system headers with 
#includenext and cannot get at them.

g++-4.0 -g -c -Werror -DUSE_GLEW 
-I/Applications/Nuke7.0v2/Nuke7.0v2.app/Contents/MacOS/include -isysroot 
/Developer/SDKs/MacOSX10.6.sdk -arch x86_64 -o SyGeo.os SyGeo.cpp
In file included from /Developer/SDKs/MacOSX10.6.sdk/usr/include/wchar.h:111,
                 from 
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.0.0/cwchar:54,
                 from 
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.0.0/bits/postypes.h:46,
                 from 
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.0.0/iosfwd:49,
                 from 
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.0.0/bits/stl_algobase.h:69,
                 from 
/Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.0.0/vector:66,
                 from 
/Applications/Nuke7.0v2/Nuke7.0v2.app/Contents/MacOS/include/DDImage/Op.h:7,
                 from 
/Applications/Nuke7.0v2/Nuke7.0v2.app/Contents/MacOS/include/DDImage/GeoOp.h:7,
                 from 
/Applications/Nuke7.0v2/Nuke7.0v2.app/Contents/MacOS/include/DDImage/ModifyGeo.h:7,
                 from SyGeo.cpp:8:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No 
such file or directory
In file included from 
/Applications/Nuke7.0v2/Nuke7.0v2.app/Contents/MacOS/include/DDImage/DDMath.h:30,
                 from 
/Applications/Nuke7.0v2/Nuke7.0v2.app/Contents/MacOS/include/DDImage/Vector3.h:8,
                 from 
/Applications/Nuke7.0v2/Nuke7.0v2.app/Contents/MacOS/include/DDImage/Op.h:17,
                 from 
/Applications/Nuke7.0v2/Nuke7.0v2.app/Contents/MacOS/include/DDImage/GeoOp.h:7,
                 from 
/Applications/Nuke7.0v2/Nuke7.0v2.app/Contents/MacOS/include/DDImage/ModifyGeo.h:7,
                 from SyGeo.cpp:8:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/float.h:8:24: error: float.h: No 
such file or directory
make: *** [SyGeo.os] Error 1

My GCC is in that case the one from 10.5 and it runs from /Developer/usr/bin...

What should I do? Having a separate Mac with 1.6 just to be able to build 
plugins is a ridiculous idiotic setup. Also I don't think any Macs sold today 
can run 10.6, and probably not even 10.7. <insert turbulent rant about Foundry 
always NOT supporting recent OSX here/>

-- 
Julik Tarkhanov | HecticElectric | Keizersgracht 736 1017 EX
Amsterdam | The Netherlands | tel. +31 20 330 8250
cel. +31 61 145 06 36 | http://hecticelectric.nl

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to