Nestharus
o-o
- Reaction score
- 84
I got it working : )
Ok, here are the steps I took
#1: Configuration Properties -> Environment
PATH=<path to dll>
#2: C/C++ -> General -> Additional Include Directories
include path to header file (in src)
#3: Link -> General -> Additional Library Directories
Include path to .lib file (in bin)
#4: Link -> Input -> Additional Dependencies
Include lib file in bin
#5:
Include this in any file where you are using StormLib stuff
#include "StormLib.h"
And that is all. You don't need the dll to be in the same directory as exe and you don't need any of the files to be in the project. I got it to compile with methods in there with 0 errors ; )
Ok, here are the steps I took
#1: Configuration Properties -> Environment
PATH=<path to dll>
#2: C/C++ -> General -> Additional Include Directories
include path to header file (in src)
#3: Link -> General -> Additional Library Directories
Include path to .lib file (in bin)
#4: Link -> Input -> Additional Dependencies
Include lib file in bin
#5:
Include this in any file where you are using StormLib stuff
#include "StormLib.h"
And that is all. You don't need the dll to be in the same directory as exe and you don't need any of the files to be in the project. I got it to compile with methods in there with 0 errors ; )