0
0

Hi,
I’ve been away for a while, and just updated FMOD to 4.28 latest stable.

I cleaned out the old build installed it and converted the C# examples VS2005 project solution under VS 2008 express.

However, I immediately get 50+ build errors like
Error 1 The name ‘FMOD_ERR_MUSIC_UNINITIALIZED’ does not exist in the current context C:\Program Files\FMOD SoundSystem\FMOD Programmers API Win32\examples_csharp\vs2005\virtualvoices\fmod_errors.cs 115 22 virtualvoices

Any clues?

Thanks,
sv

  • You must to post comments
0
0

Hi sonicviz,

Thanks for the report, there is an error in the fmod_errors.cs file I have fixed it for the next release.

To get it working:
delete FMOD_ERR_MUSIC_UNINITIALIZED entry

change the FMOD_ERR_MUSIC_NOTFOUND entry to:
[code:hrbjgjn8]case FMOD.RESULT.ERR_MUSIC_NOTFOUND: return "The requested music entity could not be found.";[/code:hrbjgjn8]

-Pete

  • You must to post comments
0
0

Thanks pete

I changed fmod_errors in the api csharp directory, it got rid of most but I have some other errors unrelated.

Error 1 ‘FMOD.RESULT’ does not contain a definition for ‘ERR_PRELOADED’ C:\Program Files\FMOD SoundSystem\FMOD Programmers API Win32\examples_csharp\vs2005\useplugins\fmod_errors.cs 88 34 useplugins

Error 2 ‘FMOD.RESULT’ does not contain a definition for ‘ERR_PROGRAMMERSOUND’ C:\Program Files\FMOD SoundSystem\FMOD Programmers API Win32\examples_csharp\vs2005\useplugins\fmod_errors.cs 89 34 useplugins

Error 3 ‘FMOD.RESULT’ does not contain a definition for ‘ERR_MUSIC_NOTFOUND’ C:\Program Files\FMOD SoundSystem\FMOD Programmers API Win32\examples_csharp\vs2005\useplugins\fmod_errors.cs 115 34 useplugins

Does anybody compile these after the api changes?
It seems like a pretty basic error to pick up, compile source, clean compile aok!

ty

  • You must to post comments
0
0

The API changes which caused the original errors were recent and the examples hadn’t been compiled here until I was responding to your first post. It is all fixed for the next release of 4.29.

-Pete

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.