[Cmb-users] smtk build fail during cmb superbuild

michal wozniak michalwozniak at live.ca
Tue Jan 31 17:27:33 EST 2017


Hi,


I looked through your CmakeCache (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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmb-users/attachments/20170131/2f197078/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cgm_enabled_smtkFailed.txt
URL: <http://public.kitware.com/pipermail/cmb-users/attachments/20170131/2f197078/attachment.txt>


More information about the Cmb-users mailing list