Azure / azure-storage-cpplite

Lite version of C++ Client Library for Microsoft Azure Storage
MIT License
26 stars 44 forks source link

Include files not found in VS 2015 C++ project #59

Open asafka-zerto opened 4 years ago

asafka-zerto commented 4 years ago

I have both VS 2017 and VS 2015 installed on my Windows machines. I'm using VS 2015 for some C++ projects. I've cloned and built the azure-store-cpplite library per the build instructions. Now when I try to include:

include "storage_credential.h"

include "storage_account.h"

include "blob/blob_client.h"

VS does not find these files.

I've run "vcpkg integrate install":

Applied user-wide integration for this vcpkg root.

All MSBuild C++ projects can now #include any installed libraries. Linking will be handled automatically. Installing new libraries will make them instantly available.

CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=C:/projects/vcpkg/scripts/buildsystems/vcpkg.cmake"

But my VS C++ project still doesn't find the include files.

Jinming-Hu commented 4 years ago

@asafka-zerto We now only support install dependencies of cpplite via vcpkg, cpplite itself is not supported by vcpkg yet.

#include "storage_credential.h"
#include "storage_account.h"
#include "blob/blob_client.h"

These three headers are from cpplite, so you should specify the include and link path manually in your VS project.