error C2143: syntax error : missing '' before '*'

Started by
2 comments, last by thedodgeruk 13 years, 9 months ago

i get this message error

error C2143: syntax error : missing ';' before '*'
but cant figure out why , the header file is included , so it should know what
MyMesh is ... cant figure out what else it could be , any help. why else this error would occur





#pragma once
#include "global.h"
#include "MyMesh.h" ////////////////////////////////////MyMesh
#include "MyModel.h"
#include "MyEngine.h" ////
//#include <string>
class MyEngine
{
public:
MyEngine(void);
~MyEngine(void);

MyMesh *Loadmesh(LPCWSTR Name); //////// this is were it says error

void DrawAll();
void Render();
MSG msg;
WNDCLASSEX wc;
HWND hWnd;
HRESULT InitD3D( HWND hWnd );


//list for models
// vector<MyModel> vModel;
};
Advertisement
Did you perhaps forget the ';' after one of the class declarations in those header files?
Or you have a circular header inclusion. In which case read this.
had a long look at it
and had a
circular header inclusion....

taking a look at the help file you sent , thank you

This topic is closed to new replies.

Advertisement