From: Mickaël R. <Mic...@in...> - 2011-12-28 19:38:29
|
You have to compile it with Gcc not llvm-Gcc. I was making ln cc gcc.exe Mickael Sent by my iPhone Le 28 déc. 2011 à 19:58, Brett Slote <bre...@gm...> a écrit : > That did it. Thanks a lot for your help! > > There was one more error specific to Lion: > > error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq') > cmp $2, -40(%rsp) > ^ > LLVM ERROR: Error parsing inline asm > > In order to get around that, we had to switch from llvm-gcc-4.2 to gcc-4.2... > > So if anyone else tried to compile for MacOS, the configure line is: > > ./configure --enable-svc --disable-png --cc=gcc-4.2 > > On Wed, Dec 28, 2011 at 1:29 PM, Mickaël Raulet <Mic...@in...> wrote: > I had to disable-png to the configure command line. > > Mickael > > Sent by my iPhone > > Le 28 déc. 2011 à 18:50, Brett Slote <bre...@gm...> a écrit : > >> Hello, any help with this would be greatly appreciated: >> >> Using Mac OS 10.7.2 (also tried on Ubuntu, but had trouble installing SDL there). I am interested in first using MPlayer to test this open svc decoder on my svc streams, and if that goes well, in using the decoder in a c++ project for my graduate work... >> >> -clicked the main download button here: http://sourceforge.net/projects/opensvcdecoder/ >> -downloaded and installed SDL >> -typed ./configure --enable-svc, succeeded >> -typed make >> >> received the following error: >> >> cc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=core2 -mtune=core2 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -DPIC -I/usr/X11/include -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include/freetype2 -I/sw/include -I/sw/include -I../Libs/SVC/lib_svc -I../Libs/AVC/h264_main_decoder/lib_main -I../Libs/AVC/h264_baseline_decoder/lib_baseline -c -o libmpcodecs/vd_mpng.o libmpcodecs/vd_mpng.c >> libmpcodecs/vd_mpng.c: In function 'pngReadFN': >> libmpcodecs/vd_mpng.c:77: error: dereferencing pointer to incomplete type >> libmpcodecs/vd_mpng.c: In function 'decode': >> libmpcodecs/vd_mpng.c:114: error: dereferencing pointer to incomplete type >> libmpcodecs/vd_mpng.c:131: error: dereferencing pointer to incomplete type >> make: *** [libmpcodecs/vd_mpng.o] Error 1 >> >> Thank you! >> ------------------------------------------------------------------------------ >> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex >> infrastructure or vast IT resources to deliver seamless, secure access to >> virtual desktops. With this all-in-one solution, easily deploy virtual >> desktops for less than the cost of PCs and save 60% on VDI infrastructure >> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox >> _______________________________________________ >> Opensvcdecoder-support mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensvcdecoder-support > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Opensvcdecoder-support mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensvcdecoder-support |