我有以下问题:
a)我在远程服务器上设置了UNIX构建环境,我可以将其编入b)我在Windows上有IntelliJ
我想做的是通过远程连接编辑文件(类似于Emacs存在的功能)并发出shell命令,例如'make'和运行服务器上存在的简单'test-scripts'.
将这些功能集成到IntelliJ中还是需要插件?
我在这里需要一些帮助,这种类型的不匹配怎么可能呢?当我替换所有内容时,它是完全相同的类型,包括constness.
cgVertex3D.cpp:33: error: no matching function for call to
std::vector<Polygon3D*, std::allocator<Polygon3D*> >::push_back(const Polygon3D*&)
/usr/include/c++/4.4/bits/stl_vector.h:733:
note: candidates are:
void std::vector<_Tp, _Alloc>::push_back(const _Tp&)
[with _Tp = Polygon3D*, _Alloc = std::allocator<Polygon3D*>]
<near match>
Run Code Online (Sandbox Code Playgroud) 基本上我有这个代码,但是GCC抱怨不能用空类型构造向量.以前有人遇到过这个问题吗?我应该提到Vertex3D仅用于文件中的指针,因此编译器不应该知道整个类型.我不知道模板在这方面的表现如何..
//#include "cgVertex3D.hpp"
#include "cgDirection3D.hpp"
#include "cgHandedness.hpp"
class Vertex3D; // Forward declaration to avoid mutual header include
class Polygon3D {
// Vertices constituting this polygon
vector<Vertex3D*> *vertices = NULL;
public:
...
Run Code Online (Sandbox Code Playgroud)