|
dev.gamez.lv Latvian Game Developers Community
|
View previous topic :: View next topic |
Author |
Message |
Angel
Joined: 02 Jan 2005 Posts: 113 Location: Latvija
|
Posted: Thu May 26, 2005 10:32 pm Post subject: Probleemas ar "excpt.h" |
|
Kaarteejo reizi Visual studio nokaitinaaja liidz baltkveelei........
Pie kompileeshanas vinjs saka, ka ar failu (excpt.h) ir probleema un tapeec nekompilee kodu. Ja palaizh visu citus manas progas failus, bet iznjemot peedeejo, tad probleemas nav.
Pac interesanaakais ir tas, ka es nemaz c++ nelieku to failu izmantot un nav arii nekaadu atsauchu uz vijnu.
P.S. To Peedeejo failu nevaru neizmantot un ar paarrakstiishanu nekas netiek liidzeets ja vaig failu, tad te ir Code: |
#include "..\Math\Vectors\vectors.hpp"
#include "..\Math\Quaterions\Quaterions.hpp"
#include "..\Input\Input.hpp"
class CCamera{
private:
CVector cPos, cView, cUp;
void Move(float speed);
public:
CCamera(): cPos(CVector(0,0,0)), cView(CVector(0,0,0)), cUp(CVector(0,0,0)) {}
CCamera(float posX, float posY, float posZ,
float viewX, float viewY, float viewZ,
float upX, float upY, float upZ):cPos(CVector(posX,posY,posZ)),
cView(CVector(viewX,viewY,viewz)),cUp(CVector(upX,upY,upZ)) {}
void Update(CInput input);
void Look();
} |
Pagaidaam taads neliels uzmetums kameras klasei
P.S. Tie errori ir Quote: | c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\excpt.h(36): error C2143: syntax error : missing ';' before 'string'
| un Quote: | c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\excpt.h(36): fatal error C1004: unexpected end of file found
|
varbuut vinjus var atsleegt ar: #pragma disable(???,???) ??
Ja var, tad pasakiet kaa.
Taa domaaju pietiekami preciizs probleemas izklaasts... |
|
Back to top |
|
|
gazz
Joined: 03 Jan 2004 Posts: 355 Location: Teika
|
Posted: Thu May 26, 2005 10:44 pm Post subject: |
|
Quote: | c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\excpt.h(36): fatal error C1004: unexpected end of file found |
shitas izskataas peec precompiled headers probleemas. Parasti shitaa kljuuda izlec ja nepieleic #include "stdafx.h". bet dotajaa gadiijumaa nez vai shii ir taa vaina |
|
Back to top |
|
|
Angel
Joined: 02 Jan 2005 Posts: 113 Location: Latvija
|
Posted: Thu May 26, 2005 11:27 pm Post subject: |
|
precompiled headers - es tos neizmantoju |
|
Back to top |
|
|
anggelus
Joined: 23 Feb 2005 Posts: 383 Location: Rīga (LV)
|
Posted: Fri May 27, 2005 1:49 am Post subject: |
|
Pieliec pašā augšā
Code: | #include <windows.h> |
Man dažreiz kaut kas līdzīgs gadās, pievienoju tikai windows.h un viss aiziet. _________________ No comprendo lo que dice. |
|
Back to top |
|
|
Angel
Joined: 02 Jan 2005 Posts: 113 Location: Latvija
|
Posted: Fri May 27, 2005 11:14 pm Post subject: |
|
Probleemas atrisinaajums nebija tikai windows.h, bet arī ogl.h nez, kas tam kompilatoram ir saputrojies....... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|