mmccoo / nerd_mmccoo

This repo holds source code for my nerd_mmccoo youtube channel
Apache License 2.0
58 stars 21 forks source link

failed to build boost_polygon_geometry #7

Closed jeng1220 closed 3 years ago

jeng1220 commented 3 years ago

Hi, I tried to compile /nerd_mmccoo/boost_polygon_geometry but it threw error message as following:

In file included from show_shape.cpp:2:0:
./show_shape.h:14:34: error: expected template-name before ‘<’ token
 class MyCanvas: public wxScrolled<wxWindow>
                                  ^
./show_shape.h:14:34: error: expected ‘{’ before ‘<’ token
./show_shape.h:14:34: error: expected unqualified-id before ‘<’ token

OS: Ubuntu 18.04 wxWidgets packages, installed by apt:

Do you know how to fix it?

jeng1220 commented 3 years ago

Installing libwxgtk3.0-gtk3-dev solve this issue. Close the issue.