Hello everyone,
I'm currently working with LTI library for a project which requires signal processing and matrix computation.
Compiling such library I've encountered a strange error, in a .h file I've this code:
... some declarations and include here... (they don't deal with preprocessor definitions)
#endif
#endif
I haven't declared the preprocessor directive HAVE_GTK, but in spite of this, during compilation I've encountered some errors referring to the declarations and include in #ifdef HAVE_GTK section.
Are you using the GNU Autobuild toos (autoconf/automake). If you are, running configure generates a config.h that fills in these HAVE_xxx defines based on what it found in your environment.
If you're not, you're probably picking up a rogue config.h.
Thanks for your prompt suggestions, that take me on the right track.
It has been a problem with file ltiWinConfig.h (that has been referenced by ltiConfig.h) that defines HAVE_GTK in any case.
Commenting this line avoids errors described in my previous post.