[vtkusers] vtkGLUTesselatorFilter under UNIX ??

Malcolm Drummond malcolm at geovision.co.za
Fri Feb 21 15:42:50 EST 2003


Thanks Mathieu

I see now that _cdecl is default - the following should work for all
platforms ...

#ifndef _WIN32
#define _stdcall
#endif

Malcolm

----- Original Message -----
From: "Mathieu Malaterre" <Mathieu.Malaterre at creatis.insa-lyon.fr>
To: "Malcolm Drummond" <malcolm at geovision.co.za>
Cc: "VTK-User" <vtkusers at public.kitware.com>
Sent: Friday, February 21, 2003 6:45 PM
Subject: Re: [vtkusers] vtkGLUTesselatorFilter under UNIX ??


> Malcolm
>
> Have a look at
>
http://www.google.fr/search?hl=fr&ie=UTF-8&oe=UTF-8&q=%22_stdcall%22+site%3A
gcc.gnu.org&btnG=Recherche+Google&meta=
>
> I have a linux box and what I did is:
>
> #define _stdcall
>
> on top of .cxx file and it worked (I replaced vtkTriangleFilter with
> vtkGLUTTesselatorTriangleFilter in ClipCow.py and it worked)
>
>
> Any OpenGL/Mesa guru around there to confirm ?
>
> HTH
> mathieu
>
> Malcolm Drummond wrote:
> > Hi Seb
> >
> > My mistake - it's only the Microsoft wgl that wants _stdcall. Try
> > substituting _cdecl for _stdcall. Unfortunately I don't have a
Linux/Unix
> > setup to test on. Let me know if the substitution works and I'll try
> > automating it.
> >
> > Malcolm
> >
> > ----- Original Message -----
> > From: "Sebastien Auclair" <sxa at fluent.com>
> > To: <vtkusers at public.kitware.com>
> > Sent: Thursday, February 20, 2003 8:27 PM
> > Subject: [vtkusers] vtkGLUTesselatorFilter under UNIX ??
> >
> >
> >
> >>Greetings !
> >>
> >>I have a collegue on SOLARIS who wasn't able to build VTK with
> >>vtkGLUTesselatorFilter because some "_stdcall" statements in the code...
> >>
> >>The same problem occurs on Linux.
> >>
> >>Is vtkGLUTesselatorFilter cross patform ?
> >>What is the correct way to go around this compilation problem  ?
> >>
> >>Thanks !
> >>_______________________________________________
> >>Seb
> >>
> >>_______________________________________________
> >>This is the private VTK discussion list.
> >>Please keep messages on-topic. Check the FAQ at:
> >
> > <http://public.kitware.com/cgi-bin/vtkfaq>
> >
> >>Follow this link to subscribe/unsubscribe:
> >>http://public.kitware.com/mailman/listinfo/vtkusers
> >
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> >
>
>
> --
> Mathieu Malaterre
> CREATIS
> 28 Avenue du Doyen LEPINE
> B.P. Lyon-Montchat
> 69394 Lyon Cedex 03
> http://www.creatis.insa-lyon.fr/~malaterre/
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list