fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Compiling FluidSynth 1.1.0 & VS2008


From: josh
Subject: Re: [fluid-dev] Compiling FluidSynth 1.1.0 & VS2008
Date: Thu, 11 Feb 2010 12:47:07 -0800
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)

Quoting Stefan Khan-Kernahan <address@hidden>:
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



Hello.

It looks like a winsock related issue. FluidSynth now has support for Winsock on windows. It seems the WITHOUT_SERVER doesn't exclude the related code though, so its still trying to build it. You might just have to include the windows Winsock lib, but I'm not sure exactly what that entails. It seemed to work OK for me though. Are you using the included VS project file?

Josh





reply via email to

[Prev in Thread] Current Thread [Next in Thread]