Jump to content

FreeBSD 11 32bit source compilation


Recommended Posts

Hello guys,

 

I have problem while compiling on the freeBSD11 i installed clang and all needed stuff, all recompiled(including succesfull db compilation) and saddly on the game compilation I got this error:

In file included from BattleArena.cpp:7:
In file included from ./sectree_manager.h:4:
./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
      std::__1::allocator<SECTREE *> >::const_iterator' (aka
      '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
      (aka '__list_iterator<SECTREE *, void *>')
  ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
                              ^         ~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/list:274:29: note: candidate constructor (the implicit copy
      constructor) not viable: no known conversion from 'std::__1::list<SECTREE
      *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
      '__list_const_iterator<SECTREE *, void *>') to 'const
      std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __list_iterator
                            ^
/usr/include/c++/v1/list:274:29: note: candidate constructor (the implicit move
      constructor) not viable: no known conversion from 'std::__1::list<SECTREE
      *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
      '__list_const_iterator<SECTREE *, void *>') to
      'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
1 error generated.
gmake: *** [Makefile:98: OBJDIR_GAME/BattleArena.o] Error 1

 

Can you help me solve this please ? 

 

Kind regards,

CZEboy

Link to comment
Share on other sites

  • 1 year later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

On 6/13/2017 at 1:16 AM, CZEboy said:

Hello guys,

 

I have problem while compiling on the freeBSD11 i installed clang and all needed stuff, all recompiled(including succesfull db compilation) and saddly on the game compilation I got this error:

In file included from BattleArena.cpp:7:
In file included from ./sectree_manager.h:4:
./sectree.h:90:29: error: no viable conversion from 'std::__1::list<SECTREE *,
      std::__1::allocator<SECTREE *> >::const_iterator' (aka
      '__list_const_iterator<SECTREE *, void *>') to 'LPSECTREE_LIST::iterator'
      (aka '__list_iterator<SECTREE *, void *>')
  ...LPSECTREE_LIST::iterator it_tree = m_neighbor_list.begin();
                              ^         ~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/list:274:29: note: candidate constructor (the implicit copy
      constructor) not viable: no known conversion from 'std::__1::list<SECTREE
      *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
      '__list_const_iterator<SECTREE *, void *>') to 'const
      std::__1::__list_iterator<SECTREE *, void *> &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __list_iterator
                            ^
/usr/include/c++/v1/list:274:29: note: candidate constructor (the implicit move
      constructor) not viable: no known conversion from 'std::__1::list<SECTREE
      *, std::__1::allocator<SECTREE *> >::const_iterator' (aka
      '__list_const_iterator<SECTREE *, void *>') to
      'std::__1::__list_iterator<SECTREE *, void *> &&' for 1st argument
1 error generated.
gmake: *** [Makefile:98: OBJDIR_GAME/BattleArena.o] Error 1

 

Can you help me solve this please ? 

 

Kind regards,

CZEboy

 

Have you solved the problem?

Ba9XYD.png

I'm having the same problem
Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 1 year later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.