OGRE icon indicating copy to clipboard operation
OGRE copied to clipboard

I had some problems compiling

Open PandaK404 opened this issue 2 years ago • 0 comments

This is a great job, but as I try to run it, I find that there are always a lot of errors. Can you tell me about the environment in which the project is running? For example, the G + + version, Boost version, and so on.

Thank you so much

After I execute make all, I make the following error:

XXX@XXX:~/project/Global-Router-ICCAD-Contest/GlobalRouter$ make all
-e = Compiling  main.cpp
-e = Compiling  lefdef/Def.cpp
-e = Compiling  lefdef/DefWriter.cpp
-e = Compiling  lefdef/Lef.cpp
-e = Compiling  lefdef/LefDefParser.cpp
-e = Compiling  lefdef/Saltflute.cpp
-e = Compiling  lefdef/cancel_intersect.cpp
In file included from /usr/local/include/boost/geometry/strategies/geographic/distance.hpp:38,
                 from /usr/local/include/boost/geometry/strategies/strategies.hpp:94,
                 from /usr/local/include/boost/geometry/geometry.hpp:49,
                 from /usr/local/include/boost/geometry.hpp:17,
                 from lefdef/cancel_intersect.cpp:3:
/usr/local/include/boost/geometry/geometries/point_xy.hpp: In member function ‘void boost::geometry::model::d2::point_xy<CoordinateType, CoordinateSystem>::x(const CoordinateType&)’:
/usr/local/include/boost/geometry/geometries/point_xy.hpp:74:27: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Key, class _Compare, class _Alloc> class std::set’
   74 |     { this->template set<0>(v); }
      |                           ^
/usr/local/include/boost/geometry/geometries/point_xy.hpp:74:27: note:   expected a type, got ‘0’
/usr/local/include/boost/geometry/geometries/point_xy.hpp:74:27: error: template argument 2 is invalid
/usr/local/include/boost/geometry/geometries/point_xy.hpp:74:27: error: template argument 3 is invalid
/usr/local/include/boost/geometry/geometries/point_xy.hpp: In member function ‘void boost::geometry::model::d2::point_xy<CoordinateType, CoordinateSystem>::y(const CoordinateType&)’:
/usr/local/include/boost/geometry/geometries/point_xy.hpp:78:27: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Key, class _Compare, class _Alloc> class std::set’
   78 |     { this->template set<1>(v); }
      |                           ^
/usr/local/include/boost/geometry/geometries/point_xy.hpp:78:27: note:   expected a type, got ‘1’
/usr/local/include/boost/geometry/geometries/point_xy.hpp:78:27: error: template argument 2 is invalid
/usr/local/include/boost/geometry/geometries/point_xy.hpp:78:27: error: template argument 3 is invalid
make: *** [Makefile:46: obj/cancel_intersect.o] Error 1

PandaK404 avatar Sep 09 '23 09:09 PandaK404