Jump to content
×
×
  • Create New...
  • 0

FreeBSD 11 32bit source compilation


CZEboy

Question

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

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
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
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


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.