LINUX.ORG.RU

corona 1.0.2 lib


0

1

скачал с corona.sourceforge.net пает. Делаю ./configure && make && make install, выдаёт такую ошибку:

Convert.Tpo -c Convert.cpp -fPIC -DPIC -o .libs/Convert.lo Convert.cpp: In function 'corona::Image* corona::ExpandPalette(corona::Image*)': Convert.cpp:31:59: error: 'memcpy' was not declared in this scope Convert.cpp: In function 'corona::Image* corona::hidden::CorConvertPalette(corona::Image*, corona::PixelFormat)': Convert.cpp:200:52: error: 'memcpy' was not declared in this scope Convert.cpp: In function 'corona::Image* corona::hidden::CorFlipImage(corona::Image*, int)': Convert.cpp:247:46: error: 'memcpy' was not declared in this scope make[3]: *** [Convert.lo] Ошибка 1 make[3]: Leaving directory `/home/cristmas/Desktop/corona-1.0.2/src' make[2]: *** [all-recursive] Ошибка 1 make[2]: Leaving directory `/home/cristmas/Desktop/corona-1.0.2/src' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/home/cristmas/Desktop/corona-1.0.2' make: *** [all] Ошибка 2

чяднт?

>чяднт

2003.09.02 - Corona 1.0.2 Released


Некромантией занимаешься.

devl547 ★★★★★ ()
diff -ur corona-1.0.2/src/Convert.cpp corona-1.0.2-new/src/Convert.cpp
--- corona-1.0.2/src/Convert.cpp	2003-02-26 07:06:53.000000000 +0300
+++ corona-1.0.2-new/src/Convert.cpp	2011-03-29 12:49:03.995458361 +0400
@@ -5,6 +5,7 @@
  */
 #include <map>
 #include <utility>
+#include <string.h>
 #include "corona.h"
 #include "Debug.h"
 #include "SimpleImage.h"
diff -ur corona-1.0.2/src/OpenTGA.cpp corona-1.0.2-new/src/OpenTGA.cpp
--- corona-1.0.2/src/OpenTGA.cpp	2002-12-27 12:33:42.000000000 +0300
+++ corona-1.0.2-new/src/OpenTGA.cpp	2011-03-29 12:49:22.751551313 +0400
@@ -1,4 +1,5 @@
 #include <algorithm>
+#include <string.h>
 #include "Debug.h"
 #include "Open.h"
 #include "SimpleImage.h"

i-rinat ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.