sammycage / lunasvg

SVG rendering and manipulation library in C++
MIT License
866 stars 124 forks source link

Build error on Win 10 VS 2019 #89

Closed TechArtistG closed 2 years ago

TechArtistG commented 2 years ago

Build error: Error (active) E0042 operand types are incompatible ("const char *" and "char") lunasvg D:\GitHub\lunasvg\source\parser.cpp 774

Repro:

  1. Open a VS command prompt and execute following commands: git clone https://github.com/sammycage/lunasvg.git cd lunasvg mkdir build cd build cmake ..
  2. Load resultant VS solution and build, will get build errors
sammycage commented 2 years ago

Fixed.. Thanks for reporting <3

fdwr commented 2 years ago

@TechArtistG Thanks, as I was about to say the same. I see Sammy fixed it here: https://github.com/sammycage/lunasvg/commit/a05bbe8b65d70ac05597af6aa110e27c08cfd853