View Full Version : Avisynth 3.0 for Linux
d'Oursse
7th February 2007, 20:44
bjam is used to compile boost. If boost is installed, you don't need it.
liboil is used to get gstreamer compiled, so no need to update it
I fear that gcc 4.1 will have problems with block :/ Try and tell me.
I have to update the doc. The versions of gstreamer libs, freetype and fontconfig are not up to date :)
Amnon82
7th February 2007, 20:47
STLport is still needed, right?
So I did a package:
[amnon@amnonsstation:~]$ upkg-show stlport
stlport-x86-glibc-2.5-gcc-4.1-1-5.0.3-1
----
Package: stlport
Version: 5.0.3-1
Branch: testing
Installed-Size: 5118 KB
Build-Duration: 1 min
Build-Date: 2007-02-07 21:33:49 +0000
Build-Host: amnonsstation.paldo.org
- /usr
- /usr/include/stlport
- /usr/include/stlport/algorithm
- /usr/include/stlport/assert.h
- /usr/include/stlport/bitset
- /usr/include/stlport/cassert
- /usr/include/stlport/cctype
- /usr/include/stlport/cerrno
- /usr/include/stlport/cfloat
- /usr/include/stlport/ciso646
- /usr/include/stlport/climits
- /usr/include/stlport/clocale
- /usr/include/stlport/cmath
- /usr/include/stlport/complex
- /usr/include/stlport/config
- /usr/include/stlport/config/_epilog.h
- /usr/include/stlport/config/_msvc_warnings_off.h
- /usr/include/stlport/config/new_compiler
- /usr/include/stlport/config/new_compiler/configure
- /usr/include/stlport/config/new_compiler/configure.in
- /usr/include/stlport/config/new_compiler/README
- /usr/include/stlport/config/new_compiler/stlconf.h.in
- /usr/include/stlport/config/new_compiler/unconfigure
- /usr/include/stlport/config/_prolog.h
- /usr/include/stlport/config/stl_apcc.h
- /usr/include/stlport/config/stl_apple.h
- /usr/include/stlport/config/stl_as400.h
- /usr/include/stlport/config/stl_bc.h
- /usr/include/stlport/config/stl_como.h
- /usr/include/stlport/config/stlcomp.h
- /usr/include/stlport/config/stl_confix.h
- /usr/include/stlport/config/stl_cray.h
- /usr/include/stlport/config/stl_dec.h
- /usr/include/stlport/config/stl_dec_vms.h
- /usr/include/stlport/config/stl_dm.h
- /usr/include/stlport/config/stl_evc.h
- /usr/include/stlport/config/stl_fujitsu.h
- /usr/include/stlport/config/stl_gcc.h
- /usr/include/stlport/config/stl_hpacc.h
- /usr/include/stlport/config/stl_ibm.h
- /usr/include/stlport/config/stl_icc.h
- /usr/include/stlport/config/stl_intel.h
- /usr/include/stlport/config/stl_kai.h
- /usr/include/stlport/config/stl_mlc.h
- /usr/include/stlport/config/stl_msvc.h
- /usr/include/stlport/config/stl_mwerks.h
- /usr/include/stlport/config/stl_mycomp.h
- /usr/include/stlport/config/stl_sco.h
- /usr/include/stlport/config/stl_sgi.h
- /usr/include/stlport/config/stl_solaris.h
- /usr/include/stlport/config/stl_sunpro.h
- /usr/include/stlport/config/stl_symantec.h
- /usr/include/stlport/config/stl_watcom.h
- /usr/include/stlport/config/stl_wince.h
- /usr/include/stlport/csetjmp
- /usr/include/stlport/csignal
- /usr/include/stlport/cstdarg
- /usr/include/stlport/cstddef
- /usr/include/stlport/cstdio
- /usr/include/stlport/cstdlib
- /usr/include/stlport/cstring
- /usr/include/stlport/ctime
- /usr/include/stlport/ctype.h
- /usr/include/stlport/cwchar
- /usr/include/stlport/cwctype
- /usr/include/stlport/deque
- /usr/include/stlport/errno.h
- /usr/include/stlport/exception
- /usr/include/stlport/exception.h
- /usr/include/stlport/float.h
- /usr/include/stlport/fstream
- /usr/include/stlport/fstream.h
- /usr/include/stlport/functional
- /usr/include/stlport/hash_map
- /usr/include/stlport/hash_set
- /usr/include/stlport/iomanip
- /usr/include/stlport/iomanip.h
- /usr/include/stlport/ios
- /usr/include/stlport/iosfwd
- /usr/include/stlport/ios.h
- /usr/include/stlport/iostream
- /usr/include/stlport/iostream.h
- /usr/include/stlport/iso646.h
- /usr/include/stlport/istream
- /usr/include/stlport/istream.h
- /usr/include/stlport/iterator
- /usr/include/stlport/limits
- /usr/include/stlport/limits.h
- /usr/include/stlport/list
- /usr/include/stlport/locale
- /usr/include/stlport/locale.h
- /usr/include/stlport/map
- /usr/include/stlport/math.h
- /usr/include/stlport/mem.h
- /usr/include/stlport/memory
- /usr/include/stlport/new
- /usr/include/stlport/new.h
- /usr/include/stlport/numeric
- /usr/include/stlport/ostream
- /usr/include/stlport/ostream.h
- /usr/include/stlport/pthread_alloc
- /usr/include/stlport/pthread.h
- /usr/include/stlport/queue
- /usr/include/stlport/rlocks.h
- /usr/include/stlport/rope
- /usr/include/stlport/set
- /usr/include/stlport/setjmp.h
- /usr/include/stlport/signal.h
- /usr/include/stlport/slist
- /usr/include/stlport/sstream
- /usr/include/stlport/stack
- /usr/include/stlport/stdarg.h
- /usr/include/stlport/stddef.h
- /usr/include/stlport/stdexcept
- /usr/include/stlport/stdio.h
- /usr/include/stlport/stdiostream.h
- /usr/include/stlport/stdlib.h
- /usr/include/stlport/stl
- /usr/include/stlport/stl/_abbrevs.h
- /usr/include/stlport/stl/_algobase.c
- /usr/include/stlport/stl/_algobase.h
- /usr/include/stlport/stl/_algo.c
- /usr/include/stlport/stl/_algo.h
- /usr/include/stlport/stl/_alloc.c
- /usr/include/stlport/stl/_alloc.h
- /usr/include/stlport/stl/_alloc_old.h
- /usr/include/stlport/stl/_auto_ptr.h
- /usr/include/stlport/stl/_bitset.c
- /usr/include/stlport/stl/_bitset.h
- /usr/include/stlport/stl/boost_type_traits.h
- /usr/include/stlport/stl/_bvector.h
- /usr/include/stlport/stl/char_traits.h
- /usr/include/stlport/stl/_check_config.h
- /usr/include/stlport/stl/c_locale.h
- /usr/include/stlport/stl/_cmath.h
- /usr/include/stlport/stl/_codecvt.h
- /usr/include/stlport/stl/_collate.h
- /usr/include/stlport/stl/_complex.c
- /usr/include/stlport/stl/_complex.h
- /usr/include/stlport/stl/concept_checks.h
- /usr/include/stlport/stl/_config_compat.h
- /usr/include/stlport/stl/_config_compat_post.h
- /usr/include/stlport/stl/_config.h
- /usr/include/stlport/stl/_construct.h
- /usr/include/stlport/stl/_ctraits_fns.h
- /usr/include/stlport/stl/_ctype.h
- /usr/include/stlport/stl/_cwchar.h
- /usr/include/stlport/stl/_cwctype.h
- /usr/include/stlport/stl/debug
- /usr/include/stlport/stl/debug/_debug.c
- /usr/include/stlport/stl/debug/_debug.h
- /usr/include/stlport/stl/debug/_deque.h
- /usr/include/stlport/stl/debug/_hashtable.h
- /usr/include/stlport/stl/debug/_iterator.h
- /usr/include/stlport/stl/debug/_list.h
- /usr/include/stlport/stl/debug/_relops_cont.h
- /usr/include/stlport/stl/debug/_relops_hash_cont.h
- /usr/include/stlport/stl/debug/_slist.h
- /usr/include/stlport/stl/debug/_string.h
- /usr/include/stlport/stl/debug/_string_workaround.h
- /usr/include/stlport/stl/debug/_tree.h
- /usr/include/stlport/stl/debug/_vector.h
- /usr/include/stlport/stl/_deque.c
- /usr/include/stlport/stl/_deque.h
- /usr/include/stlport/stl/_epilog.h
- /usr/include/stlport/stl/_exception.h
- /usr/include/stlport/stl/_fstream.c
- /usr/include/stlport/stl/_fstream.h
- /usr/include/stlport/stl/_function_adaptors.h
- /usr/include/stlport/stl/_function_base.h
- /usr/include/stlport/stl/_function.h
- /usr/include/stlport/stl/_hash_fun.h
- /usr/include/stlport/stl/_hash_map.h
- /usr/include/stlport/stl/_hash_set.h
- /usr/include/stlport/stl/_hashtable.c
- /usr/include/stlport/stl/_hashtable.h
- /usr/include/stlport/stl/_heap.c
- /usr/include/stlport/stl/_heap.h
- /usr/include/stlport/stl/_ios_base.h
- /usr/include/stlport/stl/_ios.c
- /usr/include/stlport/stl/_ioserr.h
- /usr/include/stlport/stl/_iosfwd.h
- /usr/include/stlport/stl/_ios.h
- /usr/include/stlport/stl/_iostream_string.h
- /usr/include/stlport/stl/_istreambuf_iterator.h
- /usr/include/stlport/stl/_istream.c
- /usr/include/stlport/stl/_istream.h
- /usr/include/stlport/stl/_iterator_base.h
- /usr/include/stlport/stl/_iterator.h
- /usr/include/stlport/stl/_iterator_old.h
- /usr/include/stlport/stl/_limits.c
- /usr/include/stlport/stl/_limits.h
- /usr/include/stlport/stl/_list.c
- /usr/include/stlport/stl/_list.h
- /usr/include/stlport/stl/_locale.h
- /usr/include/stlport/stl/_map.h
- /usr/include/stlport/stl/_messages_facets.h
- /usr/include/stlport/stl/_monetary.c
- /usr/include/stlport/stl/_monetary.h
- /usr/include/stlport/stl/_move_construct_fwk.h
- /usr/include/stlport/stl/msl_string.h
- /usr/include/stlport/stl/_new.h
- /usr/include/stlport/stl/_null_stream.h
- /usr/include/stlport/stl/_numeric.c
- /usr/include/stlport/stl/_numeric.h
- /usr/include/stlport/stl/_num_get.c
- /usr/include/stlport/stl/_num_get.h
- /usr/include/stlport/stl/_numpunct.h
- /usr/include/stlport/stl/_num_put.c
- /usr/include/stlport/stl/_num_put.h
- /usr/include/stlport/stl/_ostreambuf_iterator.h
- /usr/include/stlport/stl/_ostream.c
- /usr/include/stlport/stl/_ostream.h
- /usr/include/stlport/stl/_pair.h
- /usr/include/stlport/stl/pointers
- /usr/include/stlport/stl/pointers/_deque.h
- /usr/include/stlport/stl/pointers/_list.h
- /usr/include/stlport/stl/pointers/_slist.h
- /usr/include/stlport/stl/pointers/_vector.h
- /usr/include/stlport/stl/pointers/_void_ptr_traits.h
- /usr/include/stlport/stl/_prolog.h
- /usr/include/stlport/stl/_pthread_alloc.c
- /usr/include/stlport/stl/_pthread_alloc.h
- /usr/include/stlport/stl/_ptrs_specialize.h
- /usr/include/stlport/stl/_queue.h
- /usr/include/stlport/stl/_range_errors.h
- /usr/include/stlport/stl/_raw_storage_iter.h
- /usr/include/stlport/stl/_relops_cont.h
- /usr/include/stlport/stl/_relops_hash_cont.h
- /usr/include/stlport/stl/_rope.c
- /usr/include/stlport/stl/_rope.h
- /usr/include/stlport/stl/_set.h
- /usr/include/stlport/stl/_site_config.h
- /usr/include/stlport/stl/_slist_base.c
- /usr/include/stlport/stl/_slist_base.h
- /usr/include/stlport/stl/_slist.c
- /usr/include/stlport/stl/_slist.h
- /usr/include/stlport/stl/_sparc_atomic.h
- /usr/include/stlport/stl/_sstream.c
- /usr/include/stlport/stl/_sstream.h
- /usr/include/stlport/stl/_stack.h
- /usr/include/stlport/stl/_stlport_version.h
- /usr/include/stlport/stl/_streambuf.c
- /usr/include/stlport/stl/_streambuf.h
- /usr/include/stlport/stl/_stream_iterator.h
- /usr/include/stlport/stl/_string_base.h
- /usr/include/stlport/stl/_string.c
- /usr/include/stlport/stl/_string_fwd.h
- /usr/include/stlport/stl/_string.h
- /usr/include/stlport/stl/_string_hash.h
- /usr/include/stlport/stl/_string_io.c
- /usr/include/stlport/stl/_string_io.h
- /usr/include/stlport/stl/_string_operators.h
- /usr/include/stlport/stl/_string_sum.h
- /usr/include/stlport/stl/_string_sum_methods.h
- /usr/include/stlport/stl/_string_workaround.h
- /usr/include/stlport/stl/_strstream.h
- /usr/include/stlport/stl/_tempbuf.c
- /usr/include/stlport/stl/_tempbuf.h
- /usr/include/stlport/stl/_threads.c
- /usr/include/stlport/stl/_threads.h
- /usr/include/stlport/stl/_time_facets.c
- /usr/include/stlport/stl/_time_facets.h
- /usr/include/stlport/stl/_tree.c
- /usr/include/stlport/stl/_tree.h
- /usr/include/stlport/stl/type_manips.h
- /usr/include/stlport/stl/type_traits.h
- /usr/include/stlport/stl/_uninitialized.h
- /usr/include/stlport/stl/_unordered_map.h
- /usr/include/stlport/stl/_unordered_set.h
- /usr/include/stlport/stl_user_config.h
- /usr/include/stlport/stl/_valarray.c
- /usr/include/stlport/stl/_valarray.h
- /usr/include/stlport/stl/_vector.c
- /usr/include/stlport/stl/_vector.h
- /usr/include/stlport/stl/_windows.h
- /usr/include/stlport/stl/wrappers
- /usr/include/stlport/stl/wrappers/_deque.h
- /usr/include/stlport/stl/wrappers/_hash_map.h
- /usr/include/stlport/stl/wrappers/_hash_set.h
- /usr/include/stlport/stl/wrappers/_list.h
- /usr/include/stlport/stl/wrappers/_map.h
- /usr/include/stlport/stl/wrappers/_set.h
- /usr/include/stlport/stl/wrappers/_slist.h
- /usr/include/stlport/stl/wrappers/_vector.h
- /usr/include/stlport/streambuf
- /usr/include/stlport/streambuf.h
- /usr/include/stlport/string
- /usr/include/stlport/string.h
- /usr/include/stlport/strstream
- /usr/include/stlport/strstream.h
- /usr/include/stlport/time.h
- /usr/include/stlport/typeinfo
- /usr/include/stlport/typeinfo.h
- /usr/include/stlport/unordered_map
- /usr/include/stlport/unordered_set
- /usr/include/stlport/using
- /usr/include/stlport/using/cstring
- /usr/include/stlport/using/export
- /usr/include/stlport/using/fstream
- /usr/include/stlport/using/h
- /usr/include/stlport/using/h/fstream.h
- /usr/include/stlport/using/h/iomanip.h
- /usr/include/stlport/using/h/iostream.h
- /usr/include/stlport/using/h/ostream.h
- /usr/include/stlport/using/h/streambuf.h
- /usr/include/stlport/using/h/strstream.h
- /usr/include/stlport/using/iomanip
- /usr/include/stlport/using/ios
- /usr/include/stlport/using/iosfwd
- /usr/include/stlport/using/iostream
- /usr/include/stlport/using/istream
- /usr/include/stlport/using/locale
- /usr/include/stlport/using/ostream
- /usr/include/stlport/using/sstream
- /usr/include/stlport/using/streambuf
- /usr/include/stlport/using/strstream
- /usr/include/stlport/utility
- /usr/include/stlport/valarray
- /usr/include/stlport/vector
- /usr/include/stlport/wchar.h
- /usr/include/stlport/wctype.h
- /usr/lib/libstlportg.so
- /usr/lib/libstlportg.so.5
- /usr/lib/libstlportg.so.5.0
- /usr/lib/libstlportg.so.5.0.3
- /usr/lib/libstlport.so
- /usr/lib/libstlport.so.5
- /usr/lib/libstlport.so.5.0
- /usr/lib/libstlport.so.5.0.3
- /usr/lib/libstlportstlg.so
- /usr/lib/libstlportstlg.so.5
- /usr/lib/libstlportstlg.so.5.0
- /usr/lib/libstlportstlg.so.5.0.3
- /usr/src
Amnon82
7th February 2007, 21:57
In your guide you wrote:
cd
cd avs3_tmp
tar jxvf boost_1_33_1.tar.bz2
tar zxvf boost-jam-3.1.12-1-linuxx86.tgz
cd boost_1_33_1
su (give your root password)
../boost-jam-3.1.12-1-linuxx86/bjam "-sTOOLS=gcc" -sSTLPORT_PATH="/usr/local/include/stlport/" -sSTLPORT_VERSION="5.0.2" --prefix=/usr/local --with-thread install
[ctrl-D] (to return to user mode)
We compiled boost this way (http://www.paldo.org/paldo/specs/boost.xml). This (http://www.paldo.org/paldo/sources/boost/boost_1_33_1.tar.bz2) is the used tarball.
So I have to recompile it with STLport?
Take a look on the boost files (http://www.paldo.org/index-section-packages-page-main-filelist-1-releaseid-71207-binaryid-143474-pagenr-1.html) and tell me what I have to do.
cd avisynth/build
tar jxvf circular_buffer_v3.7.tar.bz2
cd circular_buffer
su (give your root password)
cp -R circular_buffer* /usr/local/include/boost-1_33_1/boost
[ctrl-D] (to return to user mode)
So it will be cp -R circular_buffer* /usr/include/boost, right?
Till now we are using boost only for:
bmpx: beep media player -stable: bmpx-0.34.9-1
mockpp: Mock objects for C++ - stable: mockpp-1.13.0-1
d'Oursse
7th February 2007, 23:27
in boost.xml, why do you remove the static libs ? I need at least one (the thread one) for the compilation of avs3.
Yes, install first STLPORT, then compile boost using STLport. Compile boost with the command I give in the doc. I need at least the thread library (hence the --with-thread parameter. Remove --with thread to compile all the libs). Later, I'll need the test library of boost, for unit tests (but it's more a developper tool than something else).
So it will be cp -R circular_buffer* /usr/include/boost, right?
yes, it's in that directory.
Why don't you keep the boost_1_33_1 dir ? It allows the installation of several boost versions
Amnon82
7th February 2007, 23:59
I didn't do the boost-package. So I'll add a boost-avs package to paldo and compile it as written in your guide.
Here are the files:
boost_1_33_1-2 (http://home.arcor.de/amnonssecondpaldorepo/logs/boost.files) - boost-avs-1.33.1-1 (http://home.arcor.de/amnonssecondpaldorepo/logs/boost-avs.files)
Amnon82
8th February 2007, 01:40
Got the block:
d variable 'synchronizer'
C: core/block/ownedholder.cpp
C: core/block/block.cpp
../../src/core/block/block.cpp:36: error: specialization of 'avs::block_<align>::block_(int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:36: error: invalid function declaration
../../src/core/block/block.cpp:41: error: specialization of 'avs::owned_block<align>::owned_block(const avs::PEnvironment&, int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:41: error: invalid function declaration
make: *** [core/block/block.o] Error 1
*** Error: make
*** ERROR: avisynth-x86-glibc-2.5-gcc-4.1-1-3.0-CVS-20070207-0
will be there a fix soon?
nfm
8th February 2007, 02:54
I'm waiting since November for block.cpp to be rewritten :(
d'Oursse
8th February 2007, 09:56
Nope, same gcc as last time. I even remove the entire directory and re-checkout from cvs between compiles... Same problem with gcc-3.4...
missing ; at the end of a function declaration. My fault.
amnon82: I'll try to get a newer version than gcc 4.1.1. I don't have the problem with it (the g++ parser fixed the bug in a more recent version). I'll lok at it this week end
Amnon82
8th February 2007, 14:05
With 4.1-20070205-1 I got the same error:
C: core/block/block.cpp
../../src/core/block/block.cpp:36: error: specialization of 'avs::block_<align>::block_(int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:36: error: invalid function declaration
../../src/core/block/block.cpp:41: error: specialization of 'avs::owned_block<align>::owned_block(const avs::PEnvironment&, int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:41: error: invalid function declaration
make: *** [core/block/block.o] Error 1
*** Error: make
*** ERROR: avisynth-x86-glibc-2.5-gcc-4.1-1-3.0-CVS-20070208-0
I'll try gcc 4.2 now.
------------------------------------------------------------------------
Avisynth 3.0
------------------------------------------------------------------------
OS..................: linux-gnu
Visibility feature..: no (disabled for now)
Core debug mode.....: no
GNU Profile mode....: no
ASM support.........: yes
Gui program.........: no
Documentation.......: yes
Install path........: /usr
binaries..........: ${exec_prefix}/bin
libraries.........: ${exec_prefix}/lib
headers...........: ${prefix}/include/avisynth-3.0
documentation.....: ${datarootdir}/doc/avisynth-3.0
gst-plugins.......: /usr/lib/gstreamer-0.10
Compilation.........: make
Installation........: make install
btw. how to make the gui?
Amnon82
8th February 2007, 15:12
checking for pthread.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlclose in -ldl... yes
checking for dlsym in -ldl... yes
checking for STLport header files in /usr/include/stlport... no
configure: WARNING: STLport header files not in /usr/include/stlport
checking for STLport header files in /usr/local/include/stlport... no
configure: WARNING: STLport header files not in /usr/local/include/stlport
configure: error: "STLport is needed !"
*** Error: ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --sysconfdir=/etc
*** ERROR: avisynth-x86-glibc-2.5-gcc-4.1-1-3.0-CVS-20070208-0
Seems boost is not compiled right.
I highered the version of stlport- and boost-avs-package but got this error:
[CHECK] make -f gcc.mak
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/dll_main.o ../../src/dll_main.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/fstream.o ../../src/fstream.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/strstream.o ../../src/strstream.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/sstream.o ../../src/sstream.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/ios.o ../../src/ios.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/stdio_streambuf.o ../../src/stdio_streambuf.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/istream.o ../../src/istream.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/ostream.o ../../src/ostream.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/iostream.o ../../src/iostream.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/codecvt.o ../../src/codecvt.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/collate.o ../../src/collate.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/ctype.o ../../src/ctype.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/monetary.o ../../src/monetary.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/num_get.o ../../src/num_get.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/num_put.o ../../src/num_put.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/num_get_float.o ../../src/num_get_float.cpp
c++ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE -I../../stlport -c -o obj/gcc/shared/num_put_float.o ../../src/num_put_float.cpp
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../include/c++/4.2.0/../4.2.0/cmath:52,
from ../../stlport/cmath:30,
from ../../src/num_put_float.cpp:84:
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../include/c++/4.2.0/ext/type_traits.h:184: error: 'streamsize' in namespace 'std' does not name a type
/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../include/c++/4.2.0/ext/type_traits.h:189: error: expected initializer before '__numeric_traits_floating'
make: *** [obj/gcc/shared/num_put_float.o] Error 1
*** Error: make -f gcc.mak
*** ERROR: stlport-x86-glibc-2.5-gcc-4.1-1-5.0.3-2
The spec-files:
avisynth.xml (http://home.arcor.de/amnonssecondpaldorepo/notworking/specs/avisynth.xml)
boost-avs.xml (http://home.arcor.de/amnonssecondpaldorepo/notworking/specs/boost-avs.xml)
stlport.xml (http://home.arcor.de/amnonssecondpaldorepo/notworking/specs/stlport.xml)
gcc.xml (http://home.arcor.de/amnonssecondpaldorepo/notworking/specs/gcc.xml)
Let's try GCC 4.3 (I did a backup of my system with GCC 4.1.1)
GCC 4.3 won't compile so I downgrade to 4.0-20070128 and try it with this one.
Amnon82
8th February 2007, 16:37
I downgraded to GCC 4.0 and compiled it. Now I must find a way to restore the GCC 4.1 after it is done.
avisynth-x86-glibc-2.5-gcc-4.1-1-3.0-CVS-20070208-0
----
Package: avisynth
Version: 3.0-CVS-20070208-0
Branch: testing
Installed-Size: 16117 KB
Build-Duration: 5 min
Build-Date: 2007-02-08 15:11:42 +0000
Build-Host: amnonsstation.paldo.org
Amnon82
8th February 2007, 18:46
Well I found a way to downgrade GCC to Version 4.0 for installing avisynth. After all is done GCC gets restored to his last version.
I'm now testing the final packages.
d'Oursse
8th February 2007, 19:32
don't play with g++ 4.2 or 4.3. The compiler and libstdc++ are changing a lot. If there's a problem with STLport and g++ 4.2, it will be fixed only after an official release of that version of gcc.
to have the gui, you need gtk+ (>= 2.8) and x264 with the gtk interface.
There is a warning message during the configuration of avs3 that tells you what is missing
Amnon82
8th February 2007, 20:16
GTK+ 2.10.9 I have installed on paldo. x264 I compiled for AVIDemux, but without gtk interface. Will see how to do that.
Bidoche
8th February 2007, 22:14
Just committed an attempt to work around that bug.
I hope it will work.
d'Oursse
8th February 2007, 23:52
it works for me (gcc 4.1.1 snapshot 20070205)
Amnon82
9th February 2007, 00:30
You mean this one:
http://gcc-ca.internet.bs/snapshots/4.1-20070205/
I got an error, the block-error but I'll recheck it tomorrow.
Must the stlport and boost be compiled with the same gcc or not?
I rechecked:
C: core/block/ownedholder.cpp
C: core/block/block.cpp
../../src/core/block/block.cpp:36: error: specialization of 'avs::block_<align>::block_(int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:36: error: invalid function declaration
../../src/core/block/block.cpp:41: error: specialization of 'avs::owned_block<align>::owned_block(const avs::PEnvironment&, int, bool) [with int align = 16]' after instantiation
../../src/core/block/block.cpp:41: error: invalid function declaration
make: *** [core/block/block.o] Error 1
*** Error: make
*** ERROR: avisynth-x86-glibc-2.5-gcc-4.1-1-3.0-CVS-20070208-3
... till now I've to do the downgrade/restore-thing.
Here are the gcc-4.1-20070205 files (http://home.arcor.de/amnonssecondpaldorepo/logs/gcc-4.1.files).
Can you tell me the exact dependencies with them it worked for you?
nfm
9th February 2007, 01:11
Bidoche & d'Oursse, thank you very much for fixing that :) I have successfully built avisynth on Ubuntu 6.10 i386 Edgy Eft running kernel 2.6.20, stlport 4.6.2, gcc-4.1 and boost_133.1. I encounter:avisynth_test: error while loading shared libraries: libboost_thread-gcc-mt-1_33_1.so.1.33.1: cannot open shared object file: No such file or directory while using avisynth but I think it's a problem with my distro, I've seen similar error whem I built and ran mpeg4iptools but I don't remember how I got around that error. I have installed all avisynth dependencies through synaptic package manager except boost, that I compiled and installed into /usr/local dir. Also, avisynth was installed into /usr/local too. If you guys know and are willing to reply, point me in the right direction :)
To build with gtk support Amnon82, you have to build x264 with --enable-gtk and --enable-shared as configure script from avisynth is telling you.
Edit: From what I can conclude now, avisynth looks into /usr/lib instead of /usr/local/lib. Copying missing files into /usr/lib seems to work now.
Edit 2: I got it to work, had to install x264 into /usr
Amnon82
9th February 2007, 01:28
@nfm: I already got it. Also the GUI thing. For the boost-error: You have to install Boost-1.33.1. Maybe you missed something.
@Bidoche & d'Oursse: On my distro it only works with an downgrade of gcc. These are the spec-files I'm using for the moment:
downgrade-gcc.xml (http://home.arcor.de/amnonssecondpaldorepo/specs/downgrade-gcc.xml)
gcc-4.0.xml (http://home.arcor.de/amnonssecondpaldorepo/specs/gcc-4.0.xml)
stlport.xml (http://home.arcor.de/amnonssecondpaldorepo/specs/stlport.xml)
boost-avs.xml (http://home.arcor.de/amnonssecondpaldorepo/specs/boost-avs.xml)
x264.xml (http://home.arcor.de/amnonssecondpaldorepo/specs/x264.xml)
avisynth.xml (http://home.arcor.de/amnonssecondpaldorepo/specs/avisynth.xml)
What can it be that the block-error apears with gcc-4.1-20070205 (http://home.arcor.de/amnonssecondpaldorepo/logs/gcc-4.1.files)?
When I use this spec:
gcc-4.0.xml (http://home.arcor.de/amnonssecondpaldorepo/notworking/specs/gcc-4.0_.xml)
I might can use ./configure --cc=gcc-4.0 --gxx=g++-4.0 for avisynth.xml but what can I use for Phyton and gcc.mak?
d'Oursse
9th February 2007, 08:24
nfm: it's not a good idea to copy those files. If boost is installed in /usr/local and not /usr, then you have 2 solutions for the .so file to be found :
1) export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
2) or :
* edit (as root) /etc/ld.so.conf and add /usr/local/lib
* as root, run: ldconfig
also, are you sure that STLport 5.1 and boost 1.33.1 are not installed ? You talked about STLport 4.6.2 (which is not supported anymore by avs3) and boost 1.33 (clearly, it's boost 1.33.1 that is searched)
amnon82: first, check if, in src/core/block.h, at lines 113 and 114, you have the following code:
template <>
block_<block::Align>::block_(int size, bool recycle);
that is, have you ckecked out the cvs repository since Bidoche's post ?
Amnon82
9th February 2007, 12:14
No I didn't. I'll check it today when I came home. I'll restore my system again to do a clean install of all files.
Maybe it will work with CVS-20070209 and the installed GCC 4.1.
Edit: It works now with the latest CVS and GCC 4.1 also in Paldo GNU/Linux. The compile takes now 8 Min instead of 22 Min. Keep up the good work. The block-Bug is gone now. Paldo uses GCC Snapshot 4.1-20061222-1.
Amnon82
9th February 2007, 23:44
If I start avisynth_test with this .desktop-file:
[Desktop Entry]
Encoding=UTF-8
Name=AVISynth 3.0 Tester
Exec=avisynth_test
Icon=/usr/share/icons/gnome/32x32/categories/applications-multimedia.png
Terminal=true
Type=Application
Categories=Application;AudioVideo;Player;
StartupNotify=false
It closes it self without an error message.
Only when I start avisynth_test via terminal it works. Maybe you guys wanna fix this or tell me how to setup the .desktop-file.
Amnon82
17th April 2007, 22:36
A german user found a bug:
silentium:/usr/src/avisynth/src/filters/source# diff messageclip.cpp.orig messageclip.cpp
47c47
< : StaticImage( CreateFrame(msg, text::freetype::Font("C:\\WINNT\\Fonts\\Arial.ttf", 28), vi->GetDimension(), vi->GetColorSpace(), env), vi )
---
> : StaticImage( CreateFrame(msg, text::freetype::Font("/usr/share/fonts/truetype/msttcorefonts/Arial.ttf", 28), vi->GetDimension(), vi->GetColorSpace(), env), vi )
70c70
< Font font("C:\\WINNT\\Fonts\\Arial.ttf", 28);
---
> Font font("/usr/share/fonts/truetype/msttcorefonts/Arial.ttf", 28);
The path points to Arial.tff the windowsway. Maybe you guys add a ifthen routine.
d'Oursse
17th April 2007, 22:40
I'm aware of that. I've made a fontconfig branch that allows to detect the location of the font.
I need Bidoche to test it on win32 before committing it
Also the patch is wrong, as the location of the font files depends on the unix distribution.
but thanks for the report :)
Amnon82
19th April 2007, 23:09
I know that the path differs on some unix os's. A find-routine might be handy for searchig the tff-file.
d'Oursse
20th April 2007, 06:06
A find-routine might be handy for searchig the tff-file.
That's what fontconfig is for ;)
Amnon82
21st April 2007, 16:57
so it won't be a problem ...
Amnon82
9th May 2007, 19:29
What is the actual status of avisynth? alpha or beta?
d'Oursse
10th May 2007, 06:47
it is not. The develoment is just stalled at the moment
Inventive Software
3rd June 2007, 21:56
Any more news d'Oursse? I realise of course you could be taking muchos avantage of the glorious weather at the moment, but I'm more than keen to know what's been going on regarding AviSynth 3.0 development. :D ;)
shevegen
7th June 2007, 22:30
yeah we are gonna ask every 10. of the month :)
d'Oursse
8th June 2007, 20:06
we are going to switch to svn :D (maybe it's already done, I'm just back from a workshop)
pasta03
18th July 2007, 23:00
Hey!
How I can download latest avisynth 3.0 witch cvs by use TortoiseCVS (under windows)
I use commend
cvs -z3 -d:pserver:anonymous@avisynth2.cvs.sourceforge.net:/cvsroot/avisynth2 co -r avisynth_3_0 avisynth
but this isn't working or I do some wrong!
Someone can write me how can I config TortoiseCVS.
d'Oursse
18th July 2007, 23:19
I suggest that you learn tortoisesvn, as we have switched to svn
pasta03
19th July 2007, 16:26
Ok!
So when you will switch on on svn?
d'Oursse
19th July 2007, 16:40
i know that my english is ugly, but i thought I was clear enough.
Right now, the svn repository is up and available.
Look here (http://sourceforge.net/svn/?group_id=57023).
But as I said previously, wait a bit. I'll do some modifications (don't expect them before the end of the next week)
pasta03
27th July 2007, 19:25
I compiling x264 (from the latest revisions x264 straight from SVN).
Building x264 from SVN:
svn co svn://svn.videolan.org/x264/trunk x264
cd x264
./configure
make
sudo make install
cd ..
So After the compilation x264 from svn I will be able to to compress to x264 from the line of commands so as in windows eg.
x264.exe --pass 1 --bitrate 6000 --stats stats.a --bframes 3 --b-pyramid --direct auto --deblock -2,-1 --subme 1 --partitions none --vbv-maxrate 25000 --me dia --thread-input --cqmfile matrices.M4G_HRM_V1 --progress --no-psnr --output NUL input.avs
or I will be able to to use only some graphic GUI as eg. MEncoder
d'Oursse
28th July 2007, 06:54
this has nothing to do with avs3, as you might see that no avisynth is detected once configure is executed
please post that question in the correct thread or in the forum related to avc codecs, please.
sl1pkn07
5th August 2007, 21:24
i have problem with a configure
./configure --with-boost-libdir-path=/usr/lib --with-boost-includedir-path=/usr/include/boost --prefix=/usr
......
hecking for STLport header files in /usr/include/stlport... yes
checking for /usr/lib/libstlport.so... yes
checking for Boost header files in /usr/include/boost... yes
checking for main in -lboost_thread-gcc-mt-gdp... no
configure: WARNING: Boost library (1_33_1) not in /usr/lib
checking for Boost header files in /usr/include/boost... yes
checking for main in -lboost_thread-gcc-mt-gdp... (cached) no
configure: WARNING: Boost library (1_33_1) not in /usr/lib
checking for Boost header files in /usr/include/boost... yes
checking for main in -lboost_thread-gcc-mt-gdp... (cached) no
configure: WARNING: Boost library (1_33) not in /usr/lib
checking for Boost header files in /usr/include/boost... yes
checking for main in -lboost_thread-gcc-mt-gdp... (cached) no
configure: WARNING: Boost library (1_33) not in /usr/lib
configure: error: "Boost is needed !"
sl1pkn07@SpinFlo:~/aplicaciones/avisynth/build/linux$
ln -s libboost_thread-gcc-mt-1_33_1.so libboost_thread-gcc-mt-gdp-1_33_1.so
same error
install boost from apt-get
i have Ubuntu Feisty 64bits
j0m
22nd August 2007, 09:38
Exact same problem as Sl1pkn07 here, Ubuntu Feisty 32 bit.
I've installed all needed libs + libs-dev versions in the official repos, and copied the circular buffer files manually, yet (as per Sl1pkn07 post) ./configure (with no switches) looks for a libboost*gdp* file, whereas my Feisty boost files have no "gdp" string in the filenames.
=A=RGOS
23rd August 2007, 07:25
Hello,
I have the same problem on my Ubuntu Gusty AMD64.
I have see the message and the path /usr/include/boost_1.33_1 isn't correct.
My libboost is in /usr/include/boost
And the source code refer to a subdirectory #include "boost/.hpp".
Please make a Debian/rules for Ubuntu / Debian users :).
I have very insterrest for testing Avinsynth on Linux.
Many thx, bye.
sl1pkn07
23rd August 2007, 21:47
I have see the message and the path /usr/include/boost_1.33_1 isn't correct.
My libboost is in /usr/include/boost
put --with-boost-includedir-path=/usr/include/boost in your configure
jamieuk
30th September 2007, 18:41
cool.
d'Oursse
30th September 2007, 19:27
always look at ./configure --help ;)
Amnon82
1st October 2007, 18:30
When can we expect the first beta or rc?
Ranguvar
2nd October 2007, 20:00
When can we expect the first beta or rc?
http://avisynth.org/AviSynth30
liquidator87
3rd October 2007, 15:23
I've the same problem of sl1pkn07... Has anyone solved?
vicfred
19th October 2007, 08:21
is avisynth available on ubuntu?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.