CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2004
    Location
    Leamington Spa, UK
    Posts
    202

    [RESOLVED] Conditional Compilation Issues/Problems

    Greetings,

    I am having issues with compiling the source code of Kiss FFT http://sourceforge.net/projects/kissfft/ . In the header it has the following compilation condition:

    Code:
    #ifdef FIXED_POINT
    #include <sys/types.h>	
    # if (FIXED_POINT == 32)
    #  define kiss_fft_scalar int32_t
    # else	
    #  define kiss_fft_scalar int16_t
    # endif
    #else
    # ifndef kiss_fft_scalar
    /*  default is float */
    #   define kiss_fft_scalar float
    # endif
    #endif
    FIXED_POINT is not defined ANYWHERE at all, neither in the code or in the project settings. In Visual Studio .NET it always assumes that FIXED_POINT is defined and compiles everything for fixed point! However in Visual Studio 2005 it does not think it is defined, which of course is the correct behavior. I need to use the code in Visual Studio .NET, and not 2005. Has anybody had similar problems, Any ideas on what is going wrong?

    Thanks in advance,

    Aristotel

  2. #2
    Join Date
    Dec 2004
    Location
    Leamington Spa, UK
    Posts
    202

    Re: Conditional Compilation Issues/Problems

    Never mind...It was all my imagination after all!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured