g++
alias g++='g++ -std=c++11'
alias g++='g++ -std=c++11'
fpxshyy1204@fpxshyy1204-Lenovo:~/FpxStudio2016/Research/cppStudio/STLStudio$ g++ --version
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright © 2011 Free Software Foundation, Inc 不支持c++11!!! libbondgraph用此编译器
tBondGraphComponentOut ttBondGraphElement.cpp -std=c++11
In file included from Port.h:27:0,
from ttBondGraphElement.cpp:8:
Bond.h:69:2: warning: ‘typedef’ was ignored in this declaration
};
^
/tmp/ccJhnjMK.o:在函数‘main’中:
ttBondGraphElement.cpp:(.text+0x95):对‘BG::Component::Component(BG::BondGraphElement::ElementType, double, long)’未定义的引用
collect2: error: ld returned 1 exit status
没包含相应的实现文件,编译顺序!