Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error : "constant" #38

Open
Moonstrous opened this issue Jun 10, 2018 · 3 comments
Open

syntax error : "constant" #38

Moonstrous opened this issue Jun 10, 2018 · 3 comments

Comments

@Moonstrous
Copy link

When building in Visual Studio 2017 (Windows) , i get Error Code : C2059 -- Syntax Error : "Constant" .
in line : 109 , in file : audiodevicexa2.cpp
const UINT XAUDIO2_DEBUG_ENGINE = 0x0001;

@elnormous
Copy link
Owner

elnormous commented Jun 11, 2018

Can you send me the full compile log?

@elnormous
Copy link
Owner

AppVeyor built it successfully with Visual Studio 2017: https://ci.appveyor.com/project/elnormous/ouzel/build/job/qwok53hg6a49tn5h

@trojanfoe
Copy link

I got the same error. It looks like XAUDIO2_DEBUG_ENGINE is already defined somewhere else. Renaming the const to something like XAUDIO2_DEBUG_ENGINE_X solved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants