[Source] Getting rid of OpenAL warnings

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
Blue Shadow
Posts: 5046
Joined: Sun Nov 14, 2010 12:59 am

[Source] Getting rid of OpenAL warnings

Post by Blue Shadow »

I've decided to disable building the source with OpenAL. When compiling, I get these warnings:

Code: Select all

LINK : warning LNK4199: /DELAYLOAD:openal32.dll ignored; no imports found from openal32.dll [C:\Users\Night Creature\Repos\zdoom_builds\src\zdoom.vcxproj]
LINK : warning LNK4199: /DELAYLOAD:libmpg123-0.dll ignored; no imports found from libmpg123-0.dll [C:\Users\Night Creature\Repos\zdoom_builds\src\zdoom.vcxproj]
LINK : warning LNK4199: /DELAYLOAD:libsndfile-1.dll ignored; no imports found from libsndfile-1.dll [C:\Users\Night Creature\Repos\zdoom_builds\src\zdoom.vcxproj]
How do I get rid of them? I'd rather have a warning-free build log.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: [Source] Getting rid of OpenAL warnings

Post by _mental_ »

In general this needs to be handled in our CMake files. However you can "fix" these warnings by adding /IGNORE:4199 to CMAKE_EXE_LINKER_FLAGS in CMake GUI. To make this setting visible you need to set Advanced checkbox in the same window.
Post Reply

Return to “General”