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

2 errors generated. make: *** [Makefile:732: obj/tiles/overmap.o] Error 1 #23619

Closed
Quintovir opened this issue Apr 28, 2018 · 4 comments
Closed
Labels
Code: Build Issues regarding different builds and build environments OS: Linux Issues related to Linux operating system

Comments

@Quintovir
Copy link

Quintovir commented Apr 28, 2018

Game version:
git pull done on 4/28/2018 @ ~2:50 AM CDT
From git://github.com/CleverRaven/Cataclysm-DDA
1ff96d8..0fe929d
Operating system:
Manjaro Linux
Tiles or curses:
Tiles
Mods active:
None

Expected behavior

Successfully update/fresh install of CDDA and launch.

Actual behavior

THIS IS NOT THE WHOLE LOG, JUST THE PARTS THAT SHOW ERRORS.

In file included from src/overmap.cpp:1:
In file included from src/overmap.h:10:
In file included from src/monster.h:5:
In file included from src/creature.h:5:
In file included from src/pimpl.h:5:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/memory:81:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr.h:52:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:588:8: error: delete called on non-final 'weighted_int_list<string_id<ter_t> >' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
              delete __p;
              ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:595:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<weighted_int_list<string_id<ter_t> > *>' requested here
        : __shared_count(__p)
          ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1079:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<weighted_int_list<string_id<ter_t> > *>' requested here
        : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
                       ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1243:4: note: in instantiation of function template specialization 'std::__shared_ptr<weighted_int_list<string_id<ter_t> >, __gnu_cxx::_S_atomic>::__shared_ptr<weighted_int_list<string_id<ter_t> >, void>' requested here
          __shared_ptr(__p).swap(*this);
          ^
src/overmap.cpp:716:44: note: in instantiation of function template specialization 'std::__shared_ptr<weighted_int_list<string_id<ter_t> >, __gnu_cxx::_S_atomic>::reset<weighted_int_list<string_id<ter_t> > >' requested here
        new_region.default_groundcover_str.reset( new weighted_int_list<ter_str_id> );
                                           ^
In file included from src/overmap.cpp:1:
In file included from src/overmap.h:10:
In file included from src/monster.h:5:
In file included from src/creature.h:5:
In file included from src/pimpl.h:5:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/memory:81:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr.h:52:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:376:9: error: delete called on non-final 'weighted_int_list<string_id<ter_t> >' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
      { delete _M_ptr; }
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:371:7: note: in instantiation of member function 'std::_Sp_counted_ptr<weighted_int_list<string_id<ter_t> > *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
      _Sp_counted_ptr(_Ptr __p) noexcept
      ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:584:20: note: in instantiation of member function 'std::_Sp_counted_ptr<weighted_int_list<string_id<ter_t> > *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
              _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
                          ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:595:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<weighted_int_list<string_id<ter_t> > *>' requested here
        : __shared_count(__p)
          ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1079:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<weighted_int_list<string_id<ter_t> > *>' requested here
        : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
                       ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1243:4: note: in instantiation of function template specialization 'std::__shared_ptr<weighted_int_list<string_id<ter_t> >, __gnu_cxx::_S_atomic>::__shared_ptr<weighted_int_list<string_id<ter_t> >, void>' requested here
          __shared_ptr(__p).swap(*this);
          ^
src/overmap.cpp:716:44: note: in instantiation of function template specialization 'std::__shared_ptr<weighted_int_list<string_id<ter_t> >, __gnu_cxx::_S_atomic>::reset<weighted_int_list<string_id<ter_t> > >' requested here
        new_region.default_groundcover_str.reset( new weighted_int_list<ter_str_id> );
                                           ^
2 errors generated.
make: *** [Makefile:732: obj/tiles/overmap.o] Error 1
make: *** Waiting for unfinished jobs....

$ ./cataclysm-launcher 
Couldn't find cataclysm game binary in /home/###/Cataclysm-DDA/

Steps to reproduce the behavior

Update or install CDDA.

@ZhilkinSerg ZhilkinSerg added Code: Build Issues regarding different builds and build environments OS: Linux Issues related to Linux operating system labels Apr 28, 2018
@Quintovir
Copy link
Author

Quintovir commented May 7, 2018

This is what I get when I do a fresh install and git pull using the following commands (I've also deleted the settings in the .config folder):

git clone --depth 1 git://github.com/CleverRaven/Cataclysm-DDA.git
cd /home/USERNAME/Cataclysm-DDA
make -j15 CLANG=1 CCACHE=1 RELEASE=1 TILES=1 SOUND=1 LUA=1 USE_XDG_DIR=1

Do I need to do something different to make it work?

CCACHE_CPP2=1 ccache clang++  -DRELEASE -DGIT_VERSION -DTILES -DLOCALIZE -DUSE_XDG_DIR -ffast-math -Os -Wall -Wextra -fsigned-char -Werror -std=c++11 -MMD -MP -D_REENTRANT -I/usr/include/SDL2 -DSDL_SOUND -DLUA -I/usr/include/SDL2 -I/usr/include -D_REENTRANT -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -c src/catalua.cpp -o obj/tiles/catalua.o
In file included from src/loading_ui.cpp:1:
In file included from src/loading_ui.h:5:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/memory:80:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:78:2: error: delete called on non-final 'uimenu' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
        delete __ptr;
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:268:4: note: in instantiation of member function 'std::default_delete<uimenu>::operator()' requested here
          get_deleter()(__ptr);
          ^
src/loading_ui.cpp:12:13: note: in instantiation of member function 'std::unique_ptr<uimenu, std::default_delete<uimenu> >::~unique_ptr' requested here
loading_ui::loading_ui( bool display )
            ^
1 error generated.
make: *** [Makefile:722: obj/tiles/loading_ui.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/mapdata.cpp:1:
In file included from src/mapdata.h:11:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/vector:62:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:98:7: error: destructor called on non-final 'ter_t' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
    { __pointer->~_Tp(); }
      ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:108:11: note: in instantiation of function template specialization 'std::_Destroy<ter_t>' requested here
            std::_Destroy(std::__addressof(*__first));
                 ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:137:2: note: in instantiation of function template specialization 'std::_Destroy_aux<false>::__destroy<ter_t *>' requested here
        __destroy(__first, __last);
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:206:7: note: in instantiation of function template specialization 'std::_Destroy<ter_t *>' requested here
      _Destroy(__first, __last);
      ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_vector.h:434:14: note: in instantiation of function template specialization 'std::_Destroy<ter_t *, ter_t>' requested here
      { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
             ^
src/generic_factory.h:118:7: note: in instantiation of member function 'std::vector<ter_t, std::allocator<ter_t> >::~vector' requested here
class generic_factory
      ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:98:19: note: qualify call to silence this warning
    { __pointer->~_Tp(); }
                  ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:98:7: error: destructor called on non-final 'furn_t' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
    { __pointer->~_Tp(); }
      ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:108:11: note: in instantiation of function template specialization 'std::_Destroy<furn_t>' requested here
            std::_Destroy(std::__addressof(*__first));
                 ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:137:2: note: in instantiation of function template specialization 'std::_Destroy_aux<false>::__destroy<furn_t *>' requested here
        __destroy(__first, __last);
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:206:7: note: in instantiation of function template specialization 'std::_Destroy<furn_t *>' requested here
      _Destroy(__first, __last);
      ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_vector.h:434:14: note: in instantiation of function template specialization 'std::_Destroy<furn_t *, furn_t>' requested here
      { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
             ^
src/generic_factory.h:118:7: note: in instantiation of member function 'std::vector<furn_t, std::allocator<furn_t> >::~vector' requested here
class generic_factory
      ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_construct.h:98:19: note: qualify call to silence this warning
    { __pointer->~_Tp(); }
                  ^
In file included from src/mapdata.cpp:1:
In file included from src/mapdata.h:5:
In file included from src/int_id.h:5:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/string:41:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/allocator.h:46:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/ext/new_allocator.h:140:22: error: destructor called on non-final 'furn_t' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
        destroy(_Up* __p) { __p->~_Up(); }
                            ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/alloc_traits.h:487:8: note: in instantiation of function template specialization '__gnu_cxx::new_allocator<furn_t>::destroy<furn_t>' requested here
        { __a.destroy(__p); }
              ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/vector.tcc:439:21: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<furn_t> >::destroy<furn_t>' requested here
            _Alloc_traits::destroy(this->_M_impl,
                           ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_vector.h:948:4: note: in instantiation of function template specialization 'std::vector<furn_t, std::allocator<furn_t> >::_M_realloc_insert<const furn_t &>' requested here
          _M_realloc_insert(end(), __x);
          ^
src/generic_factory.h:253:18: note: in instantiation of member function 'std::vector<furn_t, std::allocator<furn_t> >::push_back' requested here
            list.push_back( obj );
                 ^
src/mapdata.cpp:371:24: note: in instantiation of member function 'generic_factory<furn_t>::insert' requested here
        furniture_data.insert( null_furniture_t() );
                       ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/ext/new_allocator.h:140:28: note: qualify call to silence this warning
        destroy(_Up* __p) { __p->~_Up(); }
                                  ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/ext/new_allocator.h:140:22: error: destructor called on non-final 'ter_t' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
        destroy(_Up* __p) { __p->~_Up(); }
                            ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/alloc_traits.h:487:8: note: in instantiation of function template specialization '__gnu_cxx::new_allocator<ter_t>::destroy<ter_t>' requested here
        { __a.destroy(__p); }
              ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/vector.tcc:439:21: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<ter_t> >::destroy<ter_t>' requested here
            _Alloc_traits::destroy(this->_M_impl,
                           ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/stl_vector.h:948:4: note: in instantiation of function template specialization 'std::vector<ter_t, std::allocator<ter_t> >::_M_realloc_insert<const ter_t &>' requested here
          _M_realloc_insert(end(), __x);
          ^
src/generic_factory.h:253:18: note: in instantiation of member function 'std::vector<ter_t, std::allocator<ter_t> >::push_back' requested here
            list.push_back( obj );
                 ^
src/mapdata.cpp:379:22: note: in instantiation of member function 'generic_factory<ter_t>::insert' requested here
        terrain_data.insert( null_terrain_t() );
                     ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/ext/new_allocator.h:140:28: note: qualify call to silence this warning
        destroy(_Up* __p) { __p->~_Up(); }
                                  ^
4 errors generated.
make: *** [Makefile:722: obj/tiles/mapdata.o] Error 1
In file included from src/monstergenerator.cpp:1:
In file included from src/monstergenerator.h:7:
In file included from src/mattack_common.h:5:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/memory:80:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:78:2: error: delete called on non-final 'generic_factory<mtype>' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
        delete __ptr;
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:268:4: note: in instantiation of member function 'std::default_delete<generic_factory<mtype> >::operator()' requested here
          get_deleter()(__ptr);
          ^
src/pimpl.h:34:7: note: in instantiation of member function 'std::unique_ptr<generic_factory<mtype>, std::default_delete<generic_factory<mtype> > >::~unique_ptr' requested here
class pimpl : private std::unique_ptr<T>
      ^
In file included from src/monstergenerator.cpp:1:
In file included from src/monstergenerator.h:7:
In file included from src/mattack_common.h:5:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/memory:80:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:78:2: error: delete called on non-final 'generic_factory<species_type>' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
        delete __ptr;
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:268:4: note: in instantiation of member function 'std::default_delete<generic_factory<species_type> >::operator()' requested here
          get_deleter()(__ptr);
          ^
src/pimpl.h:34:7: note: in instantiation of member function 'std::unique_ptr<generic_factory<species_type>, std::default_delete<generic_factory<species_type> > >::~unique_ptr' requested here
class pimpl : private std::unique_ptr<T>
      ^
2 errors generated.
make: *** [Makefile:722: obj/tiles/monstergenerator.o] Error 1
In file included from src/overmap.cpp:1:
In file included from src/overmap.h:10:
In file included from src/monster.h:5:
In file included from src/creature.h:5:
In file included from src/pimpl.h:5:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/memory:81:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr.h:52:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:588:8: error: delete called on non-final 'weighted_int_list<string_id<ter_t> >' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
              delete __p;
              ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:595:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<weighted_int_list<string_id<ter_t> > *>' requested here
        : __shared_count(__p)
          ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1079:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<weighted_int_list<string_id<ter_t> > *>' requested here
        : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
                       ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1243:4: note: in instantiation of function template specialization 'std::__shared_ptr<weighted_int_list<string_id<ter_t> >, __gnu_cxx::_S_atomic>::__shared_ptr<weighted_int_list<string_id<ter_t> >, void>' requested here
          __shared_ptr(__p).swap(*this);
          ^
src/overmap.cpp:716:44: note: in instantiation of function template specialization 'std::__shared_ptr<weighted_int_list<string_id<ter_t> >, __gnu_cxx::_S_atomic>::reset<weighted_int_list<string_id<ter_t> > >' requested here
        new_region.default_groundcover_str.reset( new weighted_int_list<ter_str_id> );
                                           ^
In file included from src/overmap.cpp:1:
In file included from src/overmap.h:10:
In file included from src/monster.h:5:
In file included from src/creature.h:5:
In file included from src/pimpl.h:5:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/memory:81:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr.h:52:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:376:9: error: delete called on non-final 'weighted_int_list<string_id<ter_t> >' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
      { delete _M_ptr; }
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:371:7: note: in instantiation of member function 'std::_Sp_counted_ptr<weighted_int_list<string_id<ter_t> > *, __gnu_cxx::_S_atomic>::_M_dispose' requested here
      _Sp_counted_ptr(_Ptr __p) noexcept
      ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:584:20: note: in instantiation of member function 'std::_Sp_counted_ptr<weighted_int_list<string_id<ter_t> > *, __gnu_cxx::_S_atomic>::_Sp_counted_ptr' requested here
              _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
                          ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:595:4: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<weighted_int_list<string_id<ter_t> > *>' requested here
        : __shared_count(__p)
          ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1079:17: note: in instantiation of function template specialization 'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<weighted_int_list<string_id<ter_t> > *>' requested here
        : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
                       ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1243:4: note: in instantiation of function template specialization 'std::__shared_ptr<weighted_int_list<string_id<ter_t> >, __gnu_cxx::_S_atomic>::__shared_ptr<weighted_int_list<string_id<ter_t> >, void>' requested here
          __shared_ptr(__p).swap(*this);
          ^
src/overmap.cpp:716:44: note: in instantiation of function template specialization 'std::__shared_ptr<weighted_int_list<string_id<ter_t> >, __gnu_cxx::_S_atomic>::reset<weighted_int_list<string_id<ter_t> > >' requested here
        new_region.default_groundcover_str.reset( new weighted_int_list<ter_str_id> );
                                           ^
2 errors generated.
make: *** [Makefile:722: obj/tiles/overmap.o] Error 1
In file included from src/catalua.cpp:3:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/memory:80:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:78:2: error: delete called on non-final 'uimenu' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
        delete __ptr;
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:268:4: note: in instantiation of member function 'std::default_delete<uimenu>::operator()' requested here
          get_deleter()(__ptr);
          ^
src/catalua.cpp:879:32: note: in instantiation of member function 'std::unique_ptr<uimenu, std::default_delete<uimenu> >::~unique_ptr' requested here
static std::unique_ptr<uimenu> uimenu_instance;
                               ^
1 error generated.
make: *** [Makefile:722: obj/tiles/catalua.o] Error 1

@pisskop
Copy link
Contributor

pisskop commented May 7, 2018

This is fairly obnoxious in how long it is, and how you expect people to pick through that to find your error. Do you not know how to pick the error? I can almost guarantee you are missing some program or codex or something.

Everything that says

CCACHE

is good.

https://github.com/CleverRaven/Cataclysm-DDA/blob/ef69f3b3c3c92ce207ebcd2c7dfa33ba927f1ae1/COMPILING.md
^^ is good to read. youre trying to do several different things to the code.

@Quintovir
Copy link
Author

Quintovir commented May 7, 2018

Do you not know how to pick the error?

I think I did in the first post. In the second post I included everything since I'm not sure if the stuff that doesn't give an error might be needed by a person trying to fix the issue. Looks like it isn't needed, so I'll remove the extra lines.

I've been using the same commands to update/compile the game since January with no issues. I have looked at the COMPILING.md in the past to tweak things.

@Quintovir
Copy link
Author

I got it working after getting some pointers from reddit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code: Build Issues regarding different builds and build environments OS: Linux Issues related to Linux operating system
Projects
None yet
Development

No branches or pull requests

3 participants