iv3d-users

Text archives Help


[IV3D-USERS] Re: Re: Re: Re: Build problems


Chronological Thread 
  • From: Tjf <tfogal@sci.utah.edu>
  • To: "iv3d-users@sci.utah.edu" <iv3d-users@sci.utah.edu>
  • Subject: [IV3D-USERS] Re: Re: Re: Re: Build problems
  • Date: Thu, 25 Nov 2010 08:48:38 -0700

To prevent some confusion:

I think nokia changed some things in 4.7 and we no longer work with it.  I've heard
numerous reports of issues with it, but still haven't found time to try it myself.

This is apparently becoming a major annoyance, so I'll make it a priority when
I get back from vacation.

-Tom

Am Nov 25, 2010 um 7:51 AM schrieb Jens Krueger <jens@sci.utah.edu>:


but I followed those instructions. In fact, I already had a Qt 4.7 compiled from source. I made some modifications to project files (there is no QtGuid.lib, only QtGuid4.lib etc). Now I have reverted all my local changes (also set qtdir64 environment variable), but the build now fails due to missing QtGuid.lib.

the fact that some of those libs have the "wrong name" shows that you have compiled Qt with the wrong parameters. Qt has the habbit of naming the static libs differently from the shared libs (hence you had no QtGuid.lib but only a QtGuid4.lib for example) renaming those files or chaing the project does not help (actually it breaks a few things). So it's not like our vs file are outdated (actually we just changed them yesterday) but it's you having the wrong Qt build. Please use the scripts from the imagevis scripts directory build, and note that we have not yet tested Qt 4.7 but only the Qt 4.6 builds, but they do coexist with your Qt 4.7 nicely.

From you debug out below btw I can see that you do not have the qtdir32 env var set properly. Be aware that you need to restart your visual studio for any change in env variables to take effect.

I would say you have not updated .vcproj and .vcxproj files in a long time. Also, if you use CMake in subproject Tuvok, why not use it for ImageVis3D too? Most people are familiar with it and it alleviates the problem of wrong compile options (such as include directories and library names).

well, cmake is a differnt story, I can exaplain that another time :-)

Cheers  

   Jens




On Thu, Nov 25, 2010 at 15:25, Jens Krueger <jens@sci.utah.edu> wrote:
Hi,

please take a look at the page

http://www.sci.utah.edu/cibc/wiki/index.php/CIBC:Project:ImageVis3D

it tells you how to build ImageVis3D on Windows. Basically, all you need is to compile Qt from scratch (batch file to do this can be found in the scripts directory) and you need to set one (or two if you want to do both 32 and 64 bit builds) environment variables. It's all explained on the above webpage under "Windows-only Caveats"

Cheers
  Jens

Am 25.11.2010 um 15:22 schrieb Dženan Zukić:

> Hi,
>
> I am trying to build ImageVis3D from source (so I can later follow the execution paths using a debugger), but compilation fails:
>
> 1>------ Build started: Project: ImageVis3D, Configuration: Debug x64 ------
> 1>Performing Pre-Build Event...
> 1>59 File(s) copied
> 1>Creating CPP File from resource ImageVis3D.rcc ...
> 1>The system cannot find the path specified.
> 1>Project : error PRJ0019: A tool returned an error code from "Creating CPP File from resource ImageVis3D.rcc ..."
> 1>Project : warning PRJ0018 : The following environment variables were not found:
> 1>$(QTDIR32)
> 1>Build log was saved at "file://d:\SDK\imagevis3d\Build\x64\Debug\objects\BuildLog.htm"
> 1>ImageVis3D - 1 error(s), 0 warning(s)
> 2>------ Skipped Build: Project: ExtractDebugInfo, Configuration: Debug x64 ------
> 2>Project not selected to build for this solution configuration
> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 1 skipped ==========
>
> I tried searching .vcproj files for "ImageVis3D.rcc", but there are no occurrences. ImageVis3D.rc has no special attributes, so I basically do not know why the build fails. Can you shed some light on this?
>
> Regards,
> Dženan






Archive powered by MHonArc 2.6.16.

Top of page