在Xcode 4.2和iOS SDK 5.0中使用gcc 4.2(Use gcc 4.2 in Xcode 4.2 and iOS SDK 5.0)
我今天早些时候刚刚升级到Xcode 4.2和iOS SDK 5。 但是新的编译器似乎有些不同。
现在有两个“Compiler for C / C ++ / Objective-C”选项,“Apple LLVM编译器3.0”和“LLVM GCC 4.2”。 缺少GCC 4.2。
Apple LLVM编译器3.0,构建速度非常快(我喜欢它),给了我999+警告,我的游戏再也无法运行了。 看起来内存存在一些差异,加载游戏脚本时会崩溃。
LLVM GCC 4.2是如此神慢,我仍然无法在我的i7机器上完成一个小时的构建。
而且,还有一件事是我们的引擎使用gcc命令行来构建(而不是xcode)。
因此,它引出了一个问题, 我如何在Xcode 4.2中使用gcc 4.2 ? 这有可能吗?
I just upgraded to Xcode 4.2 and iOS SDK 5 earlier today. But everything seems different with new compilers.
There are two "Compiler for C/C++/Objective-C" options now, "Apple LLVM compiler 3.0" and "LLVM GCC 4.2". GCC 4.2 is missing.
Apple LLVM compiler 3.0, builds really fast(I like that), gives me 999+ warnings, and my game can no longer run. It looks like there's some differences on memory, and it crashes when loading our game's scripts.
LLVM GCC 4.2 is so god damn slow, I still cannot finish one build after hours on my i7 machine.
And, one more thing is our engine uses gcc command lines to build(instead of xcode).
So, it leads to one question, how can I use gcc 4.2 in Xcode 4.2? Is that even possible?
原文:https://stackoverflow.com/questions/7765157
最满意答案
是的,这是可能的。 你应该研究一下DirectLine 。
Direct Line API是一个简单的REST API,可直接连接到单个bot。 此API适用于编写自己的客户端应用程序,Web聊天控件或可与其机器人通信的移动应用程序的开发人员。
Yes, it's possible. You should look into DirectLine.
The Direct Line API is a simple REST API for connecting directly to a single bot. This API is intended for developers writing their own client applications, web chat controls, or mobile apps that will talk to their bot.
Here you will find more information about how to use it and here there is Node.js sample using DirectLine to talk with the bot.
相关问答
更多-
看看Frapi 。 这里是它的文档 。 至于推理,类似于一个正常的PHP框架。 文档 支持 社区 多个开发者贡献 不重新发明轮子 等等 Have a look at Frapi. Here is the documentation for it. As for the reasoning, similar to a normal PHP framework. Documentation Support Community Multiple devs contributing Not re-inventing ...
-
是的,这是可能的。 你应该研究一下DirectLine 。 Direct Line API是一个简单的REST API,可直接连接到单个bot。 此API适用于编写自己的客户端应用程序,Web聊天控件或可与其机器人通信的移动应用程序的开发人员。 在这里,您将找到有关如何使用它的更多信息,这里有Node.js示例使用DirectLine与机器人交谈。 Yes, it's possible. You should look into DirectLine. The Direct Line API is a si ...
-
我的错,我在Skype Bot Portal中有错误的消息回叫网址。 仅供参考,也许这有助于某人: My fault, I had the wrong Messaging Callback Url in the Skype Bot Portal. Just for reference, maybe this helps someone:
-
您可以使用下面的代码并替换您的图像路径,以提供从bot到用户的响应,包括文本和图像。 await context.PostAsync("Here we go with the welcome message\n"+"![AN IMAGE!](Your_Image_URL)"); 另一种方法是,你也可以使用卡功能: private async Task Greeting(IDialogContext context, IAwaitable
argument) ... -
“MessageReceivedAsync”不是创建websocket的正确位置。 僵尸框架中的WebSockets用于在直线连接场景中接收消息。 通过调用StreamUrl获得的StartConversationAsync用于创建Web套接字: var token = await new DirectLineClient(dlSecret).Tokens.GenerateTokenForNewConversationAsync(); // Use token to create conversation ...
-
如果它是您自己的表单,您可以使用验证码但如果您或您的任何允许的客户希望通过使用应用程序而不是使用Web视图来使用它,则可能会产生问题。 (我不确定你是否有这种情况)。 我的基本解决方案是在Web服务器级别(IIS等)上添加基本身份验证... If it's your own form, you may use a captcha but this may create problems if you or any of your allowed customers want to use it by usi ...
-
你应该看看我在这里的答案,它解决了你的一些问题。 该答案的tl; dr是在使用第三方频道时,连接器不存储任何消息,它们只是转换和路由它们。 对于Microsoft通道,消息最多可存储24小时,以便排队和分派消息。 您询问Bot Framework的标志目前不存在。 LUIS存储数据供用户用于改进其模型,这些数据无论如何都不用于改进服务。 此外,此数据在静止时加密。 You should take a look at my answer here which addresses some of your co ...
-
@JasonSowers是对的。 用于C#的Bot Framework SDK是使用Web API构建的,并且用于Nodejs的Bot Framework SDK是通过restify 。 两者都是基本的Web应用程序。 您可以在支持跨区域的任何Web服务上部署bot应用程序。 EG您可以利用Azure Web Apps满足此要求,请参阅Azure上多个区域中的运行Web应用程序 。 希望能帮助到你。 @JasonSowers is right. Bot Framework SDK for C# is bui ...
-
由外部服务触发时恢复Bot Framework对话框(Resume Bot Framework dialog when triggered by external service)[2024-01-03]
想法1: DirectLine是一个通道,而不是用于连接通道的库。 (例如:您不会使用Facebook Messenger连接到Skype) DirectLineClient对于创建通过Direct Line连接器服务连接到DirectLine通道的客户端应用程序非常有用。 想法2: 这种方法应该有效。 实际上, BotAuth库将此方法用于CallbackController中的MagicNumber登录流程: https : //github.com/MicrosoftDX/botauth/blob/9 ... -
Bot框架区域(Bot Framework region)[2021-09-01]
2017年11月,我通过其他渠道从MS获得了此答案: Bot框架在全球范围内托管。 您对漫游器框架连接器发布的帖子使用流量管理器路由到您最近的数据中心(DNS明智)。 我们还要添加更多Azure区域部署; 2个在澳大利亚,1个在巴西,分别在西欧和东亚部署。 I got this answer off MS via other channels, in Nov 2017: Bot Framework is hosted world-wide. Posts you make to the bot framewo ...