我正在根据https://github.com/apache/geode-native/blob/develop/BUILDING.md构建 geode native并在构建中出错。我想知道是否有人可以提供帮助?我必须这样做,因为我需要一个 VB6 客户端,并且预构建的 dll 没有经过强签名,将 dll 公开给 VB6 的 COM 接口在 .Net GAC 中注册后会产生以下错误:
为了构建一个强签名的 geode 本机客户端,我打开一个 admin VS dev 命令提示符并导航到一个免费目录,然后:
git clone https://github.com/apache/geode-native.git
cd geode-native
mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" -DGEODE_ROOT=D:/Geode ../src
这工作正常,所以我继续:
cmake --build . -- /m
有几个错误开始于:
D:\GeodeNativeSrc\geode-native\src\tests\cli\DUnitFramework\ClientGroup.cs(22,7): error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?) [D:\GeodeNativeSrc\geode-native\build\tests\cli\DUnitFramework\DUnitFramework.csproj]
我尝试直接安装 Nunit 并将其放在路径变量上,但没有成功。
然后是:D:\GeodeNativeSrc\geode-native\src\tests\javaobject\GetFunctionExeHA.java:38: error: cannot find symbol
一个可能的问题'MSBUILD-NOTFOUND' is not recognized as an internal or external command, operable program or batch file
3个openSSL错误:
ms\uptable.asm(1): error A2088: END directive required at end of file [D:\GeodeNativeSrc\geode-native\build\dependencies\openssl\openssl-extern.vcxproj]
MASM : fatal error A1000: cannot open file : tmp32dll.dbg\x86_64cpuid.asm [D:\GeodeNativeSrc\geode-native\build\dependencies\openssl\openssl-extern.vcxproj]
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\ml64.EXE"' : return code '0x1' [D:\GeodeNativeSrc\geode-native\build\dependencies\openssl\openssl-extern.vcxproj]
我已经安装了 64 位 CMake 和 Cygwin,并且我在 Win 10 上使用 VS 2015 ... 感谢您的任何评论