Text archives Help
- From: tom fogal <tfogal@alumni.unh.edu>
- To: iv3d-users@sci.utah.edu
- Subject: [IV3D-USERS] Re: compile error on windows, vs2008 qt 4.5
- Date: Sat, 23 May 2009 10:15:50 -0600
Hi Marek,
Marek Jasovsky <jasovsky.marek@gmail.com> writes:
>
can someone help me with below error while compiling ImageVis?
>
>
link /LIBPATH:"f:\Qt\qt-git\qt-snapshot\lib" /NOLOGO /DEBUG
>
/MANIFEST /MANIFESTFILE:"../Build/objects\ImageVis3D.intermediate.manifest"
>
/SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32'
>
name='Microsoft.Windows.Common-Controls' version='6.0.0.0'
>
publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"
>
/OUT:Build\ImageVis3D.exe @C:\DOCUME~1\sk1u0aq3\LOCALS~1\Temp\nm10D.tmp
>
Creating library Build\ImageVis3D.lib and object Build\ImageVis3D.exp
>
ImageVis3D_Help.obj : error LNK2019: unresolved external symbol
>
__imp__ShellExecuteA@24 referenced in function "protected: void __thiscall
>
MainWindow::OnlineHelp(void)" (?OnlineHelp@MainWindow@@IAEXXZ)
>
URLDlg.obj : error LNK2001: unresolved external symbol
>
__imp__ShellExecuteA@24
Unresolved ShellExecuteA sounds like an error I was getting yesterday;
I forget what I did to fix it but an update should get things going for
you.
>
main.obj : error LNK2019: unresolved external symbol "class QObject *
>
__cdecl qt_plugin_instance_qjpeg(void)" (?qt_plugin_instance_qjpeg@
>
@YAPAVQObject@@XZ) referenced in function "public: __thiscall
>
StaticqjpegPluginInstance::StaticqjpegPluginInstance(void)"
>
(??0StaticqjpegPluginInstance@@QAE@XZ)
qt_plugin_instance* is due to the Qt installation. We don't support
shared Qt's on windows (i.e., dlls), and Qt software only distributes
binaries in this form. Therefore you *must* compile Qt from source on
Windows.
You'll find scripts to do this for you in the `Scripts/' subdirectory.
Note there is a minor bug in Qt 4.5.1 that prevents it from compiling
on windows, so you'll need to use Qt 4.5.0 for the time being, or apply
a small patch that I can dig up if requested. It's known && will be
fixed for the Qt 4.5.2 release. ImageVis3D should also work with
Qt 4.4.3, though none of us are actively testing/using it with that
installation.
>
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
>
9.0\VC\BIN\nmake.exe"' : return code '0x2'
Are you using nmake to build, or is this just what VS is doing under
the hood?
If you are manually invoking nmake, try a different build tool. I
don't think nmake is smart enough to parse VS solution files and get
all the settings we need. Building from the VS IDE should do the
right thing; if you prefer to build via the command line, I suggest
`msbuild'.
HTH,
-tom
Archive powered by MHonArc 2.6.16.