Hi,
I just found out about this project, rushing through the vids to catch up, but only on day 8. I love it by the way, I'm a pretty die hard C# programmer, but really appreciate the opportunity to be walked through a C project (having only ever written 1 C program at university, a wav audio processing tool)
In regards to the project (day 8 ) however, I have linker errors:
// ------------------------------------------------------------------------------
Severity Description Project File Line
Warning warning LNK4272: library machine type 'UNKNOWN' conflicts with target machine type 'X86' HandmadeHero OLDNAMES.lib 1
// -----------------
Severity Description Project File Line
Error error LNK1120: 1 unresolved externals HandmadeHero HandmadeHero.exe
// -----------------
Severity Description Project File Line
Error error LNK2019: unresolved external symbol _DirectSoundCreate8@12 referenced in function "void __cdecl InitDirectSound(struct HWND__ *,int,int)" (?InitDirectSound@@YAXPAUHWND__@@HH@Z) HandmadeHero Main.obj
// ---------------------------------------------------------------------------
To overcome this, I had to use:
#pragma comment(lib, "dsound.lib")
I'm on Windows 8.1, using xinput9_1_0.dll. Not sure about sound.
Can anyone explain whats going on ?
Cheers.