Newbie getting started with API, need help

Greetings,

I apologize in advance for the probably obvious questions, but i am just getting started with this. I can write VHDL all day long, but C++ is not exactly my forte :slight_smile:

I am trying to build a very simple app using visual studio C++ express 2008 to simply turn on some LED on the board (XEM3005).

My first issue is as follows: When I add okFrontPanelDLL.h/cpp to my project and build (no even writing any code yet), i get the following error:

c:\projects\visual studio\okconsole\okconsole\okfrontpaneldll.cpp(1483) :fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add ‘#include “stdafx.h”’ to your source?

So I’m stuck pretty early on… I searched the forums some, but found nothing related. Any help would be appreciated!

-Jakub

Hi Jakub–

This is actually a Visual Studio issue, so you might just want to Google for the answer. You can also just turn off precompiled headers in VS.