Skip to content

Identifier "M_PI" is undefined #6

@orijin-tian

Description

@orijin-tian

Not sure if this issue is important yet, but I figure you may have written it in Linux/macOS as many compilers (especially VS) seem to hide it during build due to it being a 'POSIX extension'. Ends up causing some problems as seen below (The image), then below that I just provided the text from the terminal. The build completed, but those errors were just shown during that process. I simplified the messages and removed my personal parts, but I presume it may be understandable. (I'm not use to writing these issues, so if I did this wrong and you need more info, let me know)

Image

parakeet.cpp\src\fft.cpp(28,29): error C2065: 'M_PI': undeclared identifier \parakeet.cpp\build\parakeet.vcxproj]
mel_gpu.cpp
\parakeet.cpp\src\mel_gpu.cpp(24,33): error C2065: 'M_PI': undeclared identifier \parakeet.cpp\build\parakeet.vcxproj]
\parakeet.cpp\src\mel_gpu.cpp(24,18): error C2737: 'two_pi': const object must be initialized \parakeet.cpp\build\parakeet.vcxproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions