[vtkusers] Boolean Operations on Surfaces Build Error

Sam sistephan at gmail.com
Sat Jun 25 11:05:34 EDT 2011


Hi Bill,

Cory had me add "VTK_COMMON_EXPORT" in every .h file after "class" and then
I used CMAKE, built in VS 2010 and it built successfully.

ie:  class VTK_COMMON_EXPORT vtkIdList;

Thanks.

On Sat, Jun 25, 2011 at 9:01 AM, Bill Lorensen [via VTK] <
ml-node+4523660-1867451702-144055 at n5.nabble.com> wrote:

> Sam,
>
> Built fine for me on my VS2010 Express compiler. What version of VTK
> are you using?
>
> Bill
>
> On Thu, Jun 23, 2011 at 5:12 PM, Cory Quammen <[hidden email]<http://user/SendEmail.jtp?type=node&node=4523660&i=0>>
> wrote:
>
> > Sam,
> >
> > Yes, I did. Unfortunately, it isn't clear from the compiler errors
> > what the problem is, and I don't have ready access to Visual Studio 10
> > to try to replicate what you see.
> >
> > I'll see if I can get VS 10 and reproduce what you see.
> >
> > Cory
> >
> > On Thu, Jun 23, 2011 at 5:10 PM, Sam <[hidden email]<http://user/SendEmail.jtp?type=node&node=4523660&i=1>>
> wrote:
> >> Cory,
> >>
> >> Did you see my response with the output?
> >>
> >> Thanks,
> >> Sam
> >>
> >> On Sat, Jun 18, 2011 at 2:16 PM, Cory Quammen [via VTK] <[hidden email]>
>
> >> wrote:
> >>>
> >>> Hi Sam,
> >>>
> >>> I am the main author of that article.
> >>>
> >>> Could you please provide more of the error output from Visual Studio?
> >>>
> >>> Thanks,
> >>> Cory
> >>>
> >>> On Sat, Jun 18, 2011 at 1:10 PM, Sam <[hidden email]> wrote:
> >>> > Hi,
> >>> >
> >>> > I am using,
> >>> > "Boolean Operations on Surfaces in VTK Without External Libraries"
> >>> >  from:
> >>> > http://www.insight-journal.org/browse/publication/797
> >>> >
> >>> > I used CMAKE to generate for Visual Studio 10.  Next I opepend
> >>> > BooleanOperationsPolyData.sln and tried to build the "ALL_BUILD" but
> it
> >>> > failed.
> >>> >
> >>> > "missing type specifier - int assumed. Note C++ does not support
> >>> > default-int"
> >>> >
> >>> > and many other errors.
> >>> >
> >>> > Please help!
> >>> >
> >>> >
> >>> > --
> >>> > View this message in context:
> >>> >
> http://vtk.1045678.n5.nabble.com/Boolean-Operations-on-Surfaces-Build-Error-tp4501688p4501688.html
> >>> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >>> > _______________________________________________
> >>> > Powered by 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
> >>> >
> >>>
> >>> --
> >>> Cory Quammen
> >>> Computer Integrated Systems for Microscopy and Manipulation (CISMM)
> >>> Department of Computer Science
> >>> University of North Carolina at Chapel Hill
> >>> http://www.cs.unc.edu/~cquammen
> >>> _______________________________________________
> >>> Powered by 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
> >>>
> >>>
> >>> ________________________________
> >>> If you reply to this email, your message will be added to the
> discussion
> >>> below:
> >>>
> >>>
> http://vtk.1045678.n5.nabble.com/Boolean-Operations-on-Surfaces-Build-Error-tp4501688p4501786.html
> >>> To unsubscribe from Boolean Operations on Surfaces Build Error, click
> >>> here.
> >>
> >> ________________________________
> >> View this message in context: Re: Boolean Operations on Surfaces Build
> Error
> >> Sent from the VTK - Users mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> Powered by 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
> >>
> >>
> >
> >
> >
> > --
> > Cory Quammen
> > Research Associate
> > Department of Computer Science
> > University of North Carolina at Chapel Hill
> > http://www.cs.unc.edu/~cquammen
> > _______________________________________________
> > Powered by 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
> >
> _______________________________________________
> Powered by 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
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://vtk.1045678.n5.nabble.com/Boolean-Operations-on-Surfaces-Build-Error-tp4501688p4523660.html
>  To unsubscribe from Boolean Operations on Surfaces Build Error, click
> here<http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4501688&code=c2lzdGVwaGFuQGdtYWlsLmNvbXw0NTAxNjg4fC0zMTYzNTYyNjQ=>.
>
>


--
View this message in context: http://vtk.1045678.n5.nabble.com/Boolean-Operations-on-Surfaces-Build-Error-tp4501688p4523888.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110625/fe71f3c0/attachment.htm>


More information about the vtkusers mailing list