Thanks, IOhannes
Now building from latest cvs source of the Gem module from
cvs.gem.iem.at:/cvsroot/pd-gem
Have to change both CFLAGS, CPPFLAGS and CXXFLAGS to include the
pd-39_2 source folder, else you get...
configure: WARNING: m_pd.h: accepted by the compiler, rejected by the
preprocessor!
...or...
error: m_pd.h: No such file or directory
So for me it was export CFLAGS=-I/Users/cefn/Documents/curiosity/pdplay/pd-intel/ pd-0.39-2/src/ export CPPFLAGS=-I/Users/cefn/Documents/curiosity/pdplay/pd-intel/ pd-0.39-2/src/ export CXXFLAGS=-I/Users/cefn/Documents/curiosity/pdplay/pd-intel/ pd-0.39-2/src/
But I run into exactly the same error as before, even with the CVS
version.
If I run ./configure --disable-SIMD I get the same
I am now building the latest source from the Gem CVS repository.
Anyone any ideas what options I could throw at GCC version 4 to make
it more forgiving of these errors, or alternatively, what the error
means (I'm not an experienced C coder)...
g++ -c -fPIC -I/Users/cefn/Documents/curiosity/pdplay/pd-intel/
pd-0.39-2/src/ -I.. pix_coloralpha.cpp -o pix_coloralpha.o
pix_chroma_key.cpp: In member function 'virtual void
pix_chroma_key::processRGBA_MMX(imageStruct&, imageStruct&)':
pix_chroma_key.cpp:277: error: expected unqualified-id before numeric
constant
pix_chroma_key.cpp:288: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp:289: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp:305: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp:306: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp: In member function 'virtual void
pix_chroma_key::processYUV_MMX(imageStruct&, imageStruct&)':
pix_chroma_key.cpp:346: error: expected unqualified-id before numeric
constant
pix_chroma_key.cpp:357: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp:358: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp:374: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp:375: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp: In member function 'virtual void
pix_chroma_key::processGray_MMX(imageStruct&, imageStruct&)':
pix_chroma_key.cpp:415: error: expected unqualified-id before numeric
constant
pix_chroma_key.cpp:426: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp:427: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp:443: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
pix_chroma_key.cpp:444: error: cannot convert 'int' to 'int
__vector__' for argument '2' to 'int __vector__ _mm_cmpeq_pi32(int
__vector__, int __vector__)'
make[1]: *** [pix_chroma_key.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Pixes] Error 2
Cefn http://cefn.com/curiosity/
On 27 Mar 2006, at 10:07, IOhannes m zmoelnig wrote:
Cefn Hoile wrote:
Now working on Building GEM so I can test previous pd prototypes
I have thrown together using video and OpenGL.Currently getting issues from the GEM build which look like they
might come from over-strict interpretation of C in gcc4.0. Any thoughts welcomed. I'll take off to the GEM-dev list if I can't fix this
easily.note: i think you _have_ to use gcc>=4.0 in order to build Gem.
With gcc 4.0 make inside the Gem directory (version 0.90, with a
forced include of the pd src through adding -I option to CFLAGS and
CPPFLAGS env variables) terminates with...please try to build the CVS-version of Gem instead of 0.90 (which is pretty old)
and for a quick go, you could try disabling mmx and sse2 at configure-time with "--disable-SIMD" (because that is where the
compile stops)mfg.adsr. IOhannes