Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2017 13:48:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218883] games/OpenTomb: Open-source Tomb Raider 1-5 engine remake
Message-ID:  <bug-218883-13-GP8ErBNgyC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218883-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218883-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218883

Piotr Kubaj <pkubaj@anongoth.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #182093|0                           |1
        is obsolete|                            |

--- Comment #3 from Piotr Kubaj <pkubaj@anongoth.pl> ---
Created attachment 182127
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182127&action=
=3Dedit
shar

I need GCC because of:
[ 75%] Building CXX object CMakeFiles/OpenTomb.dir/src/world.cpp.o
/usr/bin/c++    -I/usr/local/include -I/usr/local/include/lua52
-I/usr/local/include/SDL2 -I/usr/local/include/AL
-I/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-201=
7-04-24_alpha
-I/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-201=
7-04-24_alpha/extern/bullet
-I/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-201=
7-04-24_alpha/extern/freetype2/include
-I/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-201=
7-04-24_alpha/extern/ogg
-O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector
-fno-strict-aliasing   -std=3Dgnu++11 -o CMakeFiles/OpenTomb.dir/src/world.=
cpp.o
-c
/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-2017-=
04-24_alpha/src/world.cpp
/usr/local/poudriere/ports/default/games/OpenTomb/work/OpenTomb-win32-2017-=
04-24_alpha/src/world.cpp:689:53:
error: no viable conversion from
'__map_iterator<__tree_iterator<__value_type<unsigned int, [...]>, class
std::__1::__tree_node<union
      std::__1::__value_type<unsigned int, struct base_item_s *>, void *> *,
[...]>>' to '__map_iterator<__tree_iterator<__value_type<const unsigned int,
[...]>, class std::__1::__tree_node<union std::__1::__value_type<const unsi=
gned
int, struct base_item_s *>, void
      *> *, [...]>>'
    std::map<const uint32_t, base_item_p>::iterator it =3D
global_world.items_tree.find(item_id);
                                                    ^=20=20=20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/map:648:29: note: candidate constructor (the implicit c=
opy
constructor) not viable: no known conversion from 'iterator' (aka
'__map_iterator<typename __base::iterator>') to 'const
=20=20=20=20=20
std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<c=
onst
unsigned int, base_item_s *>,
std::__1::__tree_node<std::__1::__value_type<const unsigned int, base_item_s
*>, void *> *, long> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_iterator
                            ^
/usr/include/c++/v1/map:648:29: note: candidate constructor (the implicit m=
ove
constructor) not viable: no known conversion from 'iterator' (aka
'__map_iterator<typename __base::iterator>') to
=20=20=20=20=20
'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<=
const
unsigned int, base_item_s *>,
std::__1::__tree_node<std::__1::__value_type<const unsigned int, base_item_s
*>, void *> *, long> > &&' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_iterator
                            ^
/usr/include/c++/v1/map:672:5: note: candidate constructor not viable: no k=
nown
conversion from 'iterator' (aka '__map_iterator<typename __base::iterator>'=
) to
'std::__1::__tree_iterator<std::__1::__value_type<const unsigned int,
base_item_s *>,
      std::__1::__tree_node<std::__1::__value_type<const unsigned int,
base_item_s *>, void *> *, long>' for 1st argument
    __map_iterator(_TreeIterator __i) _NOEXCEPT : __i_(__i) {}
    ^
1 error generated.
*** Error code 1

bin/OpenTomb is actually enough, look at games/eduke32, it also installs ju=
st 2
binaries if you disable relevant options.

Please review the new shar.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218883-13-GP8ErBNgyC>