my dll has 2 entry points and I wish use EasyLogging++ with both entries..
I tried to use this header:
#pragma once
#ifndef EASYLOGGING_LOADER_H
#define EASYLOGGING_LOADER_H
#include "easylogging++.h"
INITIALIZE_EASYLOGGINGPP
#endif
but with this file included, I get the errors like this:
Error LNK2005 "class std::shared_ptr<class el::base::Storage> el::base::elStorage" (?elStorage@base@el@@3V?$shared_ptr@VStorage@base@el@@@std@@A) already defined in gInput.obj
any ideas on solve this? thanks
ps. i'm using the Easylogging++ v9.96.4