Hi, I followed another path : I've installed scons from the sources files on osx 10.4-intel. I have put it in the env path. I ran it and got that error output :
0$ scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -o AMFData.o -c -ggdb -O3 -Wall -I. -I/usr/local/include/ boost-1_33_1 AMFData.cpp In file included from AMFData.h:10, from AMFData.cpp:8: common.h:19:32: error: boost/shared_ptr.hpp: No such file or directory In file included from AMFData.cpp:8: AMFData.h:11:22: error: byteswap.h: No such file or directory common.h:28: error: 'boost' has not been declared common.h:28: error: expected nested-name-specifier before 'shared_ptr' common.h:28: error: 'shared_ptr' has not been declared AMFData.h:51: error: ISO C++ forbids declaration of 'shared_ptr' with no type AMFData.h:51: error: expected ';' before '<' token AMFData.h: In constructor 'AMFDouble::AMFDouble(char*&)': AMFData.h:68: error: 'bswap_64' was not declared in this scope AMFData.h: In member function 'virtual void AMFDouble::write(fout&) const': AMFData.h:82: error: 'bswap_64' was not declared in this scope AMFData.h: At global scope: AMFData.h:116: error: ISO C++ forbids declaration of 'shared_ptr' with no type AMFData.h:116: error: expected ';' before '<' token AMFData.h:124: error: expected `;' before 'virtual' AMFData.h:161: error: 'shared_ptr' has not been declared AMFData.h:161: error: expected ',' or '...' before '<' token AMFData.h:182: error: 'shared_ptr' was not declared in this scope AMFData.h:182: error: template argument 2 is invalid AMFData.h:182: error: template argument 4 is invalid AMFData.h:182: error: expected unqualified-id before '>' token AMFData.h: In member function 'virtual double AMFMixedArray::asDouble () const': AMFData.h:148: error: 'dmap' was not declared in this scope AMFData.h: In member function 'virtual bool AMFMixedArray::asBool() const': AMFData.h:149: error: 'dmap' was not declared in this scope AMFData.h: In member function 'virtual std::string AMFMixedArray::asString() const': AMFData.h:152: error: 'shared_ptr' was not declared in this scope AMFData.h:152: error: template argument 2 is invalid AMFData.h:152: error: template argument 4 is invalid AMFData.h:152: error: expected unqualified-id before '>' token AMFData.h:152: error: 'dmi' was not declared in this scope AMFData.h:152: error: 'dmap' was not declared in this scope AMFData.h: In member function 'virtual void AMFMixedArray::merge(int)': AMFData.h:162: error: 'right' was not declared in this scope AMFData.h:165: error: 'right' was not declared in this scope AMFData.h:166: error: 'shared_ptr' was not declared in this scope AMFData.h:166: error: template argument 2 is invalid AMFData.h:166: error: template argument 4 is invalid AMFData.h:166: error: expected unqualified-id before '>' token AMFData.h:166: error: 'ri' was not declared in this scope AMFData.h:166: error: 'class AMFMixedArray' has no member named 'dmap' AMFData.h:167: error: 'overwrite' was not declared in this scope AMFData.h:168: error: 'dmap' was not declared in this scope AMFData.h:171: error: 'dmap' was not declared in this scope AMFData.h: In member function 'virtual void AMFMixedArray::write (fout&) const': AMFData.h:178: error: 'dmap' was not declared in this scope AMFData.h: In member function 'void AMFMixedArray::_construct(char*&)': AMFData.h:191: error: 'dmap' was not declared in this scope AMFData.h:191: error: 'construct' is not a member of 'AMFData' AMFData.h: In member function 'void AMFMixedArray::_write(fout&) const': AMFData.h:197: error: 'shared_ptr' was not declared in this scope AMFData.h:197: error: template argument 2 is invalid AMFData.h:197: error: template argument 4 is invalid AMFData.h:197: error: expected unqualified-id before '>' token AMFData.h:197: error: 'dmi' was not declared in this scope AMFData.h:197: error: 'dmap' was not declared in this scope AMFData.h: At global scope: AMFData.h:250: error: 'shared_ptr' was not declared in this scope AMFData.h:250: error: template argument 1 is invalid AMFData.h:250: error: template argument 2 is invalid AMFData.h:250: error: expected unqualified-id before '>' token AMFData.h: In constructor 'AMFArray::AMFArray(char*&)': AMFData.h:227: error: 'dmap' was not declared in this scope AMFData.h:227: error: 'construct' is not a member of 'AMFData' AMFData.h: In member function 'virtual double AMFArray::asDouble() const': AMFData.h:232: error: 'dmap' was not declared in this scope AMFData.h: In member function 'virtual bool AMFArray::asBool() const': AMFData.h:233: error: 'dmap' was not declared in this scope AMFData.h: In member function 'virtual std::string AMFArray::asString () const': AMFData.h:236: error: 'dmap' was not declared in this scope AMFData.h: In member function 'virtual void AMFArray::write(fout&) const': AMFData.h:245: error: 'dmap' was not declared in this scope AMFData.h: In constructor 'AMFDate::AMFDate(char*&)': AMFData.h:261: error: 'bswap_64' was not declared in this scope AMFData.h: In member function 'virtual void AMFDate::write(fout&) const': AMFData.h:294: error: 'bswap_64' was not declared in this scope AMFData.cpp: At global scope: AMFData.cpp:10: error: expected constructor, destructor, or type conversion before '<' token scons: *** [AMFData.o] Error 1 scons: building terminated because of errors. Do I need to install boost ? Can you send me an osx build, daniel, please. Thanks. Le 8 sept. 07 à 11:50, Daniel Rossi a écrit : > Hi chris yet to test it, though there was some trouble to get it > compiled on osx. > > Here is what i had to do > > 1. fink install scons > 2. fink install boost1.32-py24 > 3. OSX is missing byteswap.h , found an equiv on google > 4. pico byteswap.h > > #ifndef _BYTESWAP_H > #define _BYTESWAP_H > > //#warning "byteswap.h is an unportable GNU extension! Don't use!" > > static inline unsigned short bswap_16(unsigned short x) { > return (x>>8) | (x<<8); > } > > static inline unsigned int bswap_32(unsigned int x) { > return (bswap_16(x&0xffff)<<16) | (bswap_16(x>>16)); > } > > static inline unsigned long long bswap_64(unsigned long long x) { > return (((unsigned long long)bswap_32(x&0xffffffffull))<<32) | > (bswap_32(x>>32)); > } > > #endif > > 5. scons (builds with some warn output) > 6. ./flvtool++ > > flvtool++ 1.0 > Copyright (c) 2007 Dan Weatherford and Facebook, inc. > http://developers.facebook.com/opensource.php > Published under the BSD license. > > usage: flvtool++ [-nodump] [-nomerge] [-tag name value] [input > filename] [output filename] > -nodump: do not dump the metadata when done (kinda quiet) > -nomerge: do not keep existing metadata from the input file > -tag name value: Set a metadata tag named 'name' to the (string) > value 'value' > Note that manually set tags will override automatically generated > tags. ---- Eric Priou aka erixtekila Articles : http://www.v-i-a.net/inprogress Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano Oregano forum : http://www.v-i-a.net/forum/ _______________________________________________ Red5 mailing list Red5@osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org