Closed oparisy closed 1 year ago
Hey - thanks for reporting this! I'm not sure why the GitHub workflow isn't catching it. (I build on macOS, so I don't get the Windows warnings.)
I'll take a look. I might have to remove that warning in CompilerWarnings.cmake
as you say.
Could you please copy-paste the exact code that's being generated in Version.h? I'm not seeing any extra characters. (Version.h will be in the gen
directory inside your build directory.)
I'd rather not remove the warning because it can be useful, so I'd like to figure out what's causing it.
Oh wait. You know what? I'm being "not smart". I used the GDEXTENSIONTEMPLATE_VERSION
macro in file where it won't exist once you rename things. 🤦
I will remove it from that file. In your case you can use the renamed macros which are probably CUSTOMAUDIONODES_VERSION
and CUSTOMAUDIONODES_VERSION_CHECK
.
Thanks again @oparisy !
Good luck with your project.
Oh, makes perfect sense! I'll retry this from scratch then. Thanks!
Hi, I'm using this template under Windows 11, using Visual Studio Community 2022 as a C++ compiler.
I tried a "dry run" by keeping the original source code and renaming the template to "CustomAudioNodes", following instructions.
During the
cmake --build CustomAudioStreams-build --parallel
step I get the following error:This location corresponds to the
( 2, 1, 0 )
parameters following the example macro use:Did I misconfigure something? I can see various ways to work my way around this (removing the example macro call, modifying
CompilerWarnings.cmake
) but this seemed worth reporting.