[Cmb-users] smtk build fail during cmb superbuild

TJ Corona tj.corona at kitware.com
Tue Jan 31 23:09:17 EST 2017


Hi Michal,

It looks as though CGM does not export its symbols properly on Windows. Perhaps you could try linking against a static build of CGM?

Sincerely,
T.J.

Thomas J. Corona, Ph.D.
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4443

> On Jan 31, 2017, at 5:27 PM, michal wozniak <michalwozniak at live.ca> wrote:
> 
> Hi, 
> 
> I looked through your CmakeCache (https://open.cdash.org/viewNotes.php?buildid=4733420#!#note3 <https://open.cdash.org/viewNotes.php?buildid=4733420#!#note3>) and saw that you were building in 64 bit. I tried once more in 64 bit and it worked! 
> 
> Then I tried again but this time I enabled cgm (ENABLE_cgm) and it failed during the smtk build. 
> 
> "bin\smtkCGMSession.dll : fatal error LNK1120: 4 unresolved externals" 
> 
> do I need something else to be able to build cmb with cgm? 
> 
> Thank you
> Michal
> 
> From: TJ Corona <tj.corona at kitware.com>
> Sent: Friday, January 27, 2017 12:12 PM
> To: michal wozniak
> Cc: cmb-users at computationalmodelbuilder.org
> Subject: Re: [Cmb-users] smtk build fail during cmb superbuild
>  
> Hi Michal,
> 
> I just built CMB using the superbuild with the same specs that you listed, and was unable to reproduce the error. CMB superbuild does pull SMTK and CMB from the latest master, so perhaps try a clean build again?
> 
> Sincerely,
> T.J.
> 
> Thomas J. Corona, Ph.D.
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4443
> 
>> On Jan 27, 2017, at 9:48 AM, michal wozniak <michalwozniak at live.ca <mailto:michalwozniak at live.ca>> wrote:
>> 
>> Hi, 
>> 
>> I am trying to build CMB using the super build but I am getting a failed build error during the SMTK build phase. 
>> 
>> "Creating library lib\vtkSMTKReaderExt-7.1.lib and object lib\vtkSMTKReaderExt-7.1.exp
>> bin\vtkSMTKReaderExt-7.1.dll : fatal error LNK1169: one or more multiply defined symbols found" 
>> 
>> building on win 10 using Visual studio 2013,  ninja & qt 4.8.6.
>> 
>> I have looked a bit through the source code and can't seem to find the cause that could trigger this error. 
>> 
>> Michal Wozniak
>> 
>> <smtkError.txt>_______________________________________________
>> Cmb-users mailing list
>> Cmb-users at computationalmodelbuilder.org <mailto:Cmb-users at computationalmodelbuilder.org>
>> http://public.kitware.com/mailman/listinfo/cmb-users <http://public.kitware.com/mailman/listinfo/cmb-users>
> <cgm_enabled_smtkFailed.txt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmb-users/attachments/20170131/57f3797c/attachment-0001.html>


More information about the Cmb-users mailing list