[MPlayer-cygwin] Anybody can build libcaca-0.99.beta17 ?

Milen Manev mmanev at gmail.com
Fri Jul 30 21:54:33 CEST 2010


Search for:
__declspec(dllimport)
and
__declspec(dllexport)

Replace them with nothing.

On Tue, Jul 20, 2010 at 1:10 AM, Eugene Kovgar <ken20001 at ukr.net> wrote:
> I get following errors during compilation:
>
>
> libtool: link: gcc -g -O2 -g -O2 -fno-strength-reduce -fomit-frame-pointer
> -Wall
>  -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow
> -Waggrega
> te-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -o
> cacademo.exe c
> academo.o  -L/home/Eugene/lib ../caca/.libs/libcaca.a -lz
> cacademo.o: In function `rotozoom':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:900: undefined
> reference to `_imp__caca_create_dither'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:938: undefined
> reference to `_imp__caca_get_canvas_height'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:938: undefined
> reference to `_imp__caca_get_canvas_width'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:938: undefined
> reference to `_imp__caca_dither_bitmap'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:945: undefined
> reference to `_imp__caca_free_dither'
> cacademo.o: In function `matrix':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:787: undefined
> reference to `_imp__caca_rand'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:820: undefined
> reference to `_imp__caca_get_canvas_width'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:821: undefined
> reference to `_imp__caca_get_canvas_height'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:823: undefined
> reference to `_imp__caca_set_color_ansi'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:824: undefined
> reference to `_imp__caca_clear_canvas'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:847: undefined
> reference to `_imp__caca_put_char'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:805: undefined
> reference to `_imp__caca_get_canvas_width'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:806: undefined
> reference to `_imp__caca_get_canvas_height'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:814: undefined
> reference to `_imp__caca_rand'
> cacademo.o: In function `moire':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:616: undefined
> reference to `_imp__caca_create_dither'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:644: undefined
> reference to `_imp__caca_get_canvas_height'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:644: undefined
> reference to `_imp__caca_get_canvas_width'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:644: undefined
> reference to `_imp__caca_dither_bitmap'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:652: undefined
> reference to `_imp__caca_free_dither'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:589: undefined
> reference to `_imp__caca_rand'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:631: undefined
> reference to `_imp__caca_set_dither_palette'
> cacademo.o: In function `metaballs':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:467: undefined
> reference to `_imp__caca_create_dither'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:516: undefined
> reference to `_imp__caca_get_canvas_height'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:516: undefined
> reference to `_imp__caca_get_canvas_width'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:516: undefined
> reference to `_imp__caca_dither_bitmap'
> cacademo.o: In function `create_ball':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:534: undefined
> reference to `_imp__caca_rand'
> cacademo.o: In function `metaballs':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:524: undefined
> reference to `_imp__caca_free_dither'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:492: undefined
> reference to `_imp__caca_set_dither_palette'
> cacademo.o: In function `plasma':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:353: undefined
> reference to `_imp__caca_create_dither'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:379: undefined
> reference to `_imp__caca_get_canvas_height'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:379: undefined
> reference to `_imp__caca_get_canvas_width'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:379: undefined
> reference to `_imp__caca_dither_bitmap'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:367: undefined
> reference to `_imp__caca_set_dither_palette'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:331: undefined
> reference to `_imp__caca_rand'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:387: undefined
> reference to `_imp__caca_free_dither'
> cacademo.o: In function `transition':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:223: undefined
> reference to `_imp__caca_get_canvas_width'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:224: undefined
> reference to `_imp__caca_get_canvas_height'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:288: undefined
> reference to `_imp__caca_fill_ellipse'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:294: undefined
> reference to `_imp__caca_fill_box'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:303: undefined
> reference to `_imp__caca_fill_box'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:277: undefined
> reference to `_imp__caca_fill_triangle'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:247: undefined
> reference to `_imp__caca_fill_triangle'
> cacademo.o: In function `main':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:72: undefined
> reference to `_imp__caca_rand'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:77: undefined
> reference to `_imp__caca_create_canvas'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:81: undefined
> reference to `_imp__caca_create_display'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:85: undefined
> reference to `_imp__caca_get_canvas_height'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:85: undefined
> reference to `_imp__caca_get_canvas_width'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:85: undefined
> reference to `_imp__caca_set_canvas_size'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:90: undefined
> reference to `_imp__caca_set_display_time'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:104: undefined
> reference to `_imp__caca_get_event'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:107: undefined
> reference to `_imp__caca_get_event_type'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:110: undefined
> reference to `_imp__caca_get_event_key_ch'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:187: undefined
> reference to `_imp__caca_free_display'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:188: undefined
> reference to `_imp__caca_free_canvas'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:164: undefined
> reference to `_imp__caca_set_color_ansi'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:180: undefined
> reference to `_imp__caca_refresh_display'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:167: undefined
> reference to `_imp__caca_set_color_ansi'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:168: undefined
> reference to `_imp__caca_clear_canvas'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:169: undefined
> reference to `_imp__caca_set_color_ansi'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:172: undefined
> reference to `_imp__caca_blit'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:177: undefined
> reference to `_imp__caca_put_str'
> cacademo.o: In function `langton':
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:757: undefined
> reference to `_imp__caca_set_color_ansi'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:760: undefined
> reference to `_imp__caca_put_char'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:759: undefined
> reference to `_imp__caca_set_color_ansi'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:704: undefined
> reference to `_imp__caca_get_canvas_width'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:705: undefined
> reference to `_imp__caca_get_canvas_height'
> C:\MinGW\MSYS\home\Eugene\libcaca-0.99.beta17\src/cacademo.c:706: undefined
> reference to `_imp__caca_rand'
> collect2: ld returned 1 exit status
> make[2]: *** [cacademo.exe] Error 1
> make[2]: Leaving directory `/home/Eugene/libcaca-0.99.beta17/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Eugene/libcaca-0.99.beta17'
> make: *** [all] Error 2
>
> _______________________________________________
> MPlayer-cygwin mailing list
> MPlayer-cygwin at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin
>



-- 
Milen Manev


More information about the MPlayer-cygwin mailing list