#include "smile.h"

The engine.
Post Reply
Warbird
Posts: 9
Joined: Wed May 12, 2010 8:24 pm

#include "smile.h"

Post by Warbird »

hi!

I have sort of a newbie question. I want to use SMILE and have downloaded VC 8.0 SP1 to a folder and made a win 32 console application project in Visual C++ 2008 and my main file just looks like:

#include "smile.h"

int main()
{
return 0;
}

when I compile I get the error message:

fatal error C1083: Cannot open include file: 'intarray.h': No such file or directory

The problem seem to be that the compiler cannot locate the folder where I installed SMILE?
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: #include "smile.h"

Post by shooltz[BayesFusion] »

Warbird wrote:The problem seem to be that the compiler cannot locate the folder where I installed SMILE?
That's correct. You can fix this at the project level by adding SMILE directory in project settings (Configuration properties | C/C++ | General | Additional include directories).

You can also add SMILE to global include path in Tools | Options.
Warbird
Posts: 9
Joined: Wed May 12, 2010 8:24 pm

Post by Warbird »

Thanks, it works!
Post Reply