gpt4 book ai didi

c++ - osx 上的 apache ignite 2.0 c++ 无法编译

转载 作者:行者123 更新时间:2023-11-27 23:54:07 26 4
gpt4 key购买 nike

我尝试编译 Apache Ignite 2.0 C++。我正在从目录 /opt/apache-ignite-2.0.0-src/modules/platforms/cpp 运行 make。我已经编译了所有 Java 代码,我可以很好地启动 Apache Ignite。但是,C++ 不编译。看来我必须通过 C++ 代码来解决问题。

运行 make 时出现的错误是:

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in common
Making all in include
make[3]: Nothing to be done for `all'.
Making all in os/linux/include
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in binary
Making all in include
make[3]: Nothing to be done for `all'.
CXX src/binary/binary_containers.lo
In file included from src/binary/binary_containers.cpp:18:
In file included from ./include/ignite/binary/binary_containers.h:30:
In file included from ./include/ignite/impl/binary/binary_writer_impl.h:35:
In file included from ./include/ignite/impl/binary/binary_object_impl.h:31:

./include/ignite/impl/binary/binary_reader_impl.h:986:58: error: variable has incomplete type 'ignite::binary::BinaryReader'
ignite::binary::BinaryReader reader(&readerImpl);
^
./include/ignite/binary/binary_type.h:135:15: note: forward declaration of 'ignite::binary::BinaryReader'
class BinaryReader;
^
In file included from src/binary/binary_containers.cpp:18:
In file included from ./include/ignite/binary/binary_containers.h:30:
./include/ignite/impl/binary/binary_writer_impl.h:702:54: error: variable has incomplete type 'ignite::binary::BinaryWriter'
ignite::binary::BinaryWriter writer(&writerImpl);
^
./include/ignite/binary/binary_type.h:134:15: note: forward declaration of 'ignite::binary::BinaryWriter'
class BinaryWriter;
^
2 errors generated.
make[3]: *** [src/binary/binary_containers.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

最佳答案

好吧,OS X 是 not supported正式。您可能想写信给 Apache Ignite user mailing list请求某人帮助你。不过,请确保在发送问题之前订阅,这样每个人都会看到您的邮件。

关于c++ - osx 上的 apache ignite 2.0 c++ 无法编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43905619/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com