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

I had some problems compiling #2

Open
PandaK404 opened this issue Sep 9, 2023 · 0 comments
Open

I had some problems compiling #2

PandaK404 opened this issue Sep 9, 2023 · 0 comments

Comments

@PandaK404
Copy link

PandaK404 commented Sep 9, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant