[gstreamer-bugs] [Bug 325653] New: build errors compiling audioresample on win32(vs7)
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Jan 3 10:38:17 PST 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=325653
GStreamer | gst-plugins-base | Ver: HEAD CVS
Summary: build errors compiling audioresample on win32(vs7)
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Windows
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: sergey.scobich at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
rint() function is not defined in windows headers. Unresolved external error.
1. debug.h:
Microsoft compiler doesn't like ... in macroses and doesn't know what is
__VA_ARGS__.
#define RESAMPLE_ERROR(...) GST_ERROR(__VA_ARGS__)
#define RESAMPLE_WARNING(...) GST_WARNING(__VA_ARGS__)
#define RESAMPLE_INFO(...) GST_INFO(__VA_ARGS__)
#define RESAMPLE_DEBUG(...) GST_DEBUG(__VA_ARGS__)
#define RESAMPLE_LOG(...) GST_LOG(__VA_ARGS__)
2. debug.c:
a) please replace
#include <debug.h>
with
#include "debug.h"
b) static int resample_debug_level = RESAMPLE_LEVEL_ERROR;
RESAMPLE_LEVEL_ERROR - is undeclared identifier (it is hidden by #if 0 macro in
debug.h)
c) void
resample_debug_set_level (int level)
{
resample_debug_level = level;
}
sintax error - because resample_debug_set_level is redefined as do { } while
(0) in debug.h
3. resample.c
liboil/liboil.h is referenced here but not used.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list