Hi hi, so after a long while, I'm finally back to trying to incorporate
FluidSynth (1.1.0) in a small program. I'm at the point in VS 2008 where I'm
trying to compile the dll, and I get the following errors, and I can't
figure out what it is that I am overlooking. Could anyone explain the build
process to me?
What I've done: included dsound.h, glib.h and glibconfig.h
included dsound.lib, winmm.lib, glib-2.0.lib, gthread-2.0.lib, gio-2.0.lib
I'm building as Multi-Threadad DLL
I have this from the build log:
1>Linking...
1> Creating library .\Release/fluidsynth.lib and object
.\Release/fluidsynth.exp
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden in function _fluid_istream_gets
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden in function _fluid_ostream_printf
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden referenced in function _fluid_socket_close
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden referenced in function _fluid_server_socket_run
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden referenced in function _fluid_server_socket_run
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden in function _fluid_server_socket_run
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden in function _new_fluid_server_socket
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden in function _new_fluid_server_socket
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden in function _new_fluid_server_socket
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden in function _new_fluid_server_socket
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden referenced in function _new_fluid_server_socket
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden in function _new_fluid_server_socket
1>fluid_sys.obj : error LNK2019: unresolved external symbol
address@hidden referenced in function _new_fluid_server_socket
1>../fluidsynth.dll : fatal error LNK1120: 13 unresolved externals
In the config_win32.h I tried adding in #define WITHOUT_SERVER 1 (line was
not in the file before), it didn't help.
Am I doing something wrong? Have I left out an import?
Regards
- Stefan