Open boswelyu opened 8 years ago
I met the same problem , did you fix it?
Click Project / Add Reference then browse for Tao.DevIl.dll and System.Half.dll. You can get Tao.Devil here: http://sourceforge.net/projects/taoframework/ System.Half you have to build from here: http://sourceforge.net/projects/csharp-half/ Or you can find all dll files in one of my releases.
(float) is only a cast, it doesn't convert the bytes into a half-precision floating point.
As for the FMOD error, make sure you have fmod.dll in your Debug/Release folder.
When I try to open a texture in asset list, it apears a exception and says can't load dll "Devil.dll". The exception interrupt here: Il.ilGenImages(1, out img_name);
I just downloaded from https://sourceforge.net/projects/taoframework/?source=typ_redirect It seems ok, I'm now finding the System.Half
I need your help on the project build.
My Environment is Windows 7, VS 2015, I used the git cloned project, but have an error when build, Firstly, it say no Tao.DevIl package found, I searched the Tao Package, and parsed Il.cs into project. then this error go away; Then, It say no Half defined, I looked the project References configured, it also say No System.Half was found. After I changed one line of code:result = Half.ToHalf(inputBytes, 0); to result = (float) BitConverter.ToInt16(inputBytes, 0); this error can also be fixed, (and I think they should be same, right?).
But after that, when try to start it in VS, it reported one dll error: Additional information: Unable to find an entry point named 'FMOD_System_Create' in DLL 'fmod'.
How could I solve it? Thanks for your time in advance.