gnash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash] Gnash output to an OpenGL texture


From: mendez
Subject: Re: [Gnash] Gnash output to an OpenGL texture
Date: Tue, 09 Jun 2009 13:57:35 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.3.5-cvs)


Dear List,

Well, indeed as Andrea pointed it out, my problem was that I didnt have the cross-compiler for g++. Now, I seem to have passed that particular barrier but, oh alas, another one has risen. During compile I get the following error. It seems to have something to do with rtmp, which as far as my understanding goes, belongs to network communication. Since this is something I dont need, I have unsuccessfully tried to disable it (debugger, cygnal, menus, npapi, lirc, media, and all plugins have been disabled). But I still get the same message. Any clues?


/bin/bash ../libtool --tag=CXX --mode=compile i686-pc-mingw32-g++ -DHAVE_CONFIG_H -I. -I.. -I../libamf -I../libbase -I../libcore -DLOCALEDIR=\"/usr/local/share/locale\" -I/home/mendez/Sandbox/sys-root/mingw/include -I/home/mendez/Sandbox/sys-root/mingw/include -mthreads -g -O2 -mthreads -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -MT rtmp.lo -MD -MP -MF .deps/rtmp.Tpo -c -o rtmp.lo rtmp.cpp libtool: compile: i686-pc-mingw32-g++ -DHAVE_CONFIG_H -I. -I.. -I../libamf -I../libbase -I../libcore -DLOCALEDIR=\"/usr/local/share/locale\" -I/home/mendez/Sandbox/sys-root/mingw/include -I/home/mendez/Sandbox/sys-root/mingw/include -mthreads -g -O2 -mthreads -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -MT rtmp.lo -MD -MP -MF .deps/rtmp.Tpo -c rtmp.cpp -DDLL_EXPORT -DPIC -o .libs/rtmp.o rtmp.cpp: In member function `bool gnash::RTMP::sendMsg(int, int, gnash::RTMP::rtmp_headersize_e, size_t, gnash::RTMP::content_types_e, gnash::RTMPMsg::rtmp_source_e, uint8_t*, size_t)':
rtmp.cpp:882: error: `sleep' was not declared in this scope


Thanks in advance,


       Erick









Quoting Andrea Palmatè <address@hidden>:

sorry, but if you are cross compiling you cannot have g++ as compiler.

are you sure that --host is accepted?

g++ is calling your Linux compiler that, of course, doesnt' support -mthreads.

Your libtools should have:

bin/bash ../libtool --tag=CXX --mode=compile i686-pc-mingw32-g++ -DHAVE_CONFIG_H -I. -I.. -

but you have only g++

can you print a simply

i686-pc-mingw32-g++ -version without specify the entire path? otherwise the compiler is not in the path


Il giorno 08/giu/09, alle ore 18:37, address@hidden ha scritto:


Hi Andrea, thanks for the swift reply.

The configure seems to be fine. Although I did notice something funny.
It checks whether this is a cross compilation and if so it sets the pthread_flags to "none". However, immediately afterwards it checks the host_os and if it is indeed mingw then it sets it to "-mthreads". The actual error message is at the end of this email (during make).

According to the synaptic package I have the newest version of the g++.

I was trying on Cygwin but I stopped because I found the following thread here on this list:

http://www.mail-archive.com/address@hidden/msg05004.html

that states that Cygwin has not been used for building gnash. But maybe I shouldnt have give up and I should give it one more try.


Error message follows:

make[2]: Entering directory `/home/mendez/Sandbox/Gnash/trunk/libbase'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DPLUGINSDIR=\"/usr/local/lib/gnash/plugins\" -DSYSCONFDIR=\"/usr/local/etc\" -I../libnet -I../libamf -I../libcore -I../libcore/swf -mthreads -g -O2 -mthreads -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -MT libgnashbase_la-extension.lo -MD -MP -MF .deps/libgnashbase_la-extension.Tpo -c -o libgnashbase_la-extension.lo `test -f 'extension.cpp' || echo './'`extension.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DPLUGINSDIR=\"/usr/local/lib/gnash/plugins\" -DSYSCONFDIR=\"/usr/local/etc\" -I../libnet -I../libamf -I../libcore -I../libcore/swf -mthreads -g -O2 -mthreads -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -MT libgnashbase_la-extension.lo -MD -MP -MF .deps/libgnashbase_la-extension.Tpo -c extension.cpp -o libgnashbase_la-extension.o
cc1plus: error: unrecognized command line option "-mthreads"
cc1plus: error: unrecognized command line option "-mthreads"














reply via email to

[Prev in Thread] Current Thread [Next in Thread]