In the 23a38ca commit, it's impossible to call a rectangle/line(from the v1oopc-examples directory) due to an unmatching function call.
Full error:
In file included from /home/vvamp/hwlib/library/hwlib.hpp:75, from line.hpp:7, from rectangle.hpp:7, from rectangle.cpp:4: /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp: In constructor ‘hwlib::target::window::window(int, int, int)’: /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:52:61: error: no matching function for call to ‘hwlib::target::window::window(hwlib::xy, int&)’ window( int x, int y, int m = 5 ): window( xy( x, y ), m ){} ^ /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:52:4: note: candidate: ‘hwlib::target::window::window(int, int, int)’ window( int x, int y, int m = 5 ): window( xy( x, y ), m ){} ^~~~~~ /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:52:4: note: no known conversion for argument 1 from ‘hwlib::xy’ to ‘int’ /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:37:4: note: candidate: ‘hwlib::target::window::window(hwlib::xy, hwlib::color, hwlib::color, int)’ window( ^~~~~~ /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:37:4: note: no known conversion for argument 2 from ‘int’ to ‘hwlib::color’
This was on a clean ubuntu 19.04 and 18.04 LTS installation.
Reverting to an earlier commit fixed this issue.
In the 23a38ca commit, it's impossible to call a rectangle/line(from the v1oopc-examples directory) due to an unmatching function call. Full error:
In file included from /home/vvamp/hwlib/library/hwlib.hpp:75, from line.hpp:7, from rectangle.hpp:7, from rectangle.cpp:4: /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp: In constructor ‘hwlib::target::window::window(int, int, int)’: /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:52:61: error: no matching function for call to ‘hwlib::target::window::window(hwlib::xy, int&)’ window( int x, int y, int m = 5 ): window( xy( x, y ), m ){} ^ /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:52:4: note: candidate: ‘hwlib::target::window::window(int, int, int)’ window( int x, int y, int m = 5 ): window( xy( x, y ), m ){} ^~~~~~ /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:52:4: note: no known conversion for argument 1 from ‘hwlib::xy’ to ‘int’ /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:37:4: note: candidate: ‘hwlib::target::window::window(hwlib::xy, hwlib::color, hwlib::color, int)’ window( ^~~~~~ /home/vvamp/hwlib/library/targets/hwlib-native-sfml.hpp:37:4: note: no known conversion for argument 2 from ‘int’ to ‘hwlib::color’
This was on a clean ubuntu 19.04 and 18.04 LTS installation. Reverting to an earlier commit fixed this issue.