Displaying 4 results from an estimated 4 matches for "example_cpp_encode_fil".
Did you mean:
example_cpp_encode_file
2015 Aug 31
1
error LNK2001: unresolved external symbol _fopen_utf8
Hi everyone,
I'm trying to get started with libFLAC++. I've built the static libs
libFLAC, libFLAC++ and libogg using VS2010 on windows 7. However when
I try build the example project "example_cpp_encode_file" I get a lot
of linker errors. I checked linker/input/additional dependencies and
added the paths for libFLAC, libFLAC++ and corrected the path for
libogg. Now I'm just getting one link error:
libFLAC_static.lib(stream_encoder.obj) : error LNK2001: unresolved
external symbol _fopen_utf8...
2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
...op_builddir)/src/libFLAC++/libFLAC++.la \
diff --git a/examples/cpp/encode/file/Makefile.am b/examples/cpp/encode/file/Makefile.am
index 42589f0..d07064f 100644
--- a/examples/cpp/encode/file/Makefile.am
+++ b/examples/cpp/encode/file/Makefile.am
@@ -19,7 +19,7 @@ EXTRA_DIST = \
Makefile.lite \
example_cpp_encode_file.dsp \
example_cpp_encode_file.vcproj
-
+AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
noinst_PROGRAMS = example_cpp_encode_file
example_cpp_encode_file_LDADD = \
$(top_builddir)/src/libFLAC++/libFLAC++.la \
diff --git a/include/FLAC++/Makefile.am b/include/FLAC+...
2012 Dec 26
0
[PATCH] Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
...lFLAC $(OGG_LIBS) -lm
endif
SRCS_CPP = main.cpp
diff --git a/examples/cpp/encode/file/Makefile.lite
b/examples/cpp/encode/file/Makefile.lite
index 001fc6e..a6926b9 100644
--- a/examples/cpp/encode/file/Makefile.lite
+++ b/examples/cpp/encode/file/Makefile.lite
@@ -27,9 +27,9 @@ PROGRAM_NAME = example_cpp_encode_file
INCLUDES = -I$(topdir)/include
ifeq ($(OS),Darwin)
-EXPLICIT_LIBS = $(libdir)/libFLAC++.a $(libdir)/libFLAC.a
$(OGG_LIB_DIR)/libogg.a -lm
+ EXPLICIT_LIBS = $(libdir)/libFLAC++.a $(libdir)/libFLAC.a
$(OGG_EXPLICIT_LIBS) -lm
else
-LIBS = -lFLAC++ -lFLAC -L$(OGG_LIB_DIR) -logg -lm
+ LI...
2012 Dec 27
4
[PATCH] Makefile.lite: Fix building with MSYS and MinGW(-w64), Improvements
...lFLAC $(OGG_LIBS) -lm
endif
SRCS_CPP = main.cpp
diff --git a/examples/cpp/encode/file/Makefile.lite
b/examples/cpp/encode/file/Makefile.lite
index 001fc6e..a6926b9 100644
--- a/examples/cpp/encode/file/Makefile.lite
+++ b/examples/cpp/encode/file/Makefile.lite
@@ -27,9 +27,9 @@ PROGRAM_NAME = example_cpp_encode_file
INCLUDES = -I$(topdir)/include
ifeq ($(OS),Darwin)
-EXPLICIT_LIBS = $(libdir)/libFLAC++.a $(libdir)/libFLAC.a
$(OGG_LIB_DIR)/libogg.a -lm
+ EXPLICIT_LIBS = $(libdir)/libFLAC++.a $(libdir)/libFLAC.a
$(OGG_EXPLICIT_LIBS) -lm
else
-LIBS = -lFLAC++ -lFLAC -L$(OGG_LIB_DIR) -logg -lm
+ LI...