-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I'm trying to implement ACL :
add oatpp-consul\Client.hpp:
oatpp::String kvGetACL(const oatpp::String& key, const oatpp::String& token) const;add oatpp-consul\rest\Client.hpp:
API_CALL(HTTP_GET, "v1/kv/{key}", kvGetACL, PATH(String, key), AUTHORIZATION(String, token, "Bearer"))Actually, I reset version to tag 1.0.0.
complie & build & install normally.
C:\Program Files (x86)\oatpp-consulHowever when I use it by oatpp-consul.lib, got error:
1>config_helper.obj : error LNK2001: unresolved external symbol "public: class oatpp::data::mapping::type::String __cdecl oatpp::consul::Client::kvGetACL(class oatpp::data::mapping::type::String const &,class oatpp::data::mapping::type::String const &)const " (?kvGetACL@Client@consul@oatpp@@QEBA?AVString@type@mapping@data@3@AEBV45673@0@Z)
1>..\..\..\..\..\UIH\bin\RtTpsConfigHelper.dll : fatal error LNK1120: 1 unresolved externals
platform: Windows 10
cmake version 3.19.3
Microsoft Visual Studio Enterprise 2019 Version 16.8.3
looking forward to your help, thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels