MAC上的AGG

> Right. I‘m not sure if there‘s any interest in Cocoa, but if there is, we need
> a volunteer. But I‘m not sure if it‘s possible to compile the existing C++
> examples with ObjectiveC.

I‘m sure there would be interest in a Cocoa version of the AGG examples. 
  Carbon feels slightly outdated and Apple is really touting the use of 
Cocoa.  Having a demonstration of AGG in Cocoa would be valuable, even 
if Quartz, the graphics API, produces pretty results on its own.

Objective C++ as used by the gcc-version in Xcode manages to mix C++ and 
Objective C quite good, so I‘m quite sure it would be possible to 
compile AGG within a Cocoa framework.  The Objective C extension is not 
that big or complex to get to grips with - nothing compared to C++.  The 
hard part is to find your way around the API.

I‘m slowly starting to get a hang of Cocoa, so I‘d like to give 
macosx_cocoa a try...
> Actually I think the name macosx_carbon is fine. It works only for 
> building on MacOSX (PowerPC and now Intel), and uses the Carbon API on 
> both cases. You could name it macosx_gcc_carbon, but I don‘t think this 
> is necessary.

I agree. Do we really need macos_cw? It has only a readme file with
instructions and a link to download agg2.mcp.xml.zip. Now it‘s outdated, and
worst of all, it contains a building environment for CodeWarrior - an XML file
of more than 3 megs. I wouldn‘t like to include it into the package.

> What we could do in the future is an implementation of macosx_cocoa, but 
> learning ObjectiveC is not exactly my idea of a fun project !

Right. I‘m not sure if there‘s any interest in Cocoa, but if there is, we need
a volunteer. But I‘m not sure if it‘s possible to compile the existing C++
examples with ObjectiveC.
> Well, maybe there‘s a confusion with names. macos_cw refers to "CodeWarrior"
> and can be compiled on MacOS 9 too. macosx_carbon assumes not only "Carbon",
> but "GCC plus Carbon". And it can be built only on MacOS X. 

Actually I think the name macosx_carbon is fine. It works only for 
building on MacOSX (PowerPC and now Intel), and uses the Carbon API on 
both cases. You could name it macosx_gcc_carbon, but I don‘t think this 
is necessary.
What we could do in the future is an implementation of macosx_cocoa, but 
learning ObjectiveC is not exactly my idea of a fun project !
> Just a quick note to let you know that all Agg 23 examples and the 
> library compile and work correctly in a Developer Transition Kit running 
> OSX for Intel processors, using the macosx_carbon makefile. I will keep 
> an eye on future developments and the 2.4 tree.

That‘s a good news. 
Well, maybe there‘s a confusion with names. macos_cw refers to "CodeWarrior"
and can be compiled on MacOS 9 too. macosx_carbon assumes not only "Carbon",
but "GCC plus Carbon". And it can be built only on MacOS X. 

I actually don‘t like the idea of including the building environment for
CodeWarrior IDE, because it‘s more than a meg.
时间: 2024-08-11 05:32:51

MAC上的AGG的相关文章

appium+python在Mac上环境搭建

前言 mac上搭建appium+python的环境还是有点复杂的,需要准备的软件 1.nodejs 2.npm 3.cnpm 4.appium 5.pip 6.Appium-Python-Client 一.nodejs安装 1.nodejs下载地址:https://nodejs.org/ 2.下载完成后傻瓜式下一步安装 3.打开终端,查看版本号是否安装成功,输入:node -v 二.npm安装 1.打开终端,输入:sudo bash 2.继续输入:sudo curl -L https://npm

mac上卸载oracle jdk 1.8.0_31

mac上卸载oracle jdk 1.8.0_31版本,因为版本太高了.得安装旧版本才行. 卸载的顺序是:进入finder,然后点应用程序,按command+向上箭头键,分别进入根目录的系统与资源库找到java的目录把他删除即可.两个目录都要删除. 要看是否删除成功,打开终端输入:java -version,提示 No Java runtime present, requesting install. 即删除成功,也可以用此命令查看当前java sdk的版本.

尝试在Mac上编译DNX

自从XRE改名为DNX至今,从来没有在Mac OS X上成功编译过DNX.一直很纳闷,难道DNX的开发人员不用Mac?今天突然明白了,DNX的开发人员真的不用Mac.而且DNX用的2个持续集成服务AppVeyor与Travis,一个是Windows环境,一个是Linux环境,就是没有Mac OS X环境. 看来不能指望DNX的开发人员短期内解决这个问题了,只能自己动手. 编译的错误信息如下(编译命令./build.sh): Restore complete, 725ms elapsed info

手把手交大家在mac上用VMWare虚拟机装Linux-Ubuntu--及Ubuntu安装Vmware Tools[转载+一些修改](版本:17.04)

现在网上的虚拟机有很多,本人测试VMware在Mac上表现良好,推荐给大家 需要的工具 软件 vmware fusion for Mac (直接百度搜就好) 软件 Ubuntu 系统光盘 或 镜像文件(.iso) 安装Vmware 1.下载vmware fusion for Mac 网上有很多,大家自己找吧,最好找汉化版 2.安装Vmware 3.下面什么下一步啦,同意啦我就不说啦,为大家准备啦注册码 (我下载的VMware fusion 8 其他版本问度娘吧,有很多) Fusion 8序列号:

mac上安装python3 和 sqlite的问题

建议mac上安装python3不要使用源码自己编译安装,而要使用 brew install python3 来安装 另外安装完之后创建需环境的话,要指定新的python环境,如下: virtualenv  -p /usr/local/Cellar/python3/3.6.2/bin/python3  --no-site-packages obpy17 Mac OSX 正确地同时安装Python 2.7 和Python3 Mac OSX 正确地同时安装Python 2.7 和Python3(这个是

Mac上使用Visual Studio Code开发/调试.NET Core代码

Mac上使用Visual Studio Code开发/调试.NET Core代码 .Net Core 1.0终于发布了,Core的一大卖点就是跨平台.这个跨平台不只是跨平台运行,而且可以跨平台开发.今天抽空研究了下在Mac下如何使用VS Code来开发.NET Core程序,并且调试代码. 1.安装.NET Core 在mac上打开终端: ~$ brew update ~$ brew install openssl ~$ brew link --force openssl 如果不能使用brew命

mac上安装MySQL

mysql 官网下载http://dev.mysql.com/downloads/mysql/ 注意安装mysql-5.5.17-osx10.6-x86_64.dmg这样安装方便设置系统安全权限后 点击安装 !!1.mysql-5.5.17-osx10.6-x86_64.pkg2.MySQLStartupItem.pkg3.MySQL.prefPane依次安装 终端中输入命令:/usr/local/mysql/bin/mysqladmin -u root password xxx(新密码)终端中

在Mac上通过Sublime、Skim编辑LaTeX

转自:http://painterlin.com/2014/08/10/Using-LaTeX-with-Sublime-and-Skim-for-Mac.html Sublime Text是一款非常优秀的编辑器,速度快,界面简洁,插件众多.并且能跨平台使用,在Mac和Windows上都能完美使用.虽然是一款付费软件,但作者很厚道地给了无限期的试用期限.这一切正如其官网广告词说的那样:The text editor you'll fall in love with. Skim是一款免费轻量的PD

mac上配置php开发环境

玉忠之前在我的mac上配置过,当时项目不能区分大小写,所以就没成功,我现在在他得基础上继续配置,希望成功. 教程:http://my.oschina.net/joanfen/blog/171109 以这个教程为准. 1.apache sudo apachectl start sudo apachectl -v 2.php /etc/apache2/  找到httpd.conf  httpd-2.conf是default 取消#LoadModule php5_module libexec/apac