Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug builds are failing #6687

Open
1 of 3 tasks
FFY00 opened this issue Sep 9, 2024 · 0 comments · May be fixed by #6689
Open
1 of 3 tasks

Debug builds are failing #6687

FFY00 opened this issue Sep 9, 2024 · 0 comments · May be fixed by #6689
Labels
bug Something isn't working

Comments

@FFY00
Copy link

FFY00 commented Sep 9, 2024

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

main

Operating System (OS)

Linux

OS Version

Arch Linux

Additional system information

No response

Printer

NA

How to reproduce

Build main in debug mode.

cmake -DCMAKE_BUILD_TYPE=Debug ...

Actual results

FAILED: src/libslic3r/CMakeFiles/libslic3r.dir/Model.cpp.o
/usr/bin/g++-13 -DBOOST_ALL_DYN_LINK -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_LOG_DYN_LINK -DBOOST_LOG_NO_LIB -DBOOST_LOG_SETUP_DYN_LINK -DBOOST_LOG_SETUP_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DHAVE_SPNAV -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENVDB_ABI_VERSION_NUMBER=11 -DOPENVDB_USE_DELAYED_LOADING -DSLIC3R_DESKTOP_INTEGRATION -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DTBB_USE_DEBUG -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/home/anubis/git/OrcaSlicer/src -I/home/anubis/git/OrcaSlicer/build/src/platform -I/home/anubis/git/OrcaSlicer/src/libslic3r -I/home/anubis/git/OrcaSlicer/build/src/libslic3r -I/home/anubis/git/OrcaSlicer/src/libnest2d/include -I/home/anubis/git/OrcaSlicer/src/miniz -I/home/anubis/git/OrcaSlicer/src/glu-libtess/include -I/home/anubis/git/OrcaSlicer/src/clipper2/Clipper2Lib/include -isystem /usr/include/eigen3 -isystem /home/anubis/git/OrcaSlicer/src/libigl -isystem /usr/include/opencv4 -isystem /usr/include/opencascade -isystem /usr/include/Imath -w -fext-numeric-literals -Wall -Wno-reorder -g -std=gnu++17 -fPIC -fsigned-char -DDEBUG -Werror=return-type -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-label -Wno-unused-local-typedefs -Wno-sign-compare -Wno-misleading-indentation -Wno-switch -Wno-ignored-attributes -Wno-unknown-pragmas -gz=zstd -Winvalid-pch -include /home/anubis/git/OrcaSlicer/build/src/libslic3r/CMakeFiles/libslic3r.dir/cmake_pch.hxx -MD -MT src/libslic3r/CMakeFiles/libslic3r.dir/Model.cpp.o -MF src/libslic3r/CMakeFiles/libslic3r.dir/Model.cpp.o.d -o src/libslic3r/CMakeFiles/libslic3r.dir/Model.cpp.o -c /home/anubis/git/OrcaSlicer/src/libslic3r/Model.cpp
In file included from /home/anubis/git/OrcaSlicer/src/libslic3r/Fill/FillBase.hpp:4,
                 from /home/anubis/git/OrcaSlicer/src/libslic3r/Fill/FillAdaptive.hpp:14,
                 from /home/anubis/git/OrcaSlicer/src/libslic3r/Print.hpp:4,
                 from /home/anubis/git/OrcaSlicer/src/libslic3r/Arrange.hpp:6,
                 from /home/anubis/git/OrcaSlicer/src/libslic3r/ModelArrange.hpp:4,
                 from /home/anubis/git/OrcaSlicer/src/libslic3r/Model.cpp:6:
/home/anubis/git/OrcaSlicer/src/libslic3r/Model.cpp: In member function ‘std::vector<long unsigned int> Slic3r::ModelVolume::get_extruders_from_multi_material_painting() const’:
/home/anubis/git/OrcaSlicer/src/libslic3r/Model.cpp:2788:33: error: ‘TriangleStateType’ has not been declared
 2788 |      assert(static_cast<size_t>(TriangleStateType::Extruder1) - 1 == 0);
      |                                 ^~~~~~~~~~~~~~~~~

Expected results

The project should successfully build.

Project file & Debug log uploads

NA

Checklist of files to include

  • Log file
  • Project file

Anything else?

No response

@FFY00 FFY00 added the bug Something isn't working label Sep 9, 2024
@FFY00 FFY00 linked a pull request Sep 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant