【问题标题】:How to install cinder C++ on ubuntu如何在 ubuntu 上安装 cinder C++
【发布时间】:2014-03-24 20:04:52
【问题描述】:

我使用这个命令在 ubuntu 12.04 上安装 cinder:

git clone -b dev --recursive git://github.com/cinder/Cinder.git cinder_master 

现在我创建了一个包含一堆文件夹的文件夹 cinder_master。我知道这听起来很愚蠢,但是如何开始 cinder 或者我需要做其他事情吗?

谢谢!

【问题讨论】:

    标签: c++ linux installation cinder


    【解决方案1】:

    假设你按照http://libcinder.org/docs/welcome/GitSetup.html 的指示...根据网站

    “Cinder 是免费的开源软件,可用于 Mac OS X、iOS 和 Windows。”

    所以没有开箱即用的 ubuntu 支持。

    当我查看源代码时,它与 Windows 和 Mac 内部有一些非常深的依赖关系,例如:

    #if defined( CINDER_MAC )
        #include "cinder/cocoa/CinderCocoa.h"
        #import <Cocoa/Cocoa.h>
        #import <AppKit/NSPasteboard.h>
        #import <AppKit/NSImage.h>
    #elif defined( CINDER_COCOA_TOUCH )
        #include "cinder/cocoa/CinderCocoa.h"
        #include "cinder/cocoa/CinderCocoaTouch.h"
        #import <UIKit/UIPasteboard.h>
    #elif defined( CINDER_MSW )
        #include <windows.h>
        #include "cinder/msw/CinderMsw.h"
        #include "cinder/msw/CinderMswGdiPlus.h"
        #include "cinder/Utilities.h"
        #include "cinder/ip/Fill.h"
        #include "cinder/ip/Blend.h"
        #include <set>
    #endif
    

    所以没有 Linux 分支。但是,您可以与 cinder 开发人员“联系”,询问他们是否计划提供 Linux 支持……也许您可以自愿参与其中?

    【讨论】:

    • 这意味着我只能在 Windows 或 Mac 机器上学习它?多么难过... :( 谢谢你这么快的回答。现在我可以安然入睡,并计划从我的 Windows PC 上学习它 :(。不错的提议,但我认为我不会有任何帮助 :))
    • 如果 Cinder 无法安装在 Linux 上,为什么会存在 - github.com/cinder/Cinder/wiki/…。我在构建它时遇到了麻烦,但肯定是有可能的。
    • 最近似乎很多事情都发生了变化,所以也许 cinder 会来到 linux ...
    【解决方案2】:

    这是最近讨论的一个很好的话题:

    https://forum.libcinder.org/topic/next-steps-for-the-linux-fork

    linux-dev-glfw3 分支工作,但此时已过时,因为 cinder_master 正在使用 GLNext。

    【讨论】:

      【解决方案3】:

      正如 fritzone 所说,目前还没有在 Linux 上运行的版本,但是有一些开发(希望)正在发生。

      https://forum.libcinder.org/topic/basicapp-in-linux

      而且可能也适用于 Android。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2021-01-02
        • 1970-01-01
        • 2017-06-29
        • 2015-05-19
        • 2017-11-07
        • 2017-07-12
        • 2011-09-24
        相关资源
        最近更新 更多