News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

[SOLVED] dhewm3

Started by vladdrak, September 06, 2014, 08:37:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vladdrak

hi there
i wonder if anyone had success compiling dhewm3 on win7 (x64) and mind issuing a detailed walkthrough here.
tx in advance

Radegast

Is there anything specific that you are struggling with? There is a compilation guide in the README.md file. It probably looks complicated if you haven't done it before, but once you successfully compile your first CMake-based project then you will find it is always the same procedure.

Btw, I would suggest that you use RBDOOM-3-BFG instead of dhewm3, because it is currently the most active D3 engine project (but it is for the BFG edition obviously). Another advice for you is that it is usually much easier to compile stuff under linux than Windows, so you should give it a try.

vladdrak

#2
ok so with VS10 the build fails

CMakeError.log

Determining if the C compiler works failed with the following output:
Change Dir: D:/DOWNLOADz/dhewm3-master/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe" "cmTryCompileExec147373638.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=10.0"
Microsoft (R) Build Engine version 4.0.30319.18408

[Microsoft .NET Framework, version 4.0.30319.18444]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 2014.09.07. 16:49:33.

Project "D:\DOWNLOADz\dhewm3-master\build\CMakeFiles\CMakeTmp\cmTryCompileExec147373638.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTryCompileExec147373638.dir\Debug\".

  Creating directory "D:\DOWNLOADz\dhewm3-master\build\CMakeFiles\CMakeTmp\Debug\".

InitializeBuildStatus:

  Creating "cmTryCompileExec147373638.dir\Debug\cmTryCompileExec147373638.unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec147373638.dir\Debug\\" /Fd"cmTryCompileExec147373638.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c

  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec147373638.dir\Debug\\" /Fd"cmTryCompileExec147373638.dir\Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c

  testCCompiler.c

 

ManifestResourceCompile:

  C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec147373638.dir\Debug\cmTryCompileExec147373638.exe.embed.manifest.res" cmTryCompileExec147373638.dir\Debug\cmTryCompileExec147373638_manifest.rc

Link:

  C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"D:\DOWNLOADz\dhewm3-master\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec147373638.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec147373638.dir\Debug\cmTryCompileExec147373638.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:/DOWNLOADz/dhewm3-master/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec147373638.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/DOWNLOADz/dhewm3-master/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec147373638.lib" /MACHINE:X86 cmTryCompileExec147373638.dir\Debug\cmTryCompileExec147373638.exe.embed.manifest.res

  cmTryCompileExec147373638.dir\Debug\testCCompiler.obj  /machine:X86 /debug

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [D:\DOWNLOADz\dhewm3-master\build\CMakeFiles\CMakeTmp\cmTryCompileExec147373638.vcxproj]

Done Building Project "D:\DOWNLOADz\dhewm3-master\build\CMakeFiles\CMakeTmp\cmTryCompileExec147373638.vcxproj" (default targets) -- FAILED.



Build FAILED.



"D:\DOWNLOADz\dhewm3-master\build\CMakeFiles\CMakeTmp\cmTryCompileExec147373638.vcxproj" (default target) (1) ->

(Link target) ->

  LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [D:\DOWNLOADz\dhewm3-master\build\CMakeFiles\CMakeTmp\cmTryCompileExec147373638.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:01.99


now with MinGW Makefiles it builds and it results in the following, but now i don't know how i should proceed.





i used the provided win libs in both methods.

thank you for yr suggestion on RBDOOM btw, i already tried it and would like to go along with it, but having major framerate drops.

Radegast


vladdrak

#4
bumping..

thx for yr advice, i managed to build the project files. but now here's another thing: after a Release compilation my Release folder only contains dll files

my dhewm3 Release folder looks like this:
base.dll
base.exp
base.lib
d3xp.dll
d3xp.exp
d3xp.lib
idlib.lib

compiling iodoom3:
CurlLib.lib
Game.exp
Game.lib
gamex86.dll
idLib.lib
TypeInfo.exe

i'm a bit confused at this point. can anybody confirm that my compilation was successful and i'm not missing something?

vladdrak


The Happy Friar

dhewm3 makes the game exe (doom3.exe) and a dll named for the "mod" folder (in this case, base.dll & d3xp.dll) that goes in the same folder as the exe. 

You can rename those files after compile or in the project properties, but it all looks good to me.

BielBdeLuna

yes, base.dll is the code at dhewm3/neo/game and d3xp.dll is the code at dhewm3/neo/d3xp, you just rename it to the name of the folder you're using with your mod (the folder referenced in fs_game) and then you set the renamed base.dll (or renamed d3xp.dll) in the same folder that you have the engine, then you can play the mod.

in order for the mod to appear in the mod list maybe you need a description.txt file inside the mod folder with the name of the mod.

vladdrak

#8
thanks for your answers. now i should mention that i was retarded and i didn't pay attention to the output and also i might have been ambiguous. the project dhewm3 fails, thus i am in fact missing the executable. no clue why. checked the linker settings and SDL is there.


5>d:\sandbox\doom3\dhewm3\dhewm3-master\neo\sys\win32\sdl_win32_main.c(323): warning C4702: unreachable code
5>d:\sandbox\doom3\dhewm3\dhewm3-master\neo\sys\win32\sdl_win32_main.c(356): warning C4706: assignment within conditional expression
5>jpeg_memory_src.obj : error LNK2019: unresolved external symbol _jpeg_resync_to_restart referenced in function "void __cdecl jpeg_memory_src(struct jpeg_decompress_struct *,unsigned char *,unsigned long)" (?jpeg_memory_src@@YAXPAUjpeg_decompress_struct@@PAEK@Z)
5>Cinematic.obj : error LNK2019: unresolved external symbol _jpeg_destroy_decompress referenced in function "int __cdecl JPEGBlit(unsigned char *,unsigned char *,int)" (?JPEGBlit@@YAHPAE0H@Z)
5>Image_files.obj : error LNK2001: unresolved external symbol _jpeg_destroy_decompress
5>Cinematic.obj : error LNK2019: unresolved external symbol _jpeg_finish_decompress referenced in function "int __cdecl JPEGBlit(unsigned char *,unsigned char *,int)" (?JPEGBlit@@YAHPAE0H@Z)
5>Image_files.obj : error LNK2001: unresolved external symbol _jpeg_finish_decompress
5>Cinematic.obj : error LNK2019: unresolved external symbol _jpeg_read_scanlines referenced in function "int __cdecl JPEGBlit(unsigned char *,unsigned char *,int)" (?JPEGBlit@@YAHPAE0H@Z)
5>Image_files.obj : error LNK2001: unresolved external symbol _jpeg_read_scanlines
5>Cinematic.obj : error LNK2019: unresolved external symbol _jpeg_start_decompress referenced in function "int __cdecl JPEGBlit(unsigned char *,unsigned char *,int)" (?JPEGBlit@@YAHPAE0H@Z)
5>Image_files.obj : error LNK2001: unresolved external symbol _jpeg_start_decompress
5>Cinematic.obj : error LNK2019: unresolved external symbol _jpeg_read_header referenced in function "int __cdecl JPEGBlit(unsigned char *,unsigned char *,int)" (?JPEGBlit@@YAHPAE0H@Z)
5>Image_files.obj : error LNK2001: unresolved external symbol _jpeg_read_header
5>Cinematic.obj : error LNK2019: unresolved external symbol _jpeg_CreateDecompress referenced in function "int __cdecl JPEGBlit(unsigned char *,unsigned char *,int)" (?JPEGBlit@@YAHPAE0H@Z)
5>Image_files.obj : error LNK2001: unresolved external symbol _jpeg_CreateDecompress
5>Cinematic.obj : error LNK2019: unresolved external symbol _jpeg_std_error referenced in function "int __cdecl JPEGBlit(unsigned char *,unsigned char *,int)" (?JPEGBlit@@YAHPAE0H@Z)
5>Image_files.obj : error LNK2001: unresolved external symbol _jpeg_std_error
5>Common.obj : error LNK2019: unresolved external symbol _SDL_GetTicks referenced in function "unsigned int __cdecl AsyncTimer(unsigned int,void *)" (?AsyncTimer@@YAIIPAX@Z)
5>threads.obj : error LNK2001: unresolved external symbol _SDL_GetTicks
5>Common.obj : error LNK2019: unresolved external symbol _SDL_Quit referenced in function "public: virtual void __thiscall idCommonLocal::Shutdown(void)" (?Shutdown@idCommonLocal@@UAEXXZ)
5>SDL_win32_main.obj : error LNK2001: unresolved external symbol _SDL_Quit
5>Common.obj : error LNK2019: unresolved external symbol _SDL_RemoveTimer referenced in function "public: virtual void __thiscall idCommonLocal::Shutdown(void)" (?Shutdown@idCommonLocal@@UAEXXZ)
5>Common.obj : error LNK2019: unresolved external symbol _SDL_AddTimer referenced in function __catch$?Init@idCommonLocal@@UAEXHPAPAD@Z$0
5>Common.obj : error LNK2019: unresolved external symbol _SDL_Linked_Version referenced in function "public: virtual void __thiscall idCommonLocal::Init(int,char * *)" (?Init@idCommonLocal@@UAEXHPAPAD@Z)
5>Common.obj : error LNK2019: unresolved external symbol _SDL_GetError referenced in function "public: virtual void __thiscall idCommonLocal::Init(int,char * *)" (?Init@idCommonLocal@@UAEXHPAPAD@Z)
5>SDL_win32_main.obj : error LNK2001: unresolved external symbol _SDL_GetError
5>glimp.obj : error LNK2001: unresolved external symbol _SDL_GetError
5>Common.obj : error LNK2019: unresolved external symbol _SDL_Init referenced in function "public: virtual void __thiscall idCommonLocal::Init(int,char * *)" (?Init@idCommonLocal@@UAEXHPAPAD@Z)
5>SDL_win32_main.obj : error LNK2001: unresolved external symbol _SDL_Init
5>FileSystem.obj : error LNK2019: unresolved external symbol __imp__curl_easy_perform referenced in function "int __cdecl BackgroundDownloadThread(void *)" (?BackgroundDownloadThread@@YAHPAX@Z)
5>FileSystem.obj : error LNK2019: unresolved external symbol __imp__curl_easy_init referenced in function "int __cdecl BackgroundDownloadThread(void *)" (?BackgroundDownloadThread@@YAHPAX@Z)
5>FileSystem.obj : error LNK2019: unresolved external symbol __imp__curl_easy_setopt referenced in function "int __cdecl BackgroundDownloadThread(void *)" (?BackgroundDownloadThread@@YAHPAX@Z)
5>unzip.obj : error LNK2019: unresolved external symbol _crc32 referenced in function _unzReadCurrentFile
5>unzip.obj : error LNK2019: unresolved external symbol _inflate referenced in function _unzReadCurrentFile
5>unzip.obj : error LNK2019: unresolved external symbol _inflateEnd referenced in function _unzCloseCurrentFile
5>unzip.obj : error LNK2019: unresolved external symbol _inflateInit2_ referenced in function _unzOpenCurrentFile3
5>snd_cache.obj : error LNK2019: unresolved external symbol __imp__alDeleteBuffers referenced in function "public: void __thiscall idSoundSample::PurgeSoundSample(void)" (?PurgeSoundSample@idSoundSample@@QAEXXZ)
5>snd_emitter.obj : error LNK2001: unresolved external symbol __imp__alDeleteBuffers
5>snd_world.obj : error LNK2001: unresolved external symbol __imp__alDeleteBuffers
5>snd_world.obj : error LNK2001: unresolved external symbol __imp__alGetError
5>snd_cache.obj : error LNK2019: unresolved external symbol __imp__alGetError referenced in function "public: void __thiscall idSoundSample::PurgeSoundSample(void)" (?PurgeSoundSample@idSoundSample@@QAEXXZ)
5>snd_efxfile.obj : error LNK2001: unresolved external symbol __imp__alGetError
5>snd_emitter.obj : error LNK2001: unresolved external symbol __imp__alGetError
5>snd_system.obj : error LNK2001: unresolved external symbol __imp__alGetError
5>snd_cache.obj : error LNK2019: unresolved external symbol __imp__alBufferData referenced in function "public: void __thiscall idSoundSample::MakeDefault(void)" (?MakeDefault@idSoundSample@@QAEXXZ)
5>snd_world.obj : error LNK2001: unresolved external symbol __imp__alBufferData
5>snd_cache.obj : error LNK2019: unresolved external symbol __imp__alGenBuffers referenced in function "public: void __thiscall idSoundSample::MakeDefault(void)" (?MakeDefault@idSoundSample@@QAEXXZ)
5>snd_world.obj : error LNK2001: unresolved external symbol __imp__alGenBuffers
5>snd_cache.obj : error LNK2019: unresolved external symbol __imp__alIsBuffer referenced in function "public: void __thiscall idSoundSample::Load(void)" (?Load@idSoundSample@@QAEXXZ)
5>snd_decoder.obj : error LNK2019: unresolved external symbol _ov_open_callbacks referenced in function "int __cdecl ov_openFile(class idFile *,struct OggVorbis_File *)" (?ov_openFile@@YAHPAVidFile@@PAUOggVorbis_File@@@Z)
5>snd_decoder.obj : error LNK2019: unresolved external symbol _ov_clear referenced in function "private: int __thiscall idWaveFile::OpenOGG(char const *,struct waveformatex_s *)" (?OpenOGG@idWaveFile@@AAEHPBDPAUwaveformatex_s@@@Z)
5>snd_decoder.obj : error LNK2019: unresolved external symbol _ov_pcm_total referenced in function "private: int __thiscall idWaveFile::OpenOGG(char const *,struct waveformatex_s *)" (?OpenOGG@idWaveFile@@AAEHPBDPAUwaveformatex_s@@@Z)
5>snd_decoder.obj : error LNK2019: unresolved external symbol _ov_info referenced in function "private: int __thiscall idWaveFile::OpenOGG(char const *,struct waveformatex_s *)" (?OpenOGG@idWaveFile@@AAEHPBDPAUwaveformatex_s@@@Z)
5>snd_decoder.obj : error LNK2019: unresolved external symbol _ov_read referenced in function "private: int __thiscall idWaveFile::ReadOGG(unsigned char *,int,int *)" (?ReadOGG@idWaveFile@@AAEHPAEHPAH@Z)
5>snd_decoder.obj : error LNK2019: unresolved external symbol _ov_read_float referenced in function "public: int __thiscall idSampleDecoderLocal::DecodeOGG(class idSoundSample *,int,int,float *)" (?DecodeOGG@idSampleDecoderLocal@@QAEHPAVidSoundSample@@HHPAM@Z)
5>snd_decoder.obj : error LNK2019: unresolved external symbol _ov_pcm_seek referenced in function "public: int __thiscall idSampleDecoderLocal::DecodeOGG(class idSoundSample *,int,int,float *)" (?DecodeOGG@idSampleDecoderLocal@@QAEHPAVidSoundSample@@HHPAM@Z)
5>snd_emitter.obj : error LNK2019: unresolved external symbol __imp__alSourcei referenced in function "public: void __thiscall idSoundChannel::ALStop(void)" (?ALStop@idSoundChannel@@QAEXXZ)
5>snd_system.obj : error LNK2001: unresolved external symbol __imp__alSourcei
5>snd_world.obj : error LNK2001: unresolved external symbol __imp__alSourcei
5>snd_emitter.obj : error LNK2019: unresolved external symbol __imp__alSourceStop referenced in function "public: void __thiscall idSoundChannel::ALStop(void)" (?ALStop@idSoundChannel@@QAEXXZ)
5>snd_system.obj : error LNK2001: unresolved external symbol __imp__alSourceStop
5>snd_world.obj : error LNK2001: unresolved external symbol __imp__alSourceStop
5>snd_emitter.obj : error LNK2019: unresolved external symbol __imp__alIsSource referenced in function "public: void __thiscall idSoundChannel::ALStop(void)" (?ALStop@idSoundChannel@@QAEXXZ)
5>snd_world.obj : error LNK2001: unresolved external symbol __imp__alIsSource
5>snd_emitter.obj : error LNK2019: unresolved external symbol __imp__alGetSourcei referenced in function "public: void __thiscall idSoundEmitterLocal::CheckForCompletion(int)" (?CheckForCompletion@idSoundEmitterLocal@@QAEXH@Z)
5>snd_world.obj : error LNK2001: unresolved external symbol __imp__alGetSourcei
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alcProcessContext referenced in function "public: virtual int __thiscall idSoundSystemLocal::AsyncUpdate(int)" (?AsyncUpdate@idSoundSystemLocal@@UAEHH@Z)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alcSuspendContext referenced in function "public: virtual int __thiscall idSoundSystemLocal::AsyncUpdate(int)" (?AsyncUpdate@idSoundSystemLocal@@UAEHH@Z)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alGenSources referenced in function "public: virtual void __thiscall idSoundSystemLocal::Init(void)" (?Init@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alSourcef referenced in function "public: virtual void __thiscall idSoundSystemLocal::Init(void)" (?Init@idSoundSystemLocal@@UAEXXZ)
5>snd_world.obj : error LNK2001: unresolved external symbol __imp__alSourcef
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alGetProcAddress referenced in function "public: virtual void __thiscall idSoundSystemLocal::Init(void)" (?Init@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alGetString referenced in function "public: virtual void __thiscall idSoundSystemLocal::Init(void)" (?Init@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alcMakeContextCurrent referenced in function "public: virtual void __thiscall idSoundSystemLocal::Init(void)" (?Init@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alcCreateContext referenced in function "public: virtual void __thiscall idSoundSystemLocal::Init(void)" (?Init@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alcOpenDevice referenced in function "public: virtual void __thiscall idSoundSystemLocal::Init(void)" (?Init@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alcGetString referenced in function "public: virtual void __thiscall idSoundSystemLocal::Init(void)" (?Init@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alcIsExtensionPresent referenced in function "public: virtual void __thiscall idSoundSystemLocal::Init(void)" (?Init@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alcCloseDevice referenced in function "public: virtual void __thiscall idSoundSystemLocal::Shutdown(void)" (?Shutdown@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alcDestroyContext referenced in function "public: virtual void __thiscall idSoundSystemLocal::Shutdown(void)" (?Shutdown@idSoundSystemLocal@@UAEXXZ)
5>snd_system.obj : error LNK2019: unresolved external symbol __imp__alDeleteSources referenced in function "public: virtual void __thiscall idSoundSystemLocal::Shutdown(void)" (?Shutdown@idSoundSystemLocal@@UAEXXZ)
5>snd_world.obj : error LNK2019: unresolved external symbol __imp__alSourcePlay referenced in function "public: void __thiscall idSoundWorldLocal::AddChannelContribution(class idSoundEmitterLocal *,class idSoundChannel *,int,int,float *)" (?AddChannelContribution@idSoundWorldLocal@@QAEXPAVidSoundEmitterLocal@@PAVidSoundChannel@@HHPAM@Z)
5>snd_world.obj : error LNK2019: unresolved external symbol __imp__alSourceQueueBuffers referenced in function "public: void __thiscall idSoundWorldLocal::AddChannelContribution(class idSoundEmitterLocal *,class idSoundChannel *,int,int,float *)" (?AddChannelContribution@idSoundWorldLocal@@QAEXPAVidSoundEmitterLocal@@PAVidSoundChannel@@HHPAM@Z)
5>snd_world.obj : error LNK2019: unresolved external symbol __imp__alSourceUnqueueBuffers referenced in function "public: void __thiscall idSoundWorldLocal::AddChannelContribution(class idSoundEmitterLocal *,class idSoundChannel *,int,int,float *)" (?AddChannelContribution@idSoundWorldLocal@@QAEXPAVidSoundEmitterLocal@@PAVidSoundChannel@@HHPAM@Z)
5>snd_world.obj : error LNK2019: unresolved external symbol __imp__alSource3i referenced in function "public: void __thiscall idSoundWorldLocal::AddChannelContribution(class idSoundEmitterLocal *,class idSoundChannel *,int,int,float *)" (?AddChannelContribution@idSoundWorldLocal@@QAEXPAVidSoundEmitterLocal@@PAVidSoundChannel@@HHPAM@Z)
5>snd_world.obj : error LNK2019: unresolved external symbol __imp__alSource3f referenced in function "public: void __thiscall idSoundWorldLocal::AddChannelContribution(class idSoundEmitterLocal *,class idSoundChannel *,int,int,float *)" (?AddChannelContribution@idSoundWorldLocal@@QAEXPAVidSoundEmitterLocal@@PAVidSoundChannel@@HHPAM@Z)
5>snd_world.obj : error LNK2019: unresolved external symbol __imp__alListenerfv referenced in function "public: void __thiscall idSoundWorldLocal::MixLoop(int,int,float *)" (?MixLoop@idSoundWorldLocal@@QAEXHHPAM@Z)
5>snd_world.obj : error LNK2019: unresolved external symbol __imp__alListenerf referenced in function "public: void __thiscall idSoundWorldLocal::MixLoop(int,int,float *)" (?MixLoop@idSoundWorldLocal@@QAEXHHPAM@Z)
5>cpu.obj : error LNK2019: unresolved external symbol _SDL_HasAltiVec referenced in function "int __cdecl Sys_GetProcessorId(void)" (?Sys_GetProcessorId@@YAHXZ)
5>cpu.obj : error LNK2019: unresolved external symbol _SDL_HasSSE2 referenced in function "int __cdecl Sys_GetProcessorId(void)" (?Sys_GetProcessorId@@YAHXZ)
5>cpu.obj : error LNK2019: unresolved external symbol _SDL_HasSSE referenced in function "int __cdecl Sys_GetProcessorId(void)" (?Sys_GetProcessorId@@YAHXZ)
5>cpu.obj : error LNK2019: unresolved external symbol _SDL_Has3DNow referenced in function "int __cdecl Sys_GetProcessorId(void)" (?Sys_GetProcessorId@@YAHXZ)
5>cpu.obj : error LNK2019: unresolved external symbol _SDL_HasMMX referenced in function "int __cdecl Sys_GetProcessorId(void)" (?Sys_GetProcessorId@@YAHXZ)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_Delay referenced in function "void __cdecl Sys_Sleep(int)" (?Sys_Sleep@@YAXH@Z)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_CreateCond referenced in function "void __cdecl Sys_InitThreads(void)" (?Sys_InitThreads@@YAXXZ)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_CreateMutex referenced in function "void __cdecl Sys_InitThreads(void)" (?Sys_InitThreads@@YAXXZ)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_DestroyMutex referenced in function "void __cdecl Sys_ShutdownThreads(void)" (?Sys_ShutdownThreads@@YAXXZ)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_DestroyCond referenced in function "void __cdecl Sys_ShutdownThreads(void)" (?Sys_ShutdownThreads@@YAXXZ)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_KillThread referenced in function "void __cdecl Sys_ShutdownThreads(void)" (?Sys_ShutdownThreads@@YAXXZ)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_mutexP referenced in function "void __cdecl Sys_EnterCriticalSection(int)" (?Sys_EnterCriticalSection@@YAXH@Z)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_mutexV referenced in function "void __cdecl Sys_LeaveCriticalSection(int)" (?Sys_LeaveCriticalSection@@YAXH@Z)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_CondWait referenced in function "void __cdecl Sys_WaitForEvent(int)" (?Sys_WaitForEvent@@YAXH@Z)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_CondSignal referenced in function "void __cdecl Sys_TriggerEvent(int)" (?Sys_TriggerEvent@@YAXH@Z)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_GetThreadID referenced in function "void __cdecl Sys_CreateThread(int (__cdecl*)(void *),void *,struct xthreadInfo &,char const *)" (?Sys_CreateThread@@YAXP6AHPAX@Z0AAUxthreadInfo@@PBD@Z)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_CreateThread referenced in function "void __cdecl Sys_CreateThread(int (__cdecl*)(void *),void *,struct xthreadInfo &,char const *)" (?Sys_CreateThread@@YAXP6AHPAX@Z0AAUxthreadInfo@@PBD@Z)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_WaitThread referenced in function "void __cdecl Sys_DestroyThread(struct xthreadInfo &)" (?Sys_DestroyThread@@YAXAAUxthreadInfo@@@Z)
5>threads.obj : error LNK2019: unresolved external symbol _SDL_ThreadID referenced in function "char const * __cdecl Sys_GetThreadName(int *)" (?Sys_GetThreadName@@YAPBDPAH@Z)
5>events.obj : error LNK2019: unresolved external symbol _SDL_PushEvent referenced in function "void __cdecl PushConsoleEvent(char const *)" (?PushConsoleEvent@@YAXPBD@Z)
5>events.obj : error LNK2019: unresolved external symbol _SDL_PumpEvents referenced in function "void __cdecl Sys_GenerateEvents(void)" (?Sys_GenerateEvents@@YAXXZ)
5>events.obj : error LNK2019: unresolved external symbol _SDL_EnableKeyRepeat referenced in function "void __cdecl Sys_InitInput(void)" (?Sys_InitInput@@YAXXZ)
5>events.obj : error LNK2019: unresolved external symbol _SDL_EnableUNICODE referenced in function "void __cdecl Sys_InitInput(void)" (?Sys_InitInput@@YAXXZ)
5>events.obj : error LNK2019: unresolved external symbol _SDL_SetModState referenced in function "struct sysEvent_t __cdecl Sys_GetEvent(void)" (?Sys_GetEvent@@YA?AUsysEvent_t@@XZ)
5>events.obj : error LNK2019: unresolved external symbol _SDL_GetModState referenced in function "struct sysEvent_t __cdecl Sys_GetEvent(void)" (?Sys_GetEvent@@YA?AUsysEvent_t@@XZ)
5>events.obj : error LNK2019: unresolved external symbol _SDL_PollEvent referenced in function "struct sysEvent_t __cdecl Sys_GetEvent(void)" (?Sys_GetEvent@@YA?AUsysEvent_t@@XZ)
5>SDL_win32_main.obj : error LNK2019: unresolved external symbol _SDL_strlcat referenced in function _redirect_output
5>SDL_win32_main.obj : error LNK2019: unresolved external symbol _SDL_strlcpy referenced in function _redirect_output
5>SDL_win32_main.obj : error LNK2019: unresolved external symbol _SDL_SetModuleHandle referenced in function _main
5>SDL_win32_main.obj : error LNK2019: unresolved external symbol _SDL_getenv referenced in function _WinMain@16
5>glimp.obj : error LNK2019: unresolved external symbol _SDL_SetVideoMode referenced in function "bool __cdecl GLimp_Init(struct glimpParms_t)" (?GLimp_Init@@YA_NUglimpParms_t@@@Z)
5>glimp.obj : error LNK2019: unresolved external symbol _SDL_WM_SetCaption referenced in function "bool __cdecl GLimp_Init(struct glimpParms_t)" (?GLimp_Init@@YA_NUglimpParms_t@@@Z)
5>glimp.obj : error LNK2019: unresolved external symbol _SDL_GL_SetAttribute referenced in function "bool __cdecl GLimp_Init(struct glimpParms_t)" (?GLimp_Init@@YA_NUglimpParms_t@@@Z)
5>glimp.obj : error LNK2019: unresolved external symbol _SDL_WasInit referenced in function "bool __cdecl GLimp_Init(struct glimpParms_t)" (?GLimp_Init@@YA_NUglimpParms_t@@@Z)
5>glimp.obj : error LNK2019: unresolved external symbol _SDL_GL_SwapBuffers referenced in function "void __cdecl GLimp_SwapBuffers(void)" (?GLimp_SwapBuffers@@YAXXZ)
5>glimp.obj : error LNK2019: unresolved external symbol _SDL_SetGammaRamp referenced in function "void __cdecl GLimp_SetGamma(unsigned short * const,unsigned short * const,unsigned short * const)" (?GLimp_SetGamma@@YAXQAG00@Z)
5>glimp.obj : error LNK2019: unresolved external symbol _SDL_GL_GetProcAddress referenced in function _GLimp_ExtensionPointer
5>glimp.obj : error LNK2019: unresolved external symbol _SDL_WM_GrabInput referenced in function "void __cdecl GLimp_GrabInput(int)" (?GLimp_GrabInput@@YAXH@Z)
5>glimp.obj : error LNK2019: unresolved external symbol _SDL_ShowCursor referenced in function "void __cdecl GLimp_GrabInput(int)" (?GLimp_GrabInput@@YAXH@Z)
5>D:\SANDBOX\DOOM3\dhewm3\build\Release\dhewm3.exe : fatal error LNK1120: 98 unresolved externals
5>
5>Build FAILED.
5>
5>Time Elapsed 00:01:08.27
6>------ Skipped Build: Project: ALL_BUILD, Configuration: Release Win32 ------
6>Project not selected to build for this solution configuration
========== Build: 4 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========


Additional Include Directories under C/C++

D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\include;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\include\AL;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\include\SDL;
D:\SANDBOX\DOOM3\dhewm3\build;
D:\SANDBOX\DOOM3\dhewm3\dhewm3-master\neo;%(AdditionalIncludeDirectories)


and Additional Dependencies under Linker->Input

kernel32.lib;
user32.lib;
gdi32.lib;
winspool.lib;
shell32.lib;
ole32.lib;
oleaut32.lib;
uuid.lib;
comdlg32.lib;
advapi32.lib;
Release\idlib.lib;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\lib\OpenAL32.lib;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\lib\ogg.lib;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\lib\vorbisfile.lib;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\lib\vorbis.lib;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\lib\curl.lib;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\lib\jpeg.lib;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\lib\zlib1.lib;
D:\SANDBOX\DOOM3\dhewm3\x86_64-w64-mingw32\lib\SDL.lib;
winmm.lib;
iphlpapi.lib;
wsock32.lib

vladdrak

#9
alrite, here's what helped me build the entire thing for VS10 on my Win7 x64:
cmake -G "Visual Studio 10 Win64" -DDHEWM3LIBS=/path/to/dhewm3-libs/x86_64-w64-mingw32 /path/to/repository/neo
in contrast to previous attempts, a flag to the compiler setting added.
no additional linkage to the DXSDK required (given that it uses the default installation path).

thank you all for your hints, guys!