Closed lotusrobotics closed 1 year ago
experts@Alienware:~/work/projects/BambuStudio/deps/build$ cmake ../ -DDESTDIR="/home/experts/work/projects/BambuStudio_dep" -DCMAKE_BUILD_TYPE=Release -DDEP_WX_GTK3=1 make -j4 CMake Error: The source directory "/home/experts/work/projects/BambuStudio/deps/build/-j4" does not exist. Specify --help for usage, or press the help button on the CMake GUI.
these are two commands instead of one
I am sorry previous page don't have a clear ‘Line break' I have just refined it
the "make -j4" has failed
experts@Alienware:~/work/projects/BambuStudio/deps/build$ make -j4 [ 4%] Built target dep_Boost [ 8%] Built target dep_Qhull [ 12%] Built target dep_FREETYPE [ 13%] Performing configure step for 'dep_GLFW' Scanning dependencies of target dep_PNG Scanning dependencies of target dep_EXPAT Scanning dependencies of target dep_JPEG [ 13%] Creating directories for 'dep_PNG' [ 14%] Creating directories for 'dep_EXPAT' [ 14%] Creating directories for 'dep_JPEG' -- Using Wayland for window creation CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find WaylandProtocols: Found unsuitable version "", but required is at least "1.15" (found //usr/share/wayland-protocols) Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE) CMake/modules/FindWaylandProtocols.cmake:14 (find_package_handle_standard_args) CMakeLists.txt:257 (find_package)
-- Configuring incomplete, errors occurred! See also "/home/experts/work/projects/BambuStudio/deps/build/dep_GLFW-prefix/src/dep_GLFW-build/CMakeFiles/CMakeOutput.log". See also "/home/experts/work/projects/BambuStudio/deps/build/dep_GLFW-prefix/src/dep_GLFW-build/CMakeFiles/CMakeError.log". CMakeFiles/dep_GLFW.dir/build.make:108: recipe for target 'dep_GLFW-prefix/src/dep_GLFW-stamp/dep_GLFW-configure' failed make[2]: [dep_GLFW-prefix/src/dep_GLFW-stamp/dep_GLFW-configure] Error 1 CMakeFiles/Makefile2:852: recipe for target 'CMakeFiles/dep_GLFW.dir/all' failed make[1]: [CMakeFiles/dep_GLFW.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 14%] No download step for 'dep_EXPAT' [ 15%] Performing download step (download, verify and extract) for 'dep_JPEG' [ 16%] Performing download step (download, verify and extract) for 'dep_PNG' -- Downloading... dst='/home/experts/work/projects/BambuStudio/deps/build/JPEG/2.0.6.zip' timeout='none' -- Using src='https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/2.0.6.zip' -- Downloading... dst='/home/experts/work/projects/BambuStudio/deps/build/PNG/v1.6.35.zip' timeout='none' -- Using src='https://github.com/glennrp/libpng/archive/refs/tags/v1.6.35.zip' [ 17%] No update step for 'dep_EXPAT' [ 17%] No patch step for 'dep_EXPAT' [ 18%] Performing configure step for 'dep_EXPAT' -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:
CMAKE_DEBUG_POSTFIX
-- Build files have been written to: /home/experts/work/projects/BambuStudio/deps/build/dep_EXPAT-prefix/src/dep_EXPAT-build [ 18%] Performing build step for 'dep_EXPAT' make[3]: warning: -jN forced in submake: disabling jobserver mode. -- verifying file... file='/home/experts/work/projects/BambuStudio/deps/build/PNG/v1.6.35.zip' -- Downloading... done Scanning dependencies of target expat -- extracting... src='/home/experts/work/projects/BambuStudio/deps/build/PNG/v1.6.35.zip' dst='/home/experts/work/projects/BambuStudio/deps/build/dep_PNG-prefix/src/dep_PNG' -- extracting... [tar xfz] [ 25%] Building C object CMakeFiles/expat.dir/xmlrole.c.o [ 50%] Building C object CMakeFiles/expat.dir/xmltok.c.o [ 75%] Building C object CMakeFiles/expat.dir/xmlparse.c.o -- verifying file... file='/home/experts/work/projects/BambuStudio/deps/build/JPEG/2.0.6.zip' -- Downloading... done -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done -- extracting... src='/home/experts/work/projects/BambuStudio/deps/build/JPEG/2.0.6.zip' dst='/home/experts/work/projects/BambuStudio/deps/build/dep_JPEG-prefix/src/dep_JPEG' -- extracting... [tar xfz] [ 18%] No update step for 'dep_PNG' [ 19%] No patch step for 'dep_PNG' [ 19%] Performing configure step for 'dep_PNG' -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 20%] No update step for 'dep_JPEG' [ 20%] No patch step for 'dep_JPEG' -- The C compiler identification is GNU 7.5.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc [ 20%] Performing configure step for 'dep_JPEG' -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- The C compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Detecting C compiler ABI info - done -- Detecting C compile features -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Success -- Symbol prefix: -- Configuring done -- Detecting C compile features - done -- Generating done -- CMAKE_BUILD_TYPE = Release -- VERSION = 2.0.6, BUILD = 20221117 CMake Warning: Manually-specified variables were not used by the project:
CMAKE_CXX_COMPILER
DISABLE_DEPENDENCY_TRACKING
-- 64-bit build (x86_64)
-- CMAKE_INSTALL_PREFIX = /home/experts/work/projects/BambuStudio_dep/usr/local
-- Build files have been written to: /home/experts/work/projects/BambuStudio/deps/build/dep_PNG-prefix/src/dep_PNG-build
-- CMAKE_INSTALL_BINDIR = bin (/home/experts/work/projects/BambuStudio_dep/usr/local/bin)
-- CMAKE_INSTALL_DATAROOTDIR = share (/home/experts/work/projects/BambuStudio_dep/usr/local/share)
-- CMAKE_INSTALL_DOCDIR = share/doc/libjpeg-turbo (/home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo)
-- CMAKE_INSTALL_INCLUDEDIR = include (/home/experts/work/projects/BambuStudio_dep/usr/local/include)
-- CMAKE_INSTALL_LIBDIR = lib (/home/experts/work/projects/BambuStudio_dep/usr/local/lib)
-- CMAKE_INSTALL_MANDIR = share/man (/home/experts/work/projects/BambuStudio_dep/usr/local/share/man)
-- Shared libraries disabled (ENABLE_SHARED = 0)
-- Static libraries enabled (ENABLE_STATIC = 1)
-- 12-bit JPEG support disabled (WITH_12BIT = 0)
-- Arithmetic decoding support enabled (WITH_ARITH_DEC = 1)
-- Arithmetic encoding support enabled (WITH_ARITH_ENC = 1)
-- TurboJPEG API library enabled (WITH_TURBOJPEG = 1)
-- TurboJPEG Java wrapper disabled (WITH_JAVA = 0)
-- In-memory source/destination managers enabled (WITH_MEM_SRCDST = 1)
-- Emulating libjpeg API/ABI v6.2 (WITH_JPEG7 = 0, WITH_JPEG8 = 0)
-- libjpeg API shared library version = 62.3.0
-- Compiler flags = -O3 -DNDEBUG
-- Linker flags =
-- Looking for sys/types.h
[ 21%] Performing build step for 'dep_PNG'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
Scanning dependencies of target genfiles
[ 2%] Generating scripts/pnglibconf.c
[ 5%] Generating pnglibconf.c
[ 8%] Generating scripts/symbols.out
-- Looking for sys/types.h - found
-- Looking for stdint.h
[ 10%] Generating pnglibconf.out
[ 13%] Generating scripts/symbols.chk
[ 16%] Generating scripts/prefix.out
-- Looking for stdint.h - found
-- Looking for stddef.h
[ 18%] Generating pnglibconf.h
[ 24%] Generating scripts/sym.out
[ 24%] Generating scripts/intprefix.out
[ 27%] Generating scripts/vers.out
[ 29%] Generating libpng.vers
[ 32%] Generating libpng.sym
-- Looking for stddef.h - found
-- Check size of size_t
[ 35%] Generating pngprefix.h
[ 35%] Built target genfiles
Scanning dependencies of target png_static
[ 37%] Building C object CMakeFiles/png_static.dir/pngmem.c.o
[ 40%] Building C object CMakeFiles/png_static.dir/pngrutil.c.o
[ 43%] Building C object CMakeFiles/png_static.dir/pngrio.c.o
[ 45%] Building C object CMakeFiles/png_static.dir/png.c.o
[ 48%] Building C object CMakeFiles/png_static.dir/pngget.c.o
[ 51%] Building C object CMakeFiles/png_static.dir/pngset.c.o
[ 54%] Building C object CMakeFiles/png_static.dir/pngerror.c.o
[ 56%] Building C object CMakeFiles/png_static.dir/pngread.c.o
[ 59%] Building C object CMakeFiles/png_static.dir/pngpread.c.o
[ 62%] Building C object CMakeFiles/png_static.dir/pngrtran.c.o
[ 64%] Building C object CMakeFiles/png_static.dir/pngwtran.c.o
[ 67%] Building C object CMakeFiles/png_static.dir/pngtrans.c.o
[ 70%] Building C object CMakeFiles/png_static.dir/pngwutil.c.o
[ 72%] Building C object CMakeFiles/png_static.dir/pngwio.c.o
[ 75%] Building C object CMakeFiles/png_static.dir/pngwrite.c.o
[ 78%] Building C object CMakeFiles/png_static.dir/intel/intel_init.c.o
-- Check size of size_t - done
-- Check size of unsigned long
[ 81%] Building C object CMakeFiles/png_static.dir/intel/filter_sse2_intrinsics.c.o
-- Check size of unsigned long - done
-- Performing Test HAVE_BUILTIN_CTZL
-- Performing Test HAVE_BUILTIN_CTZL - Success
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for memset
-- Looking for memset - found
-- Looking for memcpy
-- Looking for memcpy - found
-- Check size of unsigned char
-- Check size of unsigned char - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Performing Test INCOMPLETE_TYPES
[ 83%] Linking C static library libpng16.a
-- Performing Test INCOMPLETE_TYPES - Success
-- Compiler supports pointers to undefined structures.
[100%] Built target png_static
-- Performing Test RIGHT_SHIFT_IS_UNSIGNED
[ 22%] Performing install step for 'dep_PNG'
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
[100%] Linking C static library libexpat.a
[ 35%] Built target genfiles
-- Performing Test RIGHT_SHIFT_IS_UNSIGNED - Failed
-- Performing Test CHAR_UNSIGNED
[100%] Built target expat
[100%] Built target png_static
[ 22%] Performing install step for 'dep_EXPAT'
Install the project...
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
-- Install configuration: "Release"
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libpng16.a
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libpng.a
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/png.h
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/pngconf.h
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/pnglibconf.h
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/libpng16/png.h
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/libpng16/pngconf.h
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/libpng16/pnglibconf.h
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/libpng-config
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/libpng16-config
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/man/man3/libpng.3
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/man/man3/libpngpf.3
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/man/man5/png.5
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/pkgconfig/libpng.pc
-- Up-to-date: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/libpng-config
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/pkgconfig/libpng16.pc
-- Up-to-date: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/libpng16-config
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libpng/libpng16.cmake
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libpng/libpng16-release.cmake
[ 22%] Completed 'dep_PNG'
-- Performing Test CHAR_UNSIGNED - Failed
-- Performing Test INLINE_WORKS
[100%] Built target expat
[ 22%] Built target dep_PNG
Install the project...
-- Install configuration: "Release"
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/expat.h
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/expat_config.h
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/expat_external.h
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libexpat.a
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/cmake/EXPAT/EXPATTargets.cmake
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/cmake/EXPAT/EXPATTargets-release.cmake
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/cmake/EXPAT/EXPATConfig.cmake
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/cmake/EXPAT/EXPATConfigVersion.cmake
[ 23%] Completed 'dep_EXPAT'
-- Performing Test INLINE_WORKS - Success
-- INLINE = inline attribute((always_inline)) (FORCE_INLINE = 1)
-- Performing Test HAVE_THREAD_LOCAL
[ 23%] Built target dep_EXPAT
-- Performing Test HAVE_THREAD_LOCAL - Success
-- THREAD_LOCAL = __thread
-- Performing Test HAVE_VERSION_SCRIPT
-- Performing Test HAVE_VERSION_SCRIPT - Success
-- Linker supports GNU-style version scripts
-- CMAKE_EXECUTABLE_SUFFIX =
-- Looking for a ASM_NASM compiler
-- Looking for a ASM_NASM compiler - NOTFOUND
CMake Warning at simd/CMakeLists.txt:5 (message):
SIMD extensions disabled: could not find NASM compiler. Performance will
suffer.
Call Stack (most recent call first):
simd/CMakeLists.txt:45 (simd_fail)
-- FLOATTEST = no-fp-contract -- RPM architecture = x86_64, DEB architecture = amd64 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:
CMAKE_CXX_COMPILER
CMAKE_DEBUG_POSTFIX
-- Build files have been written to: /home/experts/work/projects/BambuStudio/deps/build/dep_JPEG-prefix/src/dep_JPEG-build [ 25%] Performing build step for 'dep_JPEG' make[3]: warning: -jN forced in submake: disabling jobserver mode. Scanning dependencies of target simd Scanning dependencies of target wrjpgcom Scanning dependencies of target rdjpgcom Scanning dependencies of target md5cmp [ 1%] Building C object CMakeFiles/wrjpgcom.dir/wrjpgcom.c.o [ 2%] Building C object CMakeFiles/rdjpgcom.dir/rdjpgcom.c.o [ 3%] Building C object md5/CMakeFiles/md5cmp.dir/md5.c.o [ 3%] Building C object md5/CMakeFiles/md5cmp.dir/md5hl.c.o [ 4%] Building C object CMakeFiles/simd.dir/jsimd_none.c.o [ 4%] Building C object md5/CMakeFiles/md5cmp.dir/md5cmp.c.o [ 4%] Built target simd [ 5%] Linking C executable md5cmp Scanning dependencies of target jpeg-static [ 5%] Linking C executable rdjpgcom Scanning dependencies of target turbojpeg-static [ 6%] Linking C executable wrjpgcom [ 7%] Building C object CMakeFiles/jpeg-static.dir/jcapistd.c.o [ 8%] Building C object CMakeFiles/jpeg-static.dir/jcinit.c.o [ 8%] Building C object CMakeFiles/jpeg-static.dir/jcapimin.c.o [ 8%] Building C object CMakeFiles/jpeg-static.dir/jccolor.c.o [ 8%] Building C object CMakeFiles/jpeg-static.dir/jcicc.c.o [ 9%] Building C object CMakeFiles/jpeg-static.dir/jcmainct.c.o [ 11%] Building C object CMakeFiles/jpeg-static.dir/jchuff.c.o [ 11%] Building C object CMakeFiles/jpeg-static.dir/jcmaster.c.o [ 12%] Building C object CMakeFiles/jpeg-static.dir/jccoefct.c.o [ 13%] Building C object CMakeFiles/jpeg-static.dir/jcdctmgr.c.o [ 14%] Building C object CMakeFiles/jpeg-static.dir/jcomapi.c.o [ 14%] Built target md5cmp [ 15%] Building C object CMakeFiles/turbojpeg-static.dir/jcapimin.c.o [ 15%] Building C object CMakeFiles/jpeg-static.dir/jcmarker.c.o [ 15%] Built target rdjpgcom [ 15%] Building C object CMakeFiles/jpeg-static.dir/jcparam.c.o [ 16%] Building C object CMakeFiles/jpeg-static.dir/jcphuff.c.o [ 16%] Built target wrjpgcom [ 17%] Building C object CMakeFiles/turbojpeg-static.dir/jcapistd.c.o [ 18%] Building C object CMakeFiles/jpeg-static.dir/jcprepct.c.o [ 18%] Building C object CMakeFiles/turbojpeg-static.dir/jccoefct.c.o [ 18%] Building C object CMakeFiles/jpeg-static.dir/jcsample.c.o [ 19%] Building C object CMakeFiles/turbojpeg-static.dir/jccolor.c.o [ 20%] Building C object CMakeFiles/turbojpeg-static.dir/jcdctmgr.c.o [ 20%] Building C object CMakeFiles/turbojpeg-static.dir/jchuff.c.o [ 21%] Building C object CMakeFiles/turbojpeg-static.dir/jcicc.c.o [ 22%] Building C object CMakeFiles/jpeg-static.dir/jctrans.c.o [ 23%] Building C object CMakeFiles/turbojpeg-static.dir/jcinit.c.o [ 23%] Building C object CMakeFiles/turbojpeg-static.dir/jcmainct.c.o [ 24%] Building C object CMakeFiles/turbojpeg-static.dir/jcmarker.c.o [ 25%] Building C object CMakeFiles/jpeg-static.dir/jdapimin.c.o [ 25%] Building C object CMakeFiles/jpeg-static.dir/jdapistd.c.o [ 26%] Building C object CMakeFiles/turbojpeg-static.dir/jcmaster.c.o [ 27%] Building C object CMakeFiles/jpeg-static.dir/jdatadst.c.o [ 28%] Building C object CMakeFiles/jpeg-static.dir/jdatasrc.c.o [ 28%] Building C object CMakeFiles/turbojpeg-static.dir/jcomapi.c.o [ 29%] Building C object CMakeFiles/turbojpeg-static.dir/jcparam.c.o [ 30%] Building C object CMakeFiles/turbojpeg-static.dir/jcphuff.c.o [ 31%] Building C object CMakeFiles/turbojpeg-static.dir/jcsample.c.o [ 31%] Building C object CMakeFiles/turbojpeg-static.dir/jcprepct.c.o [ 31%] Building C object CMakeFiles/jpeg-static.dir/jdcoefct.c.o [ 32%] Building C object CMakeFiles/jpeg-static.dir/jdcolor.c.o [ 33%] Building C object CMakeFiles/turbojpeg-static.dir/jctrans.c.o [ 34%] Building C object CMakeFiles/jpeg-static.dir/jddctmgr.c.o [ 34%] Building C object CMakeFiles/jpeg-static.dir/jdhuff.c.o [ 35%] Building C object CMakeFiles/jpeg-static.dir/jdicc.c.o [ 36%] Building C object CMakeFiles/jpeg-static.dir/jdinput.c.o [ 36%] Building C object CMakeFiles/turbojpeg-static.dir/jdapimin.c.o [ 36%] Building C object CMakeFiles/jpeg-static.dir/jdmainct.c.o [ 37%] Building C object CMakeFiles/jpeg-static.dir/jdmarker.c.o [ 38%] Building C object CMakeFiles/jpeg-static.dir/jdmaster.c.o [ 38%] Building C object CMakeFiles/jpeg-static.dir/jdmerge.c.o [ 39%] Building C object CMakeFiles/turbojpeg-static.dir/jdapistd.c.o [ 40%] Building C object CMakeFiles/turbojpeg-static.dir/jdatadst.c.o [ 41%] Building C object CMakeFiles/jpeg-static.dir/jdphuff.c.o [ 41%] Building C object CMakeFiles/turbojpeg-static.dir/jdatasrc.c.o [ 42%] Building C object CMakeFiles/jpeg-static.dir/jdpostct.c.o [ 42%] Building C object CMakeFiles/jpeg-static.dir/jdsample.c.o [ 43%] Building C object CMakeFiles/jpeg-static.dir/jdtrans.c.o [ 44%] Building C object CMakeFiles/turbojpeg-static.dir/jdcoefct.c.o [ 44%] Building C object CMakeFiles/turbojpeg-static.dir/jddctmgr.c.o [ 45%] Building C object CMakeFiles/turbojpeg-static.dir/jdcolor.c.o [ 46%] Building C object CMakeFiles/turbojpeg-static.dir/jdhuff.c.o [ 47%] Building C object CMakeFiles/turbojpeg-static.dir/jdicc.c.o [ 48%] Building C object CMakeFiles/jpeg-static.dir/jerror.c.o [ 48%] Building C object CMakeFiles/turbojpeg-static.dir/jdinput.c.o [ 49%] Building C object CMakeFiles/turbojpeg-static.dir/jdmainct.c.o [ 50%] Building C object CMakeFiles/jpeg-static.dir/jfdctflt.c.o [ 50%] Building C object CMakeFiles/turbojpeg-static.dir/jdmarker.c.o [ 51%] Building C object CMakeFiles/turbojpeg-static.dir/jdmaster.c.o [ 51%] Building C object CMakeFiles/jpeg-static.dir/jfdctfst.c.o [ 52%] Building C object CMakeFiles/turbojpeg-static.dir/jdmerge.c.o [ 53%] Building C object CMakeFiles/jpeg-static.dir/jfdctint.c.o [ 54%] Building C object CMakeFiles/turbojpeg-static.dir/jdphuff.c.o [ 54%] Building C object CMakeFiles/turbojpeg-static.dir/jdpostct.c.o [ 55%] Building C object CMakeFiles/turbojpeg-static.dir/jdsample.c.o [ 56%] Building C object CMakeFiles/turbojpeg-static.dir/jdtrans.c.o [ 56%] Building C object CMakeFiles/turbojpeg-static.dir/jerror.c.o [ 57%] Building C object CMakeFiles/turbojpeg-static.dir/jfdctflt.c.o [ 57%] Building C object CMakeFiles/jpeg-static.dir/jidctflt.c.o [ 58%] Building C object CMakeFiles/turbojpeg-static.dir/jfdctfst.c.o [ 60%] Building C object CMakeFiles/jpeg-static.dir/jidctint.c.o [ 60%] Building C object CMakeFiles/jpeg-static.dir/jidctfst.c.o [ 60%] Building C object CMakeFiles/turbojpeg-static.dir/jfdctint.c.o [ 61%] Building C object CMakeFiles/turbojpeg-static.dir/jidctflt.c.o [ 62%] Building C object CMakeFiles/turbojpeg-static.dir/jidctfst.c.o [ 62%] Building C object CMakeFiles/turbojpeg-static.dir/jidctint.c.o [ 63%] Building C object CMakeFiles/jpeg-static.dir/jquant1.c.o [ 63%] Building C object CMakeFiles/jpeg-static.dir/jidctred.c.o [ 64%] Building C object CMakeFiles/turbojpeg-static.dir/jidctred.c.o [ 65%] Building C object CMakeFiles/turbojpeg-static.dir/jquant1.c.o [ 65%] Building C object CMakeFiles/turbojpeg-static.dir/jquant2.c.o [ 66%] Building C object CMakeFiles/jpeg-static.dir/jquant2.c.o [ 66%] Building C object CMakeFiles/jpeg-static.dir/jutils.c.o [ 67%] Building C object CMakeFiles/turbojpeg-static.dir/jutils.c.o [ 68%] Building C object CMakeFiles/turbojpeg-static.dir/jmemmgr.c.o [ 68%] Building C object CMakeFiles/turbojpeg-static.dir/jmemnobs.c.o [ 69%] Building C object CMakeFiles/jpeg-static.dir/jmemmgr.c.o [ 70%] Building C object CMakeFiles/jpeg-static.dir/jmemnobs.c.o [ 71%] Building C object CMakeFiles/turbojpeg-static.dir/jaricom.c.o [ 71%] Building C object CMakeFiles/jpeg-static.dir/jaricom.c.o [ 72%] Building C object CMakeFiles/jpeg-static.dir/jcarith.c.o [ 73%] Building C object CMakeFiles/turbojpeg-static.dir/jcarith.c.o [ 74%] Building C object CMakeFiles/jpeg-static.dir/jdarith.c.o [ 74%] Building C object CMakeFiles/turbojpeg-static.dir/jdarith.c.o [ 75%] Building C object CMakeFiles/turbojpeg-static.dir/turbojpeg.c.o [ 76%] Building C object CMakeFiles/turbojpeg-static.dir/transupp.c.o [ 76%] Building C object CMakeFiles/turbojpeg-static.dir/jdatadst-tj.c.o [ 77%] Building C object CMakeFiles/turbojpeg-static.dir/jdatasrc-tj.c.o [ 78%] Building C object CMakeFiles/turbojpeg-static.dir/rdbmp.c.o [ 78%] Building C object CMakeFiles/turbojpeg-static.dir/rdppm.c.o [ 79%] Building C object CMakeFiles/turbojpeg-static.dir/wrbmp.c.o [ 80%] Building C object CMakeFiles/turbojpeg-static.dir/wrppm.c.o [ 80%] Linking C static library libjpeg.a [ 80%] Linking C static library libturbojpeg.a [ 80%] Built target jpeg-static Scanning dependencies of target cjpeg-static Scanning dependencies of target djpeg-static Scanning dependencies of target jpegtran-static [ 80%] Built target turbojpeg-static [ 81%] Building C object CMakeFiles/jpegtran-static.dir/jpegtran.c.o [ 81%] Building C object CMakeFiles/jpegtran-static.dir/rdswitch.c.o [ 81%] Building C object CMakeFiles/cjpeg-static.dir/cjpeg.c.o [ 81%] Building C object CMakeFiles/cjpeg-static.dir/rdbmp.c.o [ 81%] Building C object CMakeFiles/cjpeg-static.dir/rdgif.c.o [ 82%] Building C object CMakeFiles/djpeg-static.dir/djpeg.c.o [ 82%] Building C object CMakeFiles/jpegtran-static.dir/transupp.c.o [ 84%] Building C object CMakeFiles/djpeg-static.dir/rdcolmap.c.o [ 84%] Building C object CMakeFiles/djpeg-static.dir/cdjpeg.c.o [ 86%] Building C object CMakeFiles/cjpeg-static.dir/rdppm.c.o [ 87%] Building C object CMakeFiles/cjpeg-static.dir/rdswitch.c.o [ 88%] Building C object CMakeFiles/djpeg-static.dir/wrgif.c.o [ 85%] Building C object CMakeFiles/jpegtran-static.dir/cdjpeg.c.o [ 89%] Building C object CMakeFiles/cjpeg-static.dir/cdjpeg.c.o [ 89%] Building C object CMakeFiles/djpeg-static.dir/rdswitch.c.o [ 90%] Building C object CMakeFiles/cjpeg-static.dir/rdtarga.c.o [ 91%] Building C object CMakeFiles/djpeg-static.dir/wrppm.c.o [ 92%] Building C object CMakeFiles/djpeg-static.dir/wrbmp.c.o [ 92%] Building C object CMakeFiles/djpeg-static.dir/wrtarga.c.o Scanning dependencies of target tjbench-static [ 93%] Building C object CMakeFiles/tjbench-static.dir/tjbench.c.o Scanning dependencies of target tjunittest-static [ 94%] Building C object CMakeFiles/tjunittest-static.dir/tjunittest.c.o [ 94%] Building C object CMakeFiles/tjbench-static.dir/tjutil.c.o [ 95%] Building C object CMakeFiles/tjunittest-static.dir/md5/md5.c.o [ 95%] Building C object CMakeFiles/tjunittest-static.dir/tjutil.c.o [ 96%] Building C object CMakeFiles/tjunittest-static.dir/md5/md5hl.c.o [ 97%] Linking C executable djpeg-static [ 98%] Linking C executable cjpeg-static [ 98%] Built target djpeg-static [ 98%] Built target cjpeg-static [ 99%] Linking C executable tjbench-static [ 99%] Linking C executable tjunittest-static [ 99%] Built target tjbench-static [ 99%] Built target tjunittest-static [100%] Linking C executable jpegtran-static [100%] Built target jpegtran-static [ 26%] Performing install step for 'dep_JPEG' make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. [ 1%] Built target simd [ 35%] Built target jpeg-static [ 40%] Built target cjpeg-static [ 80%] Built target turbojpeg-static [ 82%] Built target tjbench-static [ 85%] Built target tjunittest-static [ 91%] Built target djpeg-static [ 95%] Built target jpegtran-static [ 97%] Built target wrjpgcom [ 98%] Built target rdjpgcom [100%] Built target md5cmp Install the project... -- Install configuration: "Release" -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libturbojpeg.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/tjbench -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/turbojpeg.h -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libjpeg.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/cjpeg -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/djpeg -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/jpegtran -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/rdjpgcom -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/wrjpgcom -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo/README.ijg -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo/README.md -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo/example.txt -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo/tjexample.c -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo/libjpeg.txt -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo/structure.txt -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo/usage.txt -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo/wizard.txt -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/doc/libjpeg-turbo/LICENSE.md -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/man/man1/cjpeg.1 -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/man/man1/djpeg.1 -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/man/man1/jpegtran.1 -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/man/man1/rdjpgcom.1 -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/share/man/man1/wrjpgcom.1 -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/pkgconfig/libjpeg.pc -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/pkgconfig/libturbojpeg.pc -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/jconfig.h -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/jerror.h -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/jmorecfg.h -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/include/jpeglib.h [ 26%] Completed 'dep_JPEG' [ 26%] Built target dep_JPEG Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
now tried with "make -j16" and got the following error
[ 89%] Performing dep_CGAL_version_fix step for 'dep_CGAL' [ 90%] Performing dep_CGAL_relocation_fix step for 'dep_CGAL' [ 90%] Completed 'dep_CGAL' [ 92%] Built target dep_CGAL HEAD is now at 9c0a8be1dc Merge branch 'gtk-initial-size' [ 93%] Performing patch step for 'dep_wxWidgets' /home/experts/work/projects/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:28: space before tab in indent. , const wxWindow window = nullptr /home/experts/work/projects/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:30: space before tab in indent. ); /home/experts/work/projects/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:41: space before tab in indent. , const wxWindow window = nullptr /home/experts/work/projects/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:43: space before tab in indent. ) /home/experts/work/projects/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:167: trailing whitespace. (anchorSideVertical & wxUP) || Checking patch build/cmake/init.cmake... error: while searching for: else() find_package(OpenGL) if(WXGTK3 AND OpenGL_EGL_FOUND AND wxUSE_GLCANVAS_EGL) set(OPENGL_LIBRARIES OpenGL::OpenGL OpenGL::EGL) find_package(WAYLANDEGL) if(WAYLANDEGL_FOUND AND wxHAVE_GDK_WAYLAND) list(APPEND OPENGL_LIBRARIES ${WAYLANDEGL_LIBRARIES})
error: patch failed: build/cmake/init.cmake:413 error: build/cmake/init.cmake: patch does not apply Checking patch include/wx/fontutil.h... error: while searching for: wxFontEncoding GetEncoding() const;
void SetPointSize(int pointsize);
void SetFractionalPointSize(double pointsize);
void SetPixelSize(const wxSize& pixelSize);
void SetStyle(wxFontStyle style);
void SetNumericWeight(int weight);
error: patch failed: include/wx/fontutil.h:294 error: include/wx/fontutil.h: patch does not apply Checking patch include/wx/gdicmn.h... error: while searching for: class WXDLLIMPEXP_FWD_BASE wxString; class WXDLLIMPEXP_FWD_CORE wxIconBundle; class WXDLLIMPEXP_FWD_CORE wxPoint;
// --------------------------------------------------------------------------- // constants
error: patch failed: include/wx/gdicmn.h:38 error: include/wx/gdicmn.h: patch does not apply Checking patch include/wx/generic/grid.h... error: while searching for: wxGridWindow* gridWindow);
// Update the width/height of the column/row being drag-resized.
void DoGridDragResize(const wxPoint& position,
const wxGridOperations& oper,
wxGridWindow* gridWindow);
// process different clicks on grid cells
void DoGridCellLeftDown(wxMouseEvent& event,
error: patch failed: include/wx/generic/grid.h:2951 error: include/wx/generic/grid.h: patch does not apply Checking patch include/wx/msw/font.h... error: while searching for: // ctors and such wxFont() { }
wxFont(const wxFontInfo& info);
wxFont(int size,
wxFontFamily family,
error: patch failed: include/wx/msw/font.h:23 error: include/wx/msw/font.h: patch does not apply Checking patch include/wx/msw/tooltip.h... error: while searching for: // the one and only one tooltip control we use - never access it directly // but use GetToolTipCtrl() which will create it when needed static WXHWND ms_hwndTT;
// create the tooltip ctrl if it doesn't exist yet and return its HWND
static WXHWND GetToolTipCtrl();
// to be used in wxModule for deleting tooltip ctrl window when exiting mainloop
static void DeleteToolTipCtrl();
error: patch failed: include/wx/msw/tooltip.h:91 error: include/wx/msw/tooltip.h: patch does not apply Checking patch include/wx/osx/app.h... error: while searching for:
public: bool OSXInitWasCalled() { return m_inited; } void OSXStoreOpenFiles(const wxArrayString &files ) { m_openFiles = files ; } void OSXStorePrintFiles(const wxArrayString &files ) { m_printFiles = files ; } void OSXStoreOpenURL(const wxString &url ) { m_getURL = url ; }
error: patch failed: include/wx/osx/app.h:161 error: include/wx/osx/app.h: patch does not apply Checking patch src/common/combocmn.cpp... error: while searching for:
m_winPopup = new wxComboPopupWindowBase2( this, wxNO_BORDER );
#else
int tlwFlags = wxNO_BORDER;
#ifdef wxCC_GENERIC_TLW_IS_FRAME
tlwFlags |= wxFRAME_NO_TASKBAR;
#endif
error: patch failed: src/common/combocmn.cpp:2141 error: src/common/combocmn.cpp: patch does not apply Checking patch src/common/datavcmn.cpp... error: while searching for:
wxDataViewItemArray selections;
GetSelections(selections);
return selections[0];
}
namespace
error: patch failed: src/common/datavcmn.cpp:1322 error: src/common/datavcmn.cpp: patch does not apply Checking patch src/common/dcbufcmn.cpp... error: while searching for: const double scale = dc ? dc->GetContentScaleFactor() : 1.0; wxBitmap* const buffer = new wxBitmap;
// we must always return a valid bitmap but creating a bitmap of
// size 0 would fail, so create a 1*1 bitmap in this case
buffer->CreateScaled(wxMax(w, 1), wxMax(h, 1), -1, scale);
return buffer;
}
error: patch failed: src/common/dcbufcmn.cpp:82 error: src/common/dcbufcmn.cpp: patch does not apply Checking patch src/common/gdicmn.cpp... error: while searching for: *height = size.y; }
wxSize wxGetDisplaySize() { return wxDisplay().GetGeometry().GetSize(); }
void wxClientDisplayRect(int x, int y, int width, int height) { const wxRect rect = wxGetClientDisplayRect();
error: patch failed: src/common/gdicmn.cpp:863 error: src/common/gdicmn.cpp: patch does not apply Checking patch src/common/intl.cpp... error: while searching for: { str = buf;
// As we get our decimal point separator from Win32 and not the
// CRT there is a possibility of mismatch between them and this
// can easily happen if the user code called setlocale()
error: patch failed: src/common/intl.cpp:1628 error: src/common/intl.cpp: patch does not apply Checking patch src/generic/grid.cpp... error: while searching for: { case WXGRID_CURSOR_RESIZE_ROW: { DoGridDragResize(event.GetPosition(), wxGridRowOperations(), gridWindow); } break;
error: patch failed: src/generic/grid.cpp:3824 error: src/generic/grid.cpp: patch does not apply Checking patch src/msw/bmpcbox.cpp... error: while searching for:
wxComboBox::DoClear();
HWND hwnd = GetHwnd();
DissociateHandle();
::DestroyWindow(hwnd);
if ( !MSWCreateControl(wxT("COMBOBOX"), wxEmptyString, pos, size) )
return;
// initialize the controls contents
for ( i = 0; i < numItems; i++ )
{
error: patch failed: src/msw/bmpcbox.cpp:156 error: src/msw/bmpcbox.cpp: patch does not apply Checking patch src/msw/font.cpp... error: while searching for: class WXDLLEXPORT wxFontRefData: public wxGDIRefData { public: wxFontRefData(const wxFontInfo& info = wxFontInfo());
wxFontRefData(const wxNativeFontInfo& info, WXHFONT hFont = 0)
{
error: patch failed: src/msw/font.cpp:54 error: src/msw/font.cpp: patch does not apply Checking patch src/msw/menuitem.cpp... error: while searching for: // native menu uses small top margin for separator if ( SeparatorMargin.cyTopHeight >= 2 ) SeparatorMargin.cyTopHeight -= 2; } else
error: patch failed: src/msw/menuitem.cpp:368 error: src/msw/menuitem.cpp: patch does not apply Checking patch src/msw/window.cpp... error: while searching for: }
/extern/ int wxGetSystemMetrics(int nIndex, const wxWindow* window) {
if ( !window )
window = wxApp::GetMainTopWindow();
if ( window )
{
typedef int (WINAPI * GetSystemMetricsForDpi_t)(int nIndex, UINT dpi);
static GetSystemMetricsForDpi_t s_pfnGetSystemMetricsForDpi = NULL;
static bool s_initDone = false;
if ( !s_initDone )
{
wxLoadedDLL dllUser32("user32.dll");
wxDL_INIT_FUNC(s_pfn, GetSystemMetricsForDpi, dllUser32);
s_initDone = true;
}
if ( s_pfnGetSystemMetricsForDpi )
{
const int dpi = window->GetDPI().y;
return s_pfnGetSystemMetricsForDpi(nIndex, (UINT)dpi);
}
}
wxUnusedVar(window);
return ::GetSystemMetrics(nIndex);
error: patch failed: src/msw/window.cpp:4773 error: src/msw/window.cpp: patch does not apply Checking patch src/osx/cocoa/dataview.mm... error: while searching for: if ( !dvc->GetEventHandler()->ProcessEvent(eventDV) ) [super keyDown:event]; } else { [super keyDown:event]; // all other keys } }
// // contextual menus //
error: patch failed: src/osx/cocoa/dataview.mm:1734 error: src/osx/cocoa/dataview.mm: patch does not apply Checking patch src/osx/cocoa/settings.mm... error: while searching for: // ----------------------------------------------------------------------------
// Get a system metric, e.g. scrollbar size int wxSystemSettingsNative::GetMetric(wxSystemMetric index, const wxWindow* WXUNUSED(win)) { int value;
error: patch failed: src/osx/cocoa/settings.mm:224 error: src/osx/cocoa/settings.mm: patch does not apply CMakeFiles/dep_wxWidgets.dir/build.make:122: recipe for target 'dep_wxWidgets-prefix/src/dep_wxWidgets-stamp/dep_wxWidgets-patch' failed make[2]: [dep_wxWidgets-prefix/src/dep_wxWidgets-stamp/dep_wxWidgets-patch] Error 1 CMakeFiles/Makefile2:154: recipe for target 'CMakeFiles/dep_wxWidgets.dir/all' failed make[1]: [CMakeFiles/dep_wxWidgets.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2
have you installed the components by following commands before "sudo apt-get install cmake git g++ build-essential libgl1-mesa-dev m4 libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules pkgconf libglu1-mesa-dev libcairo2-dev libgtk-3-dev libsoup2.4-dev libwebkit2gtk-4.0-dev libgstreamer1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-base1.0-dev libosmesa6-dev"?
also when firstly built failed, we need to clean the patches of wxWidgets before start again: cd dep_wxWidgets-prefix/src/dep_wxWidgets git reset --hard cd - make -jN
still same after "git reset --hard"
build/cmake/init.cmake... error: while searching for: else() find_package(OpenGL) if(WXGTK3 AND OpenGL_EGL_FOUND AND wxUSE_GLCANVAS_EGL) set(OPENGL_LIBRARIES OpenGL::OpenGL OpenGL::EGL) find_package(WAYLANDEGL) if(WAYLANDEGL_FOUND AND wxHAVE_GDK_WAYLAND) list(APPEND OPENGL_LIBRARIES ${WAYLANDEGL_LIBRARIES})
error: patch failed: build/cmake/init.cmake:413 error: build/cmake/init.cmake: patch does not apply Checking patch include/wx/fontutil.h... error: while searching for: wxFontEncoding GetEncoding() const;
void SetPointSize(int pointsize);
void SetFractionalPointSize(double pointsize);
void SetPixelSize(const wxSize& pixelSize);
void SetStyle(wxFontStyle style);
void SetNumericWeight(int weight);
error: patch failed: include/wx/fontutil.h:294 error: include/wx/fontutil.h: patch does not apply Checking patch include/wx/gdicmn.h... error: while searching for: class WXDLLIMPEXP_FWD_BASE wxString; class WXDLLIMPEXP_FWD_CORE wxIconBundle; class WXDLLIMPEXP_FWD_CORE wxPoint;
// --------------------------------------------------------------------------- // constants
error: patch failed: include/wx/gdicmn.h:38 error: include/wx/gdicmn.h: patch does not apply Checking patch include/wx/generic/grid.h... error: while searching for: wxGridWindow* gridWindow);
// Update the width/height of the column/row being drag-resized.
void DoGridDragResize(const wxPoint& position,
const wxGridOperations& oper,
wxGridWindow* gridWindow);
// process different clicks on grid cells
void DoGridCellLeftDown(wxMouseEvent& event,
error: patch failed: include/wx/generic/grid.h:2951 error: include/wx/generic/grid.h: patch does not apply Checking patch include/wx/msw/font.h... error: while searching for: // ctors and such wxFont() { }
wxFont(const wxFontInfo& info);
wxFont(int size,
wxFontFamily family,
error: patch failed: include/wx/msw/font.h:23 error: include/wx/msw/font.h: patch does not apply Checking patch include/wx/msw/tooltip.h... error: while searching for: // the one and only one tooltip control we use - never access it directly // but use GetToolTipCtrl() which will create it when needed static WXHWND ms_hwndTT;
// create the tooltip ctrl if it doesn't exist yet and return its HWND
static WXHWND GetToolTipCtrl();
// to be used in wxModule for deleting tooltip ctrl window when exiting mainloop
static void DeleteToolTipCtrl();
error: patch failed: include/wx/msw/tooltip.h:91 error: include/wx/msw/tooltip.h: patch does not apply Checking patch include/wx/osx/app.h... error: while searching for:
public: bool OSXInitWasCalled() { return m_inited; } void OSXStoreOpenFiles(const wxArrayString &files ) { m_openFiles = files ; } void OSXStorePrintFiles(const wxArrayString &files ) { m_printFiles = files ; } void OSXStoreOpenURL(const wxString &url ) { m_getURL = url ; }
error: patch failed: include/wx/osx/app.h:161 error: include/wx/osx/app.h: patch does not apply Checking patch src/common/combocmn.cpp... error: while searching for:
m_winPopup = new wxComboPopupWindowBase2( this, wxNO_BORDER );
#else
int tlwFlags = wxNO_BORDER;
#ifdef wxCC_GENERIC_TLW_IS_FRAME
tlwFlags |= wxFRAME_NO_TASKBAR;
#endif
error: patch failed: src/common/combocmn.cpp:2141 error: src/common/combocmn.cpp: patch does not apply Checking patch src/common/datavcmn.cpp... error: while searching for:
wxDataViewItemArray selections;
GetSelections(selections);
return selections[0];
}
namespace
error: patch failed: src/common/datavcmn.cpp:1322 error: src/common/datavcmn.cpp: patch does not apply Checking patch src/common/dcbufcmn.cpp... error: while searching for: const double scale = dc ? dc->GetContentScaleFactor() : 1.0; wxBitmap* const buffer = new wxBitmap;
// we must always return a valid bitmap but creating a bitmap of
// size 0 would fail, so create a 1*1 bitmap in this case
buffer->CreateScaled(wxMax(w, 1), wxMax(h, 1), -1, scale);
return buffer;
}
error: patch failed: src/common/dcbufcmn.cpp:82 error: src/common/dcbufcmn.cpp: patch does not apply Checking patch src/common/gdicmn.cpp... error: while searching for: *height = size.y; }
wxSize wxGetDisplaySize() { return wxDisplay().GetGeometry().GetSize(); }
void wxClientDisplayRect(int x, int y, int width, int height) { const wxRect rect = wxGetClientDisplayRect();
error: patch failed: src/common/gdicmn.cpp:863 error: src/common/gdicmn.cpp: patch does not apply Checking patch src/common/intl.cpp... error: while searching for: { str = buf;
// As we get our decimal point separator from Win32 and not the
// CRT there is a possibility of mismatch between them and this
// can easily happen if the user code called setlocale()
error: patch failed: src/common/intl.cpp:1628 error: src/common/intl.cpp: patch does not apply Checking patch src/generic/grid.cpp... error: while searching for: { case WXGRID_CURSOR_RESIZE_ROW: { DoGridDragResize(event.GetPosition(), wxGridRowOperations(), gridWindow); } break;
error: patch failed: src/generic/grid.cpp:3824 error: src/generic/grid.cpp: patch does not apply Checking patch src/msw/bmpcbox.cpp... error: while searching for:
wxComboBox::DoClear();
HWND hwnd = GetHwnd();
DissociateHandle();
::DestroyWindow(hwnd);
if ( !MSWCreateControl(wxT("COMBOBOX"), wxEmptyString, pos, size) )
return;
// initialize the controls contents
for ( i = 0; i < numItems; i++ )
{
error: patch failed: src/msw/bmpcbox.cpp:156 error: src/msw/bmpcbox.cpp: patch does not apply Checking patch src/msw/font.cpp... error: while searching for: class WXDLLEXPORT wxFontRefData: public wxGDIRefData { public: wxFontRefData(const wxFontInfo& info = wxFontInfo());
wxFontRefData(const wxNativeFontInfo& info, WXHFONT hFont = 0)
{
error: patch failed: src/msw/font.cpp:54 error: src/msw/font.cpp: patch does not apply Checking patch src/msw/menuitem.cpp... error: while searching for: // native menu uses small top margin for separator if ( SeparatorMargin.cyTopHeight >= 2 ) SeparatorMargin.cyTopHeight -= 2; } else
error: patch failed: src/msw/menuitem.cpp:368 error: src/msw/menuitem.cpp: patch does not apply Checking patch src/msw/window.cpp... error: while searching for: }
/extern/ int wxGetSystemMetrics(int nIndex, const wxWindow* window) {
if ( !window )
window = wxApp::GetMainTopWindow();
if ( window )
{
typedef int (WINAPI * GetSystemMetricsForDpi_t)(int nIndex, UINT dpi);
static GetSystemMetricsForDpi_t s_pfnGetSystemMetricsForDpi = NULL;
static bool s_initDone = false;
if ( !s_initDone )
{
wxLoadedDLL dllUser32("user32.dll");
wxDL_INIT_FUNC(s_pfn, GetSystemMetricsForDpi, dllUser32);
s_initDone = true;
}
if ( s_pfnGetSystemMetricsForDpi )
{
const int dpi = window->GetDPI().y;
return s_pfnGetSystemMetricsForDpi(nIndex, (UINT)dpi);
}
}
wxUnusedVar(window);
return ::GetSystemMetrics(nIndex);
error: patch failed: src/msw/window.cpp:4773 error: src/msw/window.cpp: patch does not apply Checking patch src/osx/cocoa/dataview.mm... error: while searching for: if ( !dvc->GetEventHandler()->ProcessEvent(eventDV) ) [super keyDown:event]; } else { [super keyDown:event]; // all other keys } }
// // contextual menus //
error: patch failed: src/osx/cocoa/dataview.mm:1734 error: src/osx/cocoa/dataview.mm: patch does not apply Checking patch src/osx/cocoa/settings.mm... error: while searching for: // ----------------------------------------------------------------------------
// Get a system metric, e.g. scrollbar size int wxSystemSettingsNative::GetMetric(wxSystemMetric index, const wxWindow* WXUNUSED(win)) { int value;
error: patch failed: src/osx/cocoa/settings.mm:224 error: src/osx/cocoa/settings.mm: patch does not apply CMakeFiles/dep_wxWidgets.dir/build.make:122: recipe for target 'dep_wxWidgets-prefix/src/dep_wxWidgets-stamp/dep_wxWidgets-patch' failed make[2]: [dep_wxWidgets-prefix/src/dep_wxWidgets-stamp/dep_wxWidgets-patch] Error 1 CMakeFiles/Makefile2:154: recipe for target 'CMakeFiles/dep_wxWidgets.dir/all' failed make[1]: [CMakeFiles/dep_wxWidgets.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2
the above error is just "patch failed in wxwidgets" have you gone to the correct directory and then "git reset --hard"
after you execute this command please execute "git status" and list the result here for a check
experts@Alienware:~/work/projects/BambuStudio/deps/build$ cd dep_wxWidgets-prefix/ experts@Alienware:~/work/projects/BambuStudio/deps/build/dep_wxWidgets-prefix$ git reset --hard HEAD is now at 96707fc FIX: tool change time is too long experts@Alienware:~/work/projects/BambuStudio/deps/build/dep_wxWidgets-prefix$ git status On branch master nothing to commit, working tree clean
the directory is wrong from your above information
it should be /work/projects/BambuStudio/deps/build/dep_wxWidgets-prefix/src/dep_wxWidgets
-- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_baseu-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_baseu_net-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_core-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_adv-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_aui-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_html-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_propgrid-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_ribbon-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_richtext-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_webview-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/wx/3.1.5/web-extensions/webkit2_extu-3.1.so -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_xrc-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_media-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_gl-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_gtk3u_qa-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/lib/libwx_baseu_xml-3.1.a -- Installing: /home/experts/work/projects/BambuStudio_dep/usr/local/bin/wxrc [ 96%] Completed 'dep_wxWidgets' [ 96%] Built target dep_wxWidgets Makefile:90: recipe for target 'all' failed make: *** [all] Error 2
wxWidgets built successfully
need more logs to check which part has error
experts@Alienware:~/work/projects/BambuStudio/deps/build$ cmake ../ -DDESTDIR="/home/experts/work/projects/BambuStudio_dep" -DCMAKE_BUILD_TYPE=Release -DDEP_WX_GTK3=1 make -j4 CMake Error: The source directory "/home/experts/work/projects/BambuStudio/deps/build/-j4" does not exist. Specify --help for usage, or press the help button on the CMake GUI.