When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
15 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
Show the full error message.
Double-click it to see the full error message.
double clicking just takes me to the line
Then invoke a build and see in the Output window.
It only tells me 'Build failed'
...
6> mhstatus.c
6> mhtext.c
6> mswproc.c
6> NetHackW.c
6> Generating Code...
========== Build: 5 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Build failed.
Look in the previous lines too.
6>------ Build started: Project: NetHackW, Configuration: Debug|Win32 ------
6> fmod.c
6>C:\Users\tridu\source\repos\NetHack\lib\fmod\api\core\inc\fmod_dsp.h(188,6): warning C4201: nonstandard extension used: nameless struct/union
6>C:\Users\tridu\Source\Repos\NetHack\sound\fmod\fmod.c(35,1): error C2078: too many initializers
6>C:\Users\tridu\Source\Repos\NetHack\sound\fmod\fmod.c(33,5): error C2078: too many initializers
6>C:\Users\tridu\Source\Repos\NetHack\sound\fmod\fmod.c(49,23): warning C4047: 'function': 'FMOD_SYSTEM *' differs in levels of indirection from 'FMOD_SYSTEM **'
6>C:\Users\tridu\Source\Repos\NetHack\sound\fmod\fmod.c(49,23): warning C4024: 'FMOD_System_Close': different types for formal and actual parameter 1
6>C:\Users\tridu\Source\Repos\NetHack\sound\fmod\fmod.c(50,25): warning C4047: 'function': 'FMOD_SYSTEM *' differs in levels of indirection from 'FMOD_SYSTEM **'
6>C:\Users\tridu\Source\Repos\NetHack\sound\fmod\fmod.c(50,25): warning C4024: 'FMOD_System_Release': different types for formal and actual parameter 1
6>C:\Users\tridu\Source\Repos\NetHack\sound\fmod\fmod.c(68,59): warning C4028: formal parameter 2 different from declaration
What is SOUNDID?
#define SOUNDID(soundname) #soundname, ((enum soundlib_ids) soundlib_##soundname)
struct sound_procs {
const char *soundname;
enum soundlib_ids soundlib_id;
unsigned long sound_triggers; /* capabilities in the port */
void (*sound_init_nhsound)(void);
void (*sound_exit_nhsound)(const char *);
void (*sound_achievement)(schar, schar, int32_t);
void (*sound_soundeffect)(char *desc, int32_t, int32_t volume);
void (*sound_hero_playnotes)(int32_t instrument, const char *str,
int32_t volume);
void (*sound_play_usersound)(char *filename, int32_t volume, int32_t idx);
void (*sound_ambience)(int32_t ambience_action, int32_t ambienceid,
int32_t proximity);
void (*sound_verbal)(char *text, int32_t gender, int32_t tone,
int32_t vol, int32_t moreinfo);
};
@signal hatch
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.
!solved
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity