Nuclearbastard

lensfun build error

Mar 3rd, 2023 (edited)
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 8.11 KB | None | 0 0
  1. Making /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git as $ PATH=/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin:$PATH make  -j 8
  2.  
  3. [  6%] Generating build/timestamp
  4. [ 12%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/camera.cpp.obj
  5. [ 18%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/lens.cpp.obj
  6. [ 25%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/database.cpp.obj
  7. [ 37%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color-sse.cpp.obj
  8. [ 37%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color-sse2.cpp.obj
  9. [ 43%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mount.cpp.obj
  10. [ 50%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/cpuid.cpp.obj
  11. [ 56%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color.cpp.obj
  12. [ 62%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-coord-sse.cpp.obj
  13. [ 68%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-coord.cpp.obj
  14. Traceback (most recent call last):
  15.   File "/ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/apps/setup.py", line 6, in <module>
  16.     from setuptools import setup
  17. ModuleNotFoundError: No module named 'setuptools'
  18. make[2]: *** [apps/CMakeFiles/python-package.dir/build.make:74: apps/build/timestamp] Error 1
  19. make[1]: *** [CMakeFiles/Makefile2:157: apps/CMakeFiles/python-package.dir/all] Error 2
  20. make[1]: *** Waiting for unfinished jobs....
  21. [ 75%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-pc.cpp.obj
  22. [ 81%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-subpix.cpp.obj
  23. [ 87%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/modifier.cpp.obj
  24. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp: In member function 'lfError lfDatabase::Load(const char*, const char*, size_t)':
  25. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:826:27: error: 'locale_t' was not declared in this scope; did you mean '_locale_t'?
  26.   826 |     auto loc = uselocale((locale_t) 0); // get current local
  27.       |                           ^~~~~~~~
  28.       |                           _locale_t
  29. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:826:16: error: 'uselocale' was not declared in this scope; did you mean 'setlocale'?
  30.   826 |     auto loc = uselocale((locale_t) 0); // get current local
  31.       |                ^~~~~~~~~
  32.       |                setlocale
  33. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:827:27: error: 'LC_NUMERIC_MASK' was not declared in this scope; did you mean 'LC_NUMERIC'?
  34.   827 |     auto nloc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0);
  35.       |                           ^~~~~~~~~~~~~~~
  36.       |                           LC_NUMERIC
  37. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:827:59: error: expected ')' before numeric constant
  38.   827 |     auto nloc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0);
  39.       |                          ~                                ^~
  40.       |                                                           )
  41. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:827:17: error: 'newlocale' was not declared in this scope; did you mean 'setlocale'?
  42.   827 |     auto nloc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0);
  43.       |                 ^~~~~~~~~
  44.       |                 setlocale
  45. [ 93%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/auxfun.cpp.obj
  46. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:858:5: error: 'freelocale' was not declared in this scope; did you mean '_free_locale'?
  47.   858 |     freelocale(nloc);
  48.       |     ^~~~~~~~~~
  49.       |     _free_locale
  50. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp: In member function 'lfError lfDatabase::Save(char*&, size_t&) const':
  51. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:901:27: error: 'locale_t' was not declared in this scope; did you mean '_locale_t'?
  52.   901 |     auto loc = uselocale((locale_t) 0); // get current local
  53.       |                           ^~~~~~~~
  54.       |                           _locale_t
  55. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:901:16: error: 'uselocale' was not declared in this scope; did you mean 'setlocale'?
  56.   901 |     auto loc = uselocale((locale_t) 0); // get current local
  57.       |                ^~~~~~~~~
  58.       |                setlocale
  59. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:902:27: error: 'LC_NUMERIC_MASK' was not declared in this scope; did you mean 'LC_NUMERIC'?
  60.   902 |     auto nloc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0);
  61.       |                           ^~~~~~~~~~~~~~~
  62.       |                           LC_NUMERIC
  63. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:902:59: error: expected ')' before numeric constant
  64.   902 |     auto nloc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0);
  65.       |                          ~                                ^~
  66.       |                                                           )
  67. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:902:17: error: 'newlocale' was not declared in this scope; did you mean 'setlocale'?
  68.   902 |     auto nloc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0);
  69.       |                 ^~~~~~~~~
  70.       |                 setlocale
  71. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/database.cpp:1144:5: error: 'freelocale' was not declared in this scope; did you mean '_free_locale'?
  72.  1144 |     freelocale(nloc);
  73.       |     ^~~~~~~~~~
  74.       |     _free_locale
  75. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/lens.cpp: In member function 'void lfLens::GuessParameters()':
  76. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/lens.cpp:178:27: error: 'locale_t' was not declared in this scope; did you mean '_locale_t'?
  77.   178 |     auto loc = uselocale((locale_t) 0); // get current local
  78.       |                           ^~~~~~~~
  79.       |                           _locale_t
  80. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/lens.cpp:178:16: error: 'uselocale' was not declared in this scope; did you mean 'setlocale'?
  81.   178 |     auto loc = uselocale((locale_t) 0); // get current local
  82.       |                ^~~~~~~~~
  83.       |                setlocale
  84. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/lens.cpp:179:27: error: 'LC_NUMERIC_MASK' was not declared in this scope; did you mean 'LC_NUMERIC'?
  85.   179 |     auto nloc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0);
  86.       |                           ^~~~~~~~~~~~~~~
  87.       |                           LC_NUMERIC
  88. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/lens.cpp:179:59: error: expected ')' before numeric constant
  89.   179 |     auto nloc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0);
  90.       |                          ~                                ^~
  91.       |                                                           )
  92. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/lens.cpp:179:17: error: 'newlocale' was not declared in this scope; did you mean 'setlocale'?
  93.   179 |     auto nloc = newlocale(LC_NUMERIC_MASK, "C", (locale_t) 0);
  94.       |                 ^~~~~~~~~
  95.       |                 setlocale
  96. /ffmpeg-windows-build-helpers/sandbox/win32/lensfun_git/libs/lensfun/lens.cpp:271:5: error: 'freelocale' was not declared in this scope; did you mean '_free_locale'?
  97.   271 |     freelocale(nloc);
  98.       |     ^~~~~~~~~~
  99.       |     _free_locale
  100. make[2]: *** [libs/lensfun/CMakeFiles/lensfun.dir/build.make:92: libs/lensfun/CMakeFiles/lensfun.dir/database.cpp.obj] Error 1
  101. make[2]: *** Waiting for unfinished jobs....
  102. make[2]: *** [libs/lensfun/CMakeFiles/lensfun.dir/build.make:107: libs/lensfun/CMakeFiles/lensfun.dir/lens.cpp.obj] Error 1
  103. make[1]: *** [CMakeFiles/Makefile2:131: libs/lensfun/CMakeFiles/lensfun.dir/all] Error 2
  104. make: *** [Makefile:156: all] Error 2
  105.  
Add Comment
Please, Sign In to add comment