Results 1 to 1 of 1

Thread: [resolved] Error building qwtplot3d examples with 4.6.0/msvc2008

  1. #1
    Join Date
    Feb 2008
    Posts
    157
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default [resolved] Error building qwtplot3d examples with 4.6.0/msvc2008

    EDIT:
    works now after I recompiled qwtplot3d and the examples. I did not change anything however.

    So far I could build the qwtplot3D and its examples with Qt 4.5.2 and msvc 2005.
    Now I try the same with Qt 4.6.0 and msvc 2008, but I fail with this linker error and have no idea what is going wrong:
    qrc_images.cpp
    link /LIBPATH:"c:\Programme\Qt\msvc\2008\4.6.0\lib" /NOLOGO /NODEFAULTLI
    B:msvcrt /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:"tmp\simpleplot.intermediate.ma
    nifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Win
    dows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' langua
    ge='*' processorArchitecture='*'" /OUT:..\bin\simpleplot.exe @C:\Users\Matthias\
    AppData\Local\Temp\nmDE78.tmp
    simpleplot.obj : error LNK2001: unresolved external symbol "const type_info::`vf
    table'" (??_7type_info@@6B@)
    simpleplot.obj : error LNK2001: unresolved external symbol __fltused
    simpleplot.obj : error LNK2019: unresolved external symbol __CIlog referenced in
    function "public: virtual double __thiscall Rosenbrock:perator()(double,doubl
    e)" (??RRosenbrock@@UAENNN@Z)
    simpleplot.obj : error LNK2019: unresolved external symbol __imp___invalid_param
    eter_noinfo referenced in function "public: class Qwt3D::Axis & __thiscall std::
    vector<class Qwt3D::Axis,class std::allocator<class Qwt3D::Axis> >:perator[](u
    nsigned int)" (??A?$vector@VAxis@Qwt3D@@V?$allocator@VAxis@Qwt3D @@@std@@@std@@QA
    EAAVAxis@Qwt3D@@I@Z)
    simpleplot.obj : error LNK2019: unresolved external symbol "void __cdecl operato
    r delete(void *)" (??3@YAXPAX@Z) referenced in function "public: virtual void *
    __thiscall Rosenbrock::`scalar deleting destructor'(unsigned int)" (??_GRosenbro
    ck@@UAEPAXI@Z)
    simpleplot.obj : error LNK2019: unresolved external symbol ___security_cookie re
    ferenced in function "public: __thiscall Plot::Plot(void)" (??0Plot@@QAE@XZ)
    simpleplot.obj : error LNK2019: unresolved external symbol ___CxxFrameHandler3 r
    eferenced in function __ehhandler$??0Plot@@QAE@XZ
    simpleplot.obj : error LNK2019: unresolved external symbol @__security_check_coo
    kie@4 referenced in function __ehhandler$??0Plot@@QAE@XZ
    simpleplot.obj : error LNK2019: unresolved external symbol __chkstk referenced i
    n function _main
    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__@@Y AXXZ)
    LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
    LINK : error LNK2001: unresolved external symbol __load_config_used
    ..\bin\simpleplot.exe : fatal error LNK1120: 12 unresolved externals
    NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \link.EXE"' : return code '0x460'
    Stop.
    NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    In the qmake pro files I changed all vcapp and vclib to app and lib but thats all I changed there.

    Matthias
    Last edited by pospiech; 31st December 2009 at 09:53.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.