Direct X 10 Library related

I just started diving into C++ a while ago and now im using the direct x library mainly for an assignment but probably will go into full detail later on.

The main problem im having is somewhat mysterious to me :/

I have 1 Header file and 1 cpp file,

#include <cstdlib>
#include <ctime>
#include <iostream>
#include <D3DX10.h>

using namespace std;

void PrintD3DXVector3(D3DXVECTOR3 cVector3);

and the cpp file just includes

#include "D3DX10Vector.h"

Before doing this i made sure everything was linked properly according to my course book anyway..

it gives me 2 errors:

Error 2 error LNK1120: 1 unresolved externals C:\Users\Edmark\Documents\Visual Studio 2010\Projects\DirectXCAL\Debug\DirectXCAL.exe 1 1 DirectXCAL

Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\Edmark\Documents\Visual Studio 2010\Projects\DirectXCAL\DirectXCAL\MSVCRTD.lib(crtexe.obj) DirectXCAL

I looked into my properties to see if they were properly linked and the necessary libraries and includes were too..

Its a simple problem i know but i guess im not seeing it.. :[
Update: they were somewhat linked wrongly but another error has appeared

error LNK1104: cannot open file 'd3dx10.lib'

im sure i linked the library though...
Ok its fixed after a bit of looking around..
Sorry for the trouble :[
it was all down to my clumsiness
Topic archived. No new replies allowed.