libretro / desmume

DeSmuME is a Nintendo DS emulator
http://desmume.org
GNU General Public License v2.0
35 stars 33 forks source link

Build fail on i386 and ARM #11

Closed sergiobenrocha2 closed 6 years ago

sergiobenrocha2 commented 6 years ago
g++ -g -fstack-protector-strong -Wformat -Werror=format-security -DGIT_VERSION=\"' 6d28593'\" -DHAVE_OPENGL -DUSE_POSIX_MEMALIGN -D__RETRO_ARM__ -marm -DARM -DHAVE_JIT -O2 -DNDEBUG -D__LIBRETRO__ -fPIC  -I../../libretro-common/include -I../.. -I../../libretro   -fpermissive -c -o../../filter/deposterize.o ../../filter/deposterize.cpp
../../filter/deposterize.cpp: In function ‘void RenderDeposterize(SSurface, SSurface)’:
../../filter/deposterize.cpp:112:8: error: ‘size_t’ does not name a type
  const size_t w = Src.Width;
        ^
../../filter/deposterize.cpp:113:8: error: ‘size_t’ does not name a type
  const size_t h = Src.Height;
        ^
../../filter/deposterize.cpp:120:2: error: ‘size_t’ was not declared in this scope
  size_t i = 0;
  ^
../../filter/deposterize.cpp:122:14: error: expected ‘;’ before ‘x’
  for (size_t x = 0; x < w; x++, i++)
              ^
../../filter/deposterize.cpp:122:21: error: ‘x’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                     ^
../../filter/deposterize.cpp:122:25: error: ‘w’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                         ^
../../filter/deposterize.cpp:122:33: error: ‘i’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                                 ^
../../filter/deposterize.cpp:143:14: error: expected ‘;’ before ‘y’
  for (size_t y = 1; y < h-1; y++)
              ^
../../filter/deposterize.cpp:143:21: error: ‘y’ was not declared in this scope
  for (size_t y = 1; y < h-1; y++)
                     ^
../../filter/deposterize.cpp:143:25: error: ‘h’ was not declared in this scope
  for (size_t y = 1; y < h-1; y++)
                         ^
../../filter/deposterize.cpp:145:15: error: expected ‘;’ before ‘x’
   for (size_t x = 0; x < w; x++, i++)
               ^
../../filter/deposterize.cpp:145:22: error: ‘x’ was not declared in this scope
   for (size_t x = 0; x < w; x++, i++)
                      ^
../../filter/deposterize.cpp:145:26: error: ‘w’ was not declared in this scope
   for (size_t x = 0; x < w; x++, i++)
                          ^
../../filter/deposterize.cpp:145:34: error: ‘i’ was not declared in this scope
   for (size_t x = 0; x < w; x++, i++)
                                  ^
../../filter/deposterize.cpp:167:14: error: expected ‘;’ before ‘x’
  for (size_t x = 0; x < w; x++, i++)
              ^
../../filter/deposterize.cpp:167:21: error: ‘x’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                     ^
../../filter/deposterize.cpp:167:25: error: ‘w’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                         ^
../../filter/deposterize.cpp:167:33: error: ‘i’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                                 ^
../../filter/deposterize.cpp:188:2: error: ‘i’ was not declared in this scope
  i = 0;
  ^
../../filter/deposterize.cpp:190:14: error: expected ‘;’ before ‘x’
  for (size_t x = 0; x < w; x++, i++)
              ^
../../filter/deposterize.cpp:190:21: error: ‘x’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                     ^
../../filter/deposterize.cpp:190:25: error: ‘w’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                         ^
../../filter/deposterize.cpp:211:14: error: expected ‘;’ before ‘y’
  for (size_t y = 1; y < h-1; y++)
              ^
../../filter/deposterize.cpp:211:21: error: ‘y’ was not declared in this scope
  for (size_t y = 1; y < h-1; y++)
                     ^
../../filter/deposterize.cpp:211:25: error: ‘h’ was not declared in this scope
  for (size_t y = 1; y < h-1; y++)
                         ^
../../filter/deposterize.cpp:213:15: error: expected ‘;’ before ‘x’
   for (size_t x = 0; x < w; x++, i++)
               ^
../../filter/deposterize.cpp:213:22: error: ‘x’ was not declared in this scope
   for (size_t x = 0; x < w; x++, i++)
                      ^
../../filter/deposterize.cpp:213:26: error: ‘w’ was not declared in this scope
   for (size_t x = 0; x < w; x++, i++)
                          ^
../../filter/deposterize.cpp:235:14: error: expected ‘;’ before ‘x’
  for (size_t x = 0; x < w; x++, i++)
              ^
../../filter/deposterize.cpp:235:21: error: ‘x’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                     ^
../../filter/deposterize.cpp:235:25: error: ‘w’ was not declared in this scope
  for (size_t x = 0; x < w; x++, i++)
                         ^

https://launchpadlibrarian.net/359277285/buildlog_ubuntu-xenial-armhf.libretro-desmume_0.9.11-r201803022350-6d28593-30~ubuntu16.04.1_BUILDING.txt.gz

https://launchpadlibrarian.net/359277171/buildlog_ubuntu-xenial-i386.libretro-desmume_0.9.11-r201803022350-6d28593-30~ubuntu16.04.1_BUILDING.txt.gz

bearoso commented 6 years ago

This should be fixed. Can't say if there's more issues.