Help - Search - Members - Calendar
Full Version: trying to compile foo_dsp_xover
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
kevino
Hi,

I'm trying to fix a bug in the plugin "foo_dsp_xover" and I'm running into some errors (I've got a lot of experience
with programming on Linux but not on windows so I'm not sure whether the errors are fundamentally to do with the foobar
sdk or windows).
The first error relates to the line:

m_hwnd = uCreateDialog(IDD_PROPERTIES, hwnd, PropertiesProc);

"1>.\PropertiesDlg.cpp(91) : error C3861: 'uCreateDialog': identifier not found"


and the second


p_out = new service_impl_t<T>(p_preset);

"1>c:\documents and settings\administrator\desktop\foobar200\foobar2000\sdk\dsp.h(359) : error C2259: 'service_impl_t<T>' : cannot instantiate abstract class""



I assume that my dev environment isn't set up correctly but I've follow the instructions (I think).
Any help much appreciated and I'll be hopefully be feeding back in my bug fixes to the community later.

Thanks in advance
Yirkha
QUOTE (kevino @ Feb 10 2009, 23:20) *
1>.\PropertiesDlg.cpp(91) : error C3861: 'uCreateDialog': identifier not found
uCreateDialog(), simple wrapper around Win32 API CreateDialog(), is in the "SDK Helpers" project. Make sure you include .../foobar2000/helpers/helpers.h.
QUOTE (kevino @ Feb 10 2009, 23:20) *
p_out = new service_impl_t<T>(p_preset);
1>c:\documents and settings\administrator\desktop\foobar200\foobar2000\sdk\dsp.h(359) : error C2259: 'service_impl_t<T>' : cannot instantiate abstract class
Make sure you implement all methods of the DSP class passed as template argument T. (I can't say more, it should list them.)
lvqcl
QUOTE (kevino @ Feb 11 2009, 01:20) *
I'm trying to fix a bug in the plugin "foo_dsp_xover" and I'm running into some errors

Hello,
Some time ago I recompiled foo_dsp_xover with current SDK and uploaded it here - http://www.hydrogenaudio.org/forums/index....showtopic=68858
Modified files are included into archive.
kevino
QUOTE (Yirkha @ Feb 11 2009, 12:31) *
QUOTE (kevino @ Feb 10 2009, 23:20) *
1>.\PropertiesDlg.cpp(91) : error C3861: 'uCreateDialog': identifier not found
uCreateDialog(), simple wrapper around Win32 API CreateDialog(), is in the "SDK Helpers" project. Make sure you include .../foobar2000/helpers/helpers.h.
QUOTE (kevino @ Feb 10 2009, 23:20) *
p_out = new service_impl_t<T>(p_preset);
1>c:\documents and settings\administrator\desktop\foobar200\foobar2000\sdk\dsp.h(359) : error C2259: 'service_impl_t<T>' : cannot instantiate abstract class
Make sure you implement all methods of the DSP class passed as template argument T. (I can't say more, it should list them.)



Thanks Yirkha - I've just scanned through the source files and can see what you mean.
kevino
QUOTE (lvqcl @ Feb 11 2009, 16:55) *
QUOTE (kevino @ Feb 11 2009, 01:20) *
I'm trying to fix a bug in the plugin "foo_dsp_xover" and I'm running into some errors

Hello,
Some time ago I recompiled foo_dsp_xover with current SDK and uploaded it here - http://www.hydrogenaudio.org/forums/index....showtopic=68858
Modified files are included into archive.


thanks lvqcl - I need to compile it for myself as I need to fix a bug (the one where the channel allocation gets mixed up
for 7.1)
lvqcl
QUOTE
thanks lvqcl - I need to compile it for myself

I ought to write "modified source files". smile.gif
kevino
thanks again guys - I've managed to get it to compile (I had to find a missing header "afxres.h" in addition
to your suggestions).
only problem now is that it doesn't seem to build a .dll - the only related file that I can find is
"foo_dsp_xover.dll.intermediate.manifest" that is only a few 100 bytes in size.
Any suggestions?

Thanks
kevino
ah, sorry, forget that - was looking in the wrong folder blush.gif
kevino
great, the recompile seems to have fixed the 7.1 'channel confusion' issue smile.gif
Not sure where the bug fix was - I'm assuming it was in fb itself rather than
the xover plugin as hardly anything was changed.
Now I can assign my low/mid/high channels to which ever 'ports' I like
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.