sammycage / lunasvg

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

build the library in x64 #29

Closed OriBibi closed 3 years ago

OriBibi commented 3 years ago

I get an error when I try to build the library in x64. This is the error I get:

Error LNK1112 module machine type 'x64' conflicts with target machine type 'x86'
lunasvg C:\lunasvg-master\build\x64\Debug\affinetransform.obj

How should I build lunasvg in x64?

OriBibi commented 3 years ago

It is solved by the following commands:

>cmake "visual studio 15 2017 Win64" ..

>cd..

>cmake --build build --config Release

After these commands, I got the library in release configuration.