tgockel / json-voorhees

A killer modern C++ library for interacting with JSON.
http://tgockel.github.io/json-voorhees/
Apache License 2.0
128 stars 18 forks source link

Unresolved External Symbol using MSVC 15 #57

Closed IkerGimenez closed 9 years ago

IkerGimenez commented 9 years ago

I compiled jsonv into libs using the provided solution, and besides looking by default for a dll configuration instead of a static library, the linker is generating:

jsonv.lib(value.obj) : error LNK2001: unresolved external symbol "int __cdecl jsonv::compare(class jsonv::value const &,class jsonv::value const &)" (?compare@jsonv@@YAHABVvalue@1@0@Z)

I'm only linking with a jsonvd.lib in debug and jsonv.lib in release. What am I doing wrong? This is compiled for x86.

tgockel commented 9 years ago

This should work now...unfortunately, I never use Windows, so I can miss this sort of thing.