15

GraphEngine的开发环境准备

 4 years ago
source link: https://blog.csdn.net/shyleoking/article/details/105152273
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

我知道各位已经着急的要先下一个Graph Engine来体验一下,虽然说应该是多了解一个GraphEngine,然后写代码会比较好,不过要是没有环境,光看概念也是非常无趣,所以我们还是先完成下环境的准备。

GraphEngine支持在Windows和Linux上,但需要自己进行本地的编译。

我们先说下最熟悉的Windows

请先前往 GraphEngined的guthub

运行你的Visual Studio Installer,安装VS2017或者2019,确保以下组件也被安装

  • .NET desktop development
    • .NET Framework 4 – 4.6 development tools
  • Desktop development with C++
    • Windows 10 SDK
    • Windows 8.1 SDK and UCRT SDK
  • Visual Studio extension development
  • .NET Core SDK 2.0 or above
  • cmake

然后把代码到本地,你需要在本地进行编译

然后运行:VS 2017的开发人员命令提示符

我们可以用PowerShell命令运行 tools/build.ps1,然后你就进行一段等待时间,最后你会得到本地编译成功。

吧你的VS2017或VS2019打开对

Trinity.Core

Trinity.VSExtension.VS2017

编译,编译后,我我们会得到GraphEngine开发环境的两个冠军内容

  • 你会在GraphEngine\build目录得到GraphEngineVSExtension.vsix插件,安装这个插件,你才能进行开发
  • 得到本地的NuGet包,GraphEngine OSS Local

v6J3muV.png!webfIrMB3e.png!web

到此为止,你就可以进行GraphEngine的开发工作了。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK