Re: [Paraview] SYNTAX ERROR found in parsing the header file (BTX ETX didn't work)

2010-03-10 Thread David Doria
On Wed, Mar 10, 2010 at 11:52 AM, pat marion wrote: > Hi David, you should copy and paste the exact error message you are getting > so people can make more educated guesses. It's probably failing not because > of the code inside the btx/etx, but because there is no vtkClass defined in > that hea

Re: [Paraview] SYNTAX ERROR found in parsing the header file (BTX ETX didn't work)

2010-03-10 Thread pat marion
Hi David, you should copy and paste the exact error message you are getting so people can make more educated guesses. It's probably failing not because of the code inside the btx/etx, but because there is no vtkClass defined in that header. You are listing Factor.cpp as a SERVER_MANAGER_SOURCES,

Re: [Paraview] SYNTAX ERROR found in parsing the header file (BTX ETX didn't work)

2010-03-10 Thread David Doria
On Wed, Mar 10, 2010 at 10:31 AM, Dave Partyka wrote: > My 2 cents would be that I think a good coding practice is to define these > in your source file instead of the header. Especially as it they doesn't > appear to be part of your API. Or even better is to make them const > variables. That way

Re: [Paraview] SYNTAX ERROR found in parsing the header file (BTX ETX didn't work)

2010-03-10 Thread Dave Partyka
My 2 cents would be that I think a good coding practice is to define these in your source file instead of the header. Especially as it they doesn't appear to be part of your API. Or even better is to make them const variables. That way it will actually exist as a symbol that you can see in a debugg

Re: [Paraview] SYNTAX ERROR found in parsing the header file (BTX ETX didn't work)

2010-03-10 Thread David Doria
On Fri, Mar 5, 2010 at 10:04 AM, David Doria wrote: > I am getting this error when building a plugin: > > SYNTAX ERROR found in parsing the header file > > I finally remembered to try BTX ETX tags, but they didn't work this time: > > The header is very simple, here is a representative sample: > >

[Paraview] SYNTAX ERROR found in parsing the header file (BTX ETX didn't work)

2010-03-05 Thread David Doria
I am getting this error when building a plugin: SYNTAX ERROR found in parsing the header file I finally remembered to try BTX ETX tags, but they didn't work this time: The header is very simple, here is a representative sample: #ifndef FACTOR_INCLUDED #define FACTOR_INCLUDED //BTX #define SQRT_