Jump to content
nikel1992

Microsoft Visual Studio 2010 eroare

Recommended Posts

Incerc sa fac o modelare 3d pentru un proiect de grafica la facultate si intampin urmatoarea eroare.

1>------ Build started: Project: Proiect grafica, Configuration: Debug Win32 ------

1>Build started 5/25/2012 8:34:03 PM.

1>InitializeBuildStatus:

1> Touching "Debug\Proiect grafica.unsuccessfulbuild".

1>ClCompile:

1> All outputs are up-to-date.

1> Modelare 3d.cpp

1>c:\users\cishu\documents\visual studio 2010\projects\proiect grafica\proiect grafica\modelare 3d.cpp(2): warning C4627: '#include <stdlib.h>': skipped when looking for precompiled header use

1> Add directive to 'StdAfx.h' or rebuild precompiled header

1>c:\users\cishu\documents\visual studio 2010\projects\proiect grafica\proiect grafica\modelare 3d.cpp(3): warning C4627: '#include <GL/gl.h>': skipped when looking for precompiled header use

1> Add directive to 'StdAfx.h' or rebuild precompiled header

1>c:\users\cishu\documents\visual studio 2010\projects\proiect grafica\proiect grafica\modelare 3d.cpp(4): warning C4627: '#include <GL/glut.h>': skipped when looking for precompiled header use

1> Add directive to 'StdAfx.h' or rebuild precompiled header

1>c:\users\cishu\documents\visual studio 2010\projects\proiect grafica\proiect grafica\modelare 3d.cpp(95): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?

1>

1>Build FAILED.

1>

1>Time Elapsed 00:00:00.10

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Folosesc un Microsoft Visual Studio 2010 de pe filelist.Am incercat sa introduc librariile cum scrie pe net si cum mai mi`a spus cineva de pe acest forum , dar nu am reusit. Va multumesc mult.

Link to comment
Share on other sites

e f simplu. daca folosesti "precompiled header" atunci trebuie sa incluzi in fiecare cpp stdafx.h asa cum spune eroarea:. Did you forget to add '#include "StdAfx.h"' to your source?

daca nu folosesti asa ceva atunci te duci in setarile proiectului si scoti precompiled header

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...