Displaying 5 results from an estimated 5 matches for "speexdec_sourc".
Did you mean:
speexdec_sources
2004 Aug 06
1
patch to crosscompile with mingw32 on linux
according to my little knowledge about automake,
its not possible to put variables in _SOURCES.
so something like
speexdec_SOURCES = speexdec.c wav_io.c $(WIN32_OBJ)
is not possible. but than i looked into wave_out.c and
the entire source is surrounded by
#if defined WIN32 || defined _WIN32
so it will just disappear than build on linux.
j
On Fri, 2004-02-13 at 07:59, Jean-Marc Valin wrote:
> Hi,
>
> Thanks for the...
2004 Aug 06
1
patch for compiling on IRIX
...04 08:59:58 -0000
@@ -18,7 +18,11 @@
bin_PROGRAMS = speexenc speexdec
speexenc_SOURCES = speexenc.c wav_io.c
-speexenc_LDADD = $(top_builddir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS)
+speexenc_LDADD = $(top_builddir)/libspeex/libspeex.la \
+ $(OGG_LDFLAGS) $(OGG_LIBS) \
+ @LTLIBOBJS@
speexdec_SOURCES = speexdec.c wav_io.c
-speexdec_LDADD = $(top_builddir)/libspeex/libspeex.la $(OGG_LDFLAGS) $(OGG_LIBS)
+speexdec_LDADD = $(top_builddir)/libspeex/libspeex.la \
+ $(OGG_LDFLAGS) $(OGG_LIBS) \
+ @LTLIBOBJS@
Index: src/speexdec.c
===================================================================
R...
2004 Aug 06
2
patch to crosscompile with mingw32 on linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speex.mingw.patch__charset_ISO-8859-15
Type: text/x-patch
Size: 1490 bytes
Desc: speex.mingw.patch__charset_ISO-8859-15
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040212/51b4c2a9/speex.mingw-0001.bin
2016 Jul 08
3
failure with latest cross compiling
As a note, with the latest versions, I get this "new" failure, when
cross compiling for windows using mingw:
CCLD speexdec.exe
speexdec.o:speexdec.c:(.text+0x4af): undefined reference to
`_imp__waveOutGetNumDevs at 0'
speexdec.o:speexdec.c:(.text+0x54d): undefined reference to
`_imp__waveOutOpen at 24'
speexdec.o:speexdec.c:(.text+0x5aa): undefined reference to
2017 May 29
0
[PATCH] Add CMake build script
...G_LIBRARIES} ${SPEEXDSP_LIBRARIES})
+if(WIN32)
+ target_link_libraries(speexenc PRIVATE winmm.lib)
+endif()
+target_compile_definitions(speexenc
+ PRIVATE -DHAVE_CONFIG_H)
+if(NOT HAVE_GETOPT_LONG)
+ target_sources(speexenc PRIVATE
+ src/getopt.c
+ src/getopt1.c
+ src/wave_out.c)
+endif()
+
+SET(speexdec_SOURCES
+ src/speexdec.c
+ src/wav_io.c)
+add_executable(speexdec ${speexdec_SOURCES})
+target_include_directories(speexdec
+ PRIVATE
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
+ $<BUILD_INTERFACE:${OGG_INCLUDE_DIRS}>)
+target_link_libraries(speexdec PUBLIC speex ${OGG_LIBRARIES})
+if...