level 1
唐大花9527
楼主
tensorflow.lib和tensorflow.dll,几经辛苦终于编译出来
但奇怪的是,使用vs2015能正常运行tensorflow( 包含tensorflow的头文件以及运行tensor计算)
但qt creator 4.4.1 去调用tensorblow,编译下来tensorflow的logging.h头文件一堆错误
包括,error: C2589: '(': illegal token on right side of '::'
当前只包含这两个头文件
#include "tensorflow/core/public/session.h"
#include "tensorflow/cc/ops/standard_ops.h"
using namespace tensorflow;
以下是我编译器信息,跪求大神提供解决方案,已经困扰了一个多月了

2019年03月02日 11点03分
1
但奇怪的是,使用vs2015能正常运行tensorflow( 包含tensorflow的头文件以及运行tensor计算)
但qt creator 4.4.1 去调用tensorblow,编译下来tensorflow的logging.h头文件一堆错误
包括,error: C2589: '(': illegal token on right side of '::'
当前只包含这两个头文件
#include "tensorflow/core/public/session.h"
#include "tensorflow/cc/ops/standard_ops.h"
using namespace tensorflow;
以下是我编译器信息,跪求大神提供解决方案,已经困扰了一个多月了
