[vtkusers] Compile VTK+QT for release

Alex Southern mrapsouthern at gmail.com
Mon Dec 12 10:34:34 EST 2011


Ok, my vtk/bin folder (which I know is configured correctly as 
everything is ok on my machine) does not contain *.dll, only *.lib. (and 
some demo *.exe).

It looks like you have the dynamic VTK installation (hence dll) and I 
have the static installation.

As I understand it, my static installation should mean that the revelant 
code from the library is included directly in the final executable and 
hence missing VTK libraries are not an issue here.

Does anyone disagree with me on this?

Cheers
Alex

On 12/12/2011 5:24 PM, Jothybasu Selvaraj wrote:
> At least try copying all the vtk dlls in the vtk/bin (where yuo built 
> vtk).
>
> On Mon, Dec 12, 2011 at 3:19 PM, Alex Southern <mrapsouthern at gmail.com 
> <mailto:mrapsouthern at gmail.com>> wrote:
>
>     Hi,
>
>     Hmmm - I have not used QTCreator I used QTDesigner, I dont have a
>     .pro file.
>
>     Cheers
>     Alex
>
>
>     On 12/12/2011 5:12 PM, Jothybasu Selvaraj wrote:
>>     Try copying all the dll corresponding to the libs you included in
>>     the .pro file in QtCreator.I don't know how it works in VS.
>>
>>     Jothy
>>
>>     On Mon, Dec 12, 2011 at 3:09 PM, Alex Southern
>>     <mrapsouthern at gmail.com <mailto:mrapsouthern at gmail.com>> wrote:
>>
>>         No he doesn't have them.
>>
>>         Though I believe I built VTK static libraries as this is default.
>>
>>         Do I need to build them?
>>         If so, how do I know which ones he will need?
>>
>>         Thanks
>>         Alex
>>
>>
>>
>>
>>         On 12/12/2011 5:05 PM, Jothybasu Selvaraj wrote:
>>>         Do you have all the VTK and QT dlls on your friends computer?
>>>
>>>         Jothy
>>>
>>>         On Mon, Dec 12, 2011 at 2:53 PM, Alex Southern
>>>         <mrapsouthern at gmail.com <mailto:mrapsouthern at gmail.com>> wrote:
>>>
>>>             Hmmmm,
>>>
>>>             Not unless it is done by default in the VS2010
>>>             installation? - I have installed VS2010 service pack 1
>>>             though.
>>>
>>>             Wait, when you talk about installation are you referring
>>>             to my Visual Studio 2010 installation or installing
>>>             these 'run times' on my colleagues machine?
>>>
>>>             Cheers
>>>             Alex
>>>
>>>
>>>             On 12/12/2011 4:46 PM, John Drescher wrote:
>>>
>>>                 On Mon, Dec 12, 2011 at 9:44 AM, Alex
>>>                 Southern<mrapsouthern at gmail.com
>>>                 <mailto:mrapsouthern at gmail.com>>  wrote:
>>>
>>>                     Hi,
>>>
>>>                     I just compiled a VTK + QT application in "x64"
>>>                     and "Release" mode (Windows
>>>                     7 64 bit&  VS2010 VTK 5.8.0 and QT 4.7.4) the
>>>                     resulting executable works
>>>
>>>                     perfectly fine on my machine.
>>>
>>>                     The problem is that I want this to work on
>>>                     another Windows 7 64-bit machine
>>>                     so a colleague may use the program. He ran the
>>>                     compiled EXE but got a
>>>                     message saying that the application could not start.
>>>
>>>                     VTK was built with the standard settings in
>>>                     Cmake plus the QT and Parallel
>>>                     options.
>>>
>>>                     (Im not a software developer by profession as
>>>                     you may have guessed)
>>>
>>>                     Any suggestions?
>>>
>>>                 Did you install the Visual Studio 2010 runtimes as
>>>                 part of your install process?
>>>
>>>                 John
>>>
>>>
>>>             _______________________________________________
>>>             Powered by www.kitware.com <http://www.kitware.com>
>>>
>>>             Visit other Kitware open-source projects at
>>>             http://www.kitware.com/opensource/opensource.html
>>>
>>>             Please keep messages on-topic and check the VTK FAQ at:
>>>             http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>>             Follow this link to subscribe/unsubscribe:
>>>             http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>>
>>>
>>>         -- 
>>>         Jothy
>>>
>>
>>
>>
>>
>>     -- 
>>     Jothy
>>
>
>
>
>
> -- 
> Jothy
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111212/fd0470b4/attachment.htm>


More information about the vtkusers mailing list