Build a VS 2008 solution in VSTS 2010
-
Wednesday, March 21, 2012 3:42 AM
Hi,
I want to build a solution in VSTS 2010, which is created in older version VS 2008.
When i created a Win32 Console application project and added the existing project (VS 2008) to it, the .cpp file in the Source Files showed errors in the header files.
eg.,Inventor/Win/SoWin.hPlease help.
Thanks in advance
Saritha- Moved by Helen Zhao Friday, March 23, 2012 6:12 AM (From:Visual C++ General)
All Replies
-
Wednesday, March 21, 2012 7:29 AMTips on posting good questions: "Paste in the full text of any error message you see."
-
Wednesday, March 21, 2012 8:01 AM
Hi,
Thank you for reverting.
Please find below the Error list which is displayed while trying to build the solution:
Error 1 error C1083: Cannot open include file: 'Inventor/Win/SoWin.h': No such file or directory C:\Documents and Settings\username\Desktop\Coin-3 D\coinviewer\coinviewer\coinviewer.cpp 1 1 coinviewer
2 IntelliSense: cannot open source file "Inventor/Win/SoWin.h" c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 1 1 coinviewer
3 IntelliSense: cannot open source file "Inventor/Win/viewers/SoWinExaminerViewer.h" c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 2 1 coinviewer4 IntelliSense: cannot open source file "Inventor/nodes/SoSeparator.h" c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 3 1 coinviewer
5 IntelliSense: cannot open source file "Inventor/nodes/SoCone.h" c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 4 1 coinviewer
6 IntelliSense: cannot open source file "Inventor/SoInput.h" c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 5 1 coinviewer
7 IntelliSense: cannot open source file "Inventor/SoDB.h" c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 6 1 coinviewer
8 IntelliSense: identifier "HWND" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 11 2 coinviewer
9 IntelliSense: name followed by '::' must be a class or namespace name c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 11 16 coinviewer
10 IntelliSense: identifier "NULL" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 13 16 coinviewer
11 IntelliSense: identifier "exit" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 14 3 coinviewer
12 IntelliSense: identifier "SoWinExaminerViewer" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 16 2 coinviewer
13 IntelliSense: identifier "viewer" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 16 24 coinviewer
14 IntelliSense: expected a type specifier c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 16 37 coinviewer
15 IntelliSense: identifier "SbColor" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 17 29 coinviewer
16 IntelliSense: name followed by '::' must be a class or namespace name c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 18 30 coinviewer
17 IntelliSense: identifier "SoInput" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 21 2 coinviewer
18 IntelliSense: identifier "exit" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 26 4 coinviewer
19 IntelliSense: identifier "SoSeparator" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 29 3 coinviewer
20 IntelliSense: identifier "root" is undefined c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 29 17 coinviewer
21 IntelliSense: name followed by '::' must be a class or namespace name c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 29 24 coinviewer
22 IntelliSense: name followed by '::' must be a class or namespace name c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 40 3 coinviewer
23 IntelliSense: name followed by '::' must be a class or namespace name c:\documents and settings\username\desktop\coin-3 d\coinviewer\coinviewer\coinviewer.cpp 41 3 coinviewer
Saritha
-
Friday, March 23, 2012 6:12 AM
Hi Saritha,
According to your description, I'd like to move this thread to "Team Foundation Server - Version Control Forum" for better support, where more experts live.
Thanks for your understanding.
Have a nice day!Helen Zhao [MSFT]
MSDN Community Support | Feedback to us
-
Friday, March 23, 2012 12:35 PM
It looks simply like files are missing. Where are they compared to your project files? Is it possible that you have "additional" include directories in your VS2008 (under tools->Options)?. If so, you will need to add them to your project, I think.- Proposed As Answer by Vicky SongModerator Wednesday, March 28, 2012 2:28 AM
-
Wednesday, March 28, 2012 4:08 AMThank you for the reply.
Please specify where & how to find the additional include directories in Tools->Options.
Regards
Saritha

