前提:软件使用的是VS2013的版本及V3D。
v3d编译bigneuron_miroslav_r_Advantra插件时报错:
-
error C2556: ‘int round(float)’ : overloaded function differs only by return type from ‘float round(float) throw()’
解决方法:
将toolbox.cpp和toolbox.h中int round(float r)的定义和函数体注释掉。
因为math.h中有同名的函数,重定义了。 -
#error “This file was generated using the moc from 4.7.3. It”
解决方法:
在moc_nf_dialog.cpp与moc_Advantra_plugin.cpp中将
#elif Q_MOC_OUTPUT_REVISION != 62 改成 #elif Q_MOC_OUTPUT_REVISION != 63
因为QT4.8.6的MOC版本是63。