I am new to CS and am trying to compile it for the first time, and am having problems.
I am using MS Visual C++ 2005 Express Edition on Windows XP and compiling files contained in cs-pseudo-stable-2006-01-27.zip.
FYI:
I DID install the PSDK from microsoft.
I DID run the cs-win32libs-0.99r0_021.exe to add the necessary libraries to the project.
I DID read the FAQs included in the package, they helped with some compilation problems, but not all.
What I did:
1. Installed the PSDK.
2. Created the "CS" directory in Program Files.
3. Ran cs-win32libs-0.99r0_021.exe to add correct files to the CS directory.
4. Unzipped cs-pseudo-stable-2006-01-27.zip into the CS folder.
5. Opened CS\mk\msvc8\wktypical.sln and tried to compile.
Errors:
1. At first, everything failed on including windef.h. I assumed that this meant that the include directories were incorrect, and edited them to include the PSDK directories. This seemed to fix the problem.
2. Then I got a "unresolved symbols" error. Looking at the FAQ I found that I should add the file witht the definitions to the project, and did that. I found that detectdriver.cpp file had the definitions I needed, and added that to the project. That seemed to fix the problem.
3. I then got MORE "unresolved symbols" errors. They were complaining about SHGetPathFromIDListA and SHGetSpecialFolderLocation and SHGetMalloc and some others, which seem to not be in the project but in the PSDK file shlobj.h. This is what I am stuck on, because adding it to the project doesn't fix anything. So if you could help me with this one, I would really apreciate it.
Other errors:
Warning "no public symbols found; archive member will be inaccessible" No idea what that means.
Can't find "cal3d.lib" I guess I am missing that library. Fixable.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The errors you describe seem to indicate that the PSDK wasn't installed quite properly. It is reported that you must follow the PSDK installation instruction to the letter for it to work correctly:
Yeah, that was part of the problem. I correctly installed the PSDK, and this was the error I got:
1>------ Build started: Project: plgsnowldr, Configuration: Release Win32 ------
1>Embedding manifest...
1>mt.exe:general error c101008d:Failed to write the updated manifest to the resource of file "..\..\snowldr.dll". The operation failed.
1>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\mt.exe'.
1>Build log was saved at "file://c:\Program Files\CS\out\release8\build\plgsnowldr\BuildLog.htm"
1>plgsnowldr - 1 error(s), 0 warning(s)
2>------ Build started: Project: plgsnow, Configuration: Release Win32 ------
2>Embedding manifest...
2>mt.exe:general error c101008d:Failed to write the updated manifest to the resource of file "..\..\snow.dll". The operation failed.
2>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\mt.exe'.
2>Build log was saved at "file://c:\Program Files\CS\out\release8\build\plgsnow\BuildLog.htm"
2>plgsnow - 1 error(s), 0 warning(s)
3>------ Build started: Project: plgnull3d, Configuration: Release Win32 ------
3>Embedding manifest...
3>mt.exe:general error c101008f:Failed to compile manifest(s). The parameter is incorrect.
3>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\mt.exe'.
3>Build log was saved at "file://c:\Program Files\CS\out\release8\build\plgnull3d\BuildLog.htm"
3>plgnull3d - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 3 failed, 194 up-to-date, 0 skipped ==========
So some "mt.exe" program is failing and I don't really have any idea why. It was suggested that it might be a bug that occured in MSVC8 Beta, but I am not using Beta. So if you have ANY idea what is going on I would apreciate it.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One poster suggested completely uninstalling and re-installing MSVC. You need to use Microsoft's special uninstall tool (which you have to download) in order to uninstall properly.
Other than that, the Microsoft documentation for mt.exe was quite lacking.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am new to CS and am trying to compile it for the first time, and am having problems.
I am using MS Visual C++ 2005 Express Edition on Windows XP and compiling files contained in cs-pseudo-stable-2006-01-27.zip.
FYI:
I DID install the PSDK from microsoft.
I DID run the cs-win32libs-0.99r0_021.exe to add the necessary libraries to the project.
I DID read the FAQs included in the package, they helped with some compilation problems, but not all.
What I did:
1. Installed the PSDK.
2. Created the "CS" directory in Program Files.
3. Ran cs-win32libs-0.99r0_021.exe to add correct files to the CS directory.
4. Unzipped cs-pseudo-stable-2006-01-27.zip into the CS folder.
5. Opened CS\mk\msvc8\wktypical.sln and tried to compile.
Errors:
1. At first, everything failed on including windef.h. I assumed that this meant that the include directories were incorrect, and edited them to include the PSDK directories. This seemed to fix the problem.
2. Then I got a "unresolved symbols" error. Looking at the FAQ I found that I should add the file witht the definitions to the project, and did that. I found that detectdriver.cpp file had the definitions I needed, and added that to the project. That seemed to fix the problem.
3. I then got MORE "unresolved symbols" errors. They were complaining about SHGetPathFromIDListA and SHGetSpecialFolderLocation and SHGetMalloc and some others, which seem to not be in the project but in the PSDK file shlobj.h. This is what I am stuck on, because adding it to the project doesn't fix anything. So if you could help me with this one, I would really apreciate it.
Other errors:
Warning "no public symbols found; archive member will be inaccessible" No idea what that means.
Can't find "cal3d.lib" I guess I am missing that library. Fixable.
The errors you describe seem to indicate that the PSDK wasn't installed quite properly. It is reported that you must follow the PSDK installation instruction to the letter for it to work correctly:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
Sorry, I wasn't checking this forum regularly.
Yeah, that was part of the problem. I correctly installed the PSDK, and this was the error I got:
1>------ Build started: Project: plgsnowldr, Configuration: Release Win32 ------
1>Embedding manifest...
1>mt.exe:general error c101008d:Failed to write the updated manifest to the resource of file "..\..\snowldr.dll". The operation failed.
1>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\mt.exe'.
1>Build log was saved at "file://c:\Program Files\CS\out\release8\build\plgsnowldr\BuildLog.htm"
1>plgsnowldr - 1 error(s), 0 warning(s)
2>------ Build started: Project: plgsnow, Configuration: Release Win32 ------
2>Embedding manifest...
2>mt.exe:general error c101008d:Failed to write the updated manifest to the resource of file "..\..\snow.dll". The operation failed.
2>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\mt.exe'.
2>Build log was saved at "file://c:\Program Files\CS\out\release8\build\plgsnow\BuildLog.htm"
2>plgsnow - 1 error(s), 0 warning(s)
3>------ Build started: Project: plgnull3d, Configuration: Release Win32 ------
3>Embedding manifest...
3>mt.exe:general error c101008f:Failed to compile manifest(s). The parameter is incorrect.
3>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\mt.exe'.
3>Build log was saved at "file://c:\Program Files\CS\out\release8\build\plgnull3d\BuildLog.htm"
3>plgnull3d - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 3 failed, 194 up-to-date, 0 skipped ==========
So some "mt.exe" program is failing and I don't really have any idea why. It was suggested that it might be a bug that occured in MSVC8 Beta, but I am not using Beta. So if you have ANY idea what is going on I would apreciate it.
Thanks
One poster suggested completely uninstalling and re-installing MSVC. You need to use Microsoft's special uninstall tool (which you have to download) in order to uninstall properly.
Other than that, the Microsoft documentation for mt.exe was quite lacking.
Thanks.
Where can I get the special unistall tool?
This page has instructions:
http://msdn.microsoft.com/vstudio/support/uninstall/default.aspx
Thanks again.