From: Andy C. <an...@ac...> - 2015-09-15 11:47:31
|
This might be a general Mac compilation thing, but I'm not so experienced with the Mac. Any suggestions welcome. I'm trying to compile the Togl that Kevin mentioned below, but keep getting CF_AVAILABLE related errors. This is with tcl/tk 6.1. Thanks, Andy gcc -c -arch i386 -I. -xobjective-c -g -DMAC -I../../tcl/generic -I../../tk/generic -I../../tk/macosx -I../../tk/xlib -I../ttfont2/ftgl/src -I../../lib3ds -fpermissive -arch i386 -Wno-write-strings -I../../tcl/unix -DHAVE_UNISTD_H=1 src/togl.c -o src/togl.o couldn't understand kern.osversion `14.4.0' cc1obj: warning: command line option "-fpermissive" is valid for C++/ObjC++ but not for ObjC In file included from /System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:27, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:37, from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17, from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:81, from /System/Library/Frameworks/AppKit.framework/Headers/NSAnimation.h:9, from /System/Library/Frameworks/AppKit.framework/Headers/NSView.h:13, from src/togl.c:114: /System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CF_AVAILABLE' In file included from /System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:27, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:37, from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17, from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:81, from /System/Library/Frameworks/AppKit.framework/Headers/NSAnimation.h:9, from /System/Library/Frameworks/AppKit.framework/Headers/NSView.h:13, from src/togl.c:114: /System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h:41: 67: error: invalid suffix "_5" on integer constant Date: Tue, 14 Jul 2015 07:09:00 -0400 From: Kevin Walzer <kw...@co...> Subject: Re: [MACTCL] a more recent Togl for OpenGL/Tk To: tc...@li... Message-ID: <55A...@co...> Content-Type: text/plain; charset="windows-1252" On 7/14/15 6:32 AM, Andy Colebourne wrote: > > I?ve been using Togl for a long time but with the newer OS X systems, > it seems that I can no longer use it. > > Has anyone made a new Togl that works with the recent Tcl/TK and OSX? > > Failing that ? any suggestions on how I can get a OpenGL window inside > my Tcl/Tk application would be most gratefully received. > > Andy > > www.ac3d.org <http://www.ac3d.org> > > The Togl developers keep a Cocoa fork of Togl here: http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/foreign/Togl If you use UCSF Chimera you will see it works fine. Guess they have not gotten around to releasing it formally. Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ---------------------------------------------------------------------------- -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ------------------------------ _______________________________________________ Tcl-mac mailing list tc...@li... https://lists.sourceforge.net/lists/listinfo/tcl-mac End of Tcl-mac Digest, Vol 76, Issue 1 ************************************** |