Re: [Sndobj-devel] 1st attempt compiling (problem)
Status: Abandoned
Brought to you by:
veplaini
From: bosko m. <bmi...@ya...> - 2008-02-04 09:19:43
|
Hi! I finally succeed to compile it in MSYS using older MinGW installation 4.1.1 which has gcc 3.4.2 and with Scons 0.96.96. Also I used Swig to make Python module. Everything is working great. Thanks for help. Bosko --- Vic...@nu... wrote: > That looks like a gcc/g++ installation issue, some > sort of misconfigurationperhaps bits of older > installation still remained? But you can tryscons > 0.96, that is what I use.Victor----- Original > Message -----From: bosko milakovic > <bmi...@ya...>Date: Wednesday, January 30, > 2008 2:25 pmSubject: Re: [Sndobj-devel] 1st attempt > compiling (problem)To: victor > <Vic...@nu...>, sndobj-devel > <snd...@li...>> Well, I > installed gcc 3.4.2 and now the errors are> > different. Here's just a small part:)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647:> > error: `std::basic_istream<_CharT,> > _Traits>&std::basic_istream<> _Traits>::ignore' is > not a static member of `class> > std::basic_istream<_CharT, _Traits>'> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647:> > error: template definition of non-template> > `std::basic_istream<> > _Traits>&std::basic_istream<_CharT, > _Traits>::ignore'> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647:> > error: `streamsize' was not declared in this scope> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647:> > error: expected primary-expression before "__delim"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:648:> > error: expected `;' before '{' token> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In member function `typename> > std::basic_istream<_CharT, _Traits>::i> > std::basic_istream<_CharT, _Traits>::peek()':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:686:> > error: `_M_gcount' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > At global scope:> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:708:> > error: `streamsize' has not been declared> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In member function `std::basic_istream<_CharT,> > _Traits>& std::basic> m<_CharT, > _Traits>::read(_CharT*, int)':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:710:> > error: `_M_gcount' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > At global scope:> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:731:> > error: expected constructor, destructor, or type> > conversion bef> sic_istream"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:731:> > error: expected `;' before "basic_istream"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In member function `std::basic_istream<_CharT,> > _Traits>& std::basic> m<_CharT, > _Traits>::putback(_CharT)':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:763:> > error: `_M_gcount' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In member function `std::basic_istream<_CharT,> > _Traits>& std::basic> m<_CharT, _Traits>::unget()':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:791:> > error: `_M_gcount' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In function `std::basic_istream<_CharT, _Traits>&> > std::operator>>(s> ic_istream<_CharT, _Traits>&, > _CharT*)':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:955:> > error: `streamsize' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:955:> > error: expected `;' before "__extracted"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:963:> > error: expected `;' before "__num"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:964:> > error: `__num' undeclared (first use this function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:965:> > error: template argument 1 is invalid> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:965:> > error: `max' is not a member of `<declaration > error>'> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:973:> > error: `__extracted' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In function `std::basic_istream<_CharT, _Traits>&> > std::operator>>(s> ic_istream<_CharT, _Traits>&,> > std::basic_string<_CharT, _Traits, _Alloc>&)':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:1048:> > error: `streamsize' does not name a type> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:1049:> > error: `__w' undeclared (first use this function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.tcc:> > In member function `int std::basic_string<_CharT,> > _Traits, _Al> ompare(const _CharT*) const [with > _CharT = char,> _Traits = std::char_traits<char>, > _Alloc => std::allocator<char>]':> > src\/SndObj.h:258: instantiated from here> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.tcc:891:> > error: no type named `size_type' in `struct> > std::allocator> > > What can be wrong?> Scons > version? I'm using 0.97> Thanks> > Bosko> > > --- > victor <Vic...@nu...> wrote:> > > gcc > 3.4.2; not sure exactly what mingw version.> > > > > Victor> > ----- Original Message ----- > > From: > "bosko milakovic" <bmi...@ya...>> > To: > "victor" <Vic...@nu...>> > Sent: > Wednesday, January 30, 2008 10:21 AM> > Subject: Re: > [Sndobj-devel] 1st attempt compiling> > (problem)> > > > > > > > Hi!> > >> > > I removed latest > version(5.1.3) and installed a> > > version before > MinGW 5.1.2 and I get the same> > error.> > > Which > one do you use?> > >> > > --- victor > <Vic...@nu...> wrote:> > >> > >> I think > there is a problem with mingw and scons> > in> > >> > the latest mingw release of gcc. Try removing it> > > >> (mingw) and> > >> installing an older version > (which is what I> > use).> > >>> > >> Victor> > >>> > > >>> > >> ----- Original Message ----- > > >> From: > "bosko milakovic" <bmi...@ya...>> > >> To: > "sndobj-devel"> > >> > <snd...@li...>> > >> Sent: > Wednesday, January 30, 2008 8:49 AM> > >> Subject: > [Sndobj-devel] 1st attempt compiling> > >> > (problem)> > >>> > >>> > >> > Hi!> > >> >> > >> > I > just tried to compile sndobj and here's the> > >> > problem:> > >> >> > >> > scons: Reading SConscript > files ...> > >> > Building the Sound Object Library> > > >> > Checking for Realtime IO support...> > >> > > OS is Windows, environment is win32...> > >> > using > MINGW...> > >> > Host is little endian> > >> > swig > doesn't exist> > >> > Python version is 2.5> > >> > > Checking for C header file m_pd.h... no> > >> > > Checking for C header file ladspa.h... no> > >> > > scons: done reading SConscript files.> > >> > scons: > Building targets ...> > >> > g++ -o src\Oscil.o -c > -O3 -DWIN -DGCC> > >> > -DUSE_WIN32THREADS -Iinclude > -Iinclude\rff> > >> > tw src\Oscil.cpp> > >> >> > >> > > This application has requested the Runtime to> > > >> > terminate it in an unusual way.> > >> > Please > contact the application's support team> > for> > >> > more> > >> > information.> > >> > scons: *** > [src\Oscil.o] Error 3> > >> > scons: building > terminated because of errors.> > >> >> > >> > Do I > need Swig?> > >> > Thanks> > >> >> > >> > Bosko> > > >> >> > >> >> > >> >> > >> >> > >>> > >> >> > ____________________________________________________________________________________> > > >> > Be a better friend, newshound, and> > >> > > know-it-all with Yahoo! Mobile. Try it now.> > >> > >> > >>> > >> >> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ> > > >> >> > >> >> > >> >> > >>> > >> >> > -----------------------------------------------------------------> > --------> > >> > This SF.net email is sponsored by: > Microsoft> > >> > Defy all challenges. Microsoft(R) > Visual Studio> > >> 2008.> > >> >> > >>> > >> >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> > > >> > > _______________________________________________> > > >> > Sndobj-devel mailing list> > >> > > Snd...@li...> > >> >> > >>> > > >> >> > https://lists.sourceforge.net/lists/listinfo/sndobj-devel> > > >>> > >>> > >>> > >> > >> > >> > > > > >> >> > ____________________________________________________________________________________> > > > Looking for last minute shopping deals?> > > > Find them fast with Yahoo! Search. > > >> >> > http://tools.search.yahoo.com/newsearch/category.php?category=shopping> > > > > > > > > > > > > ____________________________________________________________________________________Be > a better friend, newshound, and > know-it-all with > Yahoo! Mobile. Try it now. > > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |