I tried including the boost thread library to get working with multi-threading within my DLL
but some off stuff happened.
I added the necessary directories into the project settings and put in
#include <boost\thread.hpp>but it told me the file didn't exist. (which it did)
I did some poking around and realized the problem, the directories needed for the header file were needed in the executable settings too.
Now the confusing part. After adding the directories to the project settings I started getting errors saying how Windows.h suddenly stopped existing!!
I "fixxed" this by having the settings inherit from default.
I put that in quotes because now I have a really odd problem, everything builds okay in debug (or so it seams) but when the program runs it doesn't even open a window. it does nothing at all.
just out of curiosity I decided to build in release. Which keeps giving me
1>------ Build started: Project: IndigoFramework, Configuration: Release Win32 ------ 1> Indigo.cpp 1>c:\users\bombshell\documents\visual studio 2010\projects\indigoengine\indigoengine\Indigo.h(8): fatal error C1083: Cannot open include file: 'd3dx11.h': No such file or directory 2>------ Build started: Project: IndigoEngine, Configuration: Release Win32 ------ 2> MProg.cpp 2>c:\users\bombshell\documents\visual studio 2010\projects\indigoengine\indigoengine\Indigo.h(8): fatal error C1083: Cannot open include file: 'd3dx11.h': No such file or directory========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
but on further investigation, though I don't know why building release gives me those errors
#include <boost\thread.hpp>from the DLL header file everything goes back to normal... (though building in release still gives the above error)
I'm just completely confused as to what is going on.
Any help is appreciated,
Thanks in advanced,