| Код | Qwt3D::Triple **b = new Qwt3D::Triple *[2]; b[0] = new Qwt3D::Triple[2]; b[1] = new Qwt3D::Triple[2]; b[0][0].x=0; b[0][0].y=2; b[0][0].z=3; b[0][1].x = 30; b[0][1].y=50; b[0][1].z=-5;
b[1][0].x=10; b[1][0].y=20; b[1][0].z=30; b[1][1].x = 90; b[1][1].y=70; b[1][1].z=-50;
this->loadFromData(b,2,2); |
debug компилица и работает - через 4 точки поверхность, а release - нет
| Код | 1>------ Build started: Project: simpleplot, Configuration: Release Win32 ------ 1>Rcc'ing images.qrc... 1>Compiling... 1>simpleplot.cpp 1>.\simpleplot.cpp(46) : warning C4189: 'rows' : local variable is initialized but not referenced 1>.\simpleplot.cpp(47) : warning C4189: 'columns' : local variable is initialized but not referenced 1>Linking... 1>simpleplot.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) referenced in function __unwindfunclet$??0Plot@@QAE@XZ$0 1>simpleplot.obj : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function __ehhandler$??0Plot@@QAE@XZ 1>simpleplot.obj : error LNK2001: unresolved external symbol __fltused 1>simpleplot.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@) 1>simpleplot.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) referenced in function "public: virtual void * __thiscall Plot::`scalar deleting destructor'(unsigned int)" (??_GPlot@@UAEPAXI@Z) 1>simpleplot.obj : error LNK2019: unresolved external symbol __chkstk referenced in function _main 1>qrc_images.obj : error LNK2019: unresolved external symbol _atexit referenced in function "void __cdecl `dynamic initializer for 'qCleanupResources_images__dest_instance__''(void)" (??__EqCleanupResources_images__dest_instance__@@YAXXZ) 1>LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup 1>msvcprt.lib(newaop_s.obj) : error LNK2019: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) referenced in function "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) 1>LINK : error LNK2001: unresolved external symbol __load_config_used 1>..\bin\simpleplot.exe : fatal error LNK1120: 10 unresolved externals 1>Build log was saved at "file://e:\Programms\qwtplot3d-0.2.7\qwtplot3d\examples\simpleplot\tmp\BuildLog.htm" 1>simpleplot - 11 error(s), 2 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
http://ipicture.ru/ Как поправить состояние и возможно ли провести поверхность через 2 точки - прямую (у меня не вышло - пусто)? |