V8Li
Member
- Joined
- Apr 9, 2008
- Messages
- 200
- Reaction score
- 0
- Points
- 16
Hi.
I finally got the VC++2008 and decided to give it a try to learn the basics.
I have some questions:
1: I've built the ShuttlePB.dll. And the file is smaller than the original, the original is 32Kb and mine is 24Kb. I've only modified it so that the ship is 5000Kg and not 500Kg, no other changes to the source. It ran OK, in-game the PB was 5t heavy and everything worked. So is this normal? I haven't used any other versions of VC++.
2: I got the eHUD source by computerex from here: http://www.orbiter-forum.com/showthread.php?t=1150&highlight=ehud . And only uncommented some lines so that the PeA and ApA are not displayed. I got an error and some warnings:
I've opened the stdio.h file and commented the 358 line and it worked. Do you have any clues what's up with this error? And what about the warnings?
Thanks!
Long live C++! (not)
I finally got the VC++2008 and decided to give it a try to learn the basics.
I have some questions:
1: I've built the ShuttlePB.dll. And the file is smaller than the original, the original is 32Kb and mine is 24Kb. I've only modified it so that the ship is 5000Kg and not 500Kg, no other changes to the source. It ran OK, in-game the PB was 5t heavy and everything worked. So is this normal? I haven't used any other versions of VC++.
2: I got the eHUD source by computerex from here: http://www.orbiter-forum.com/showthread.php?t=1150&highlight=ehud . And only uncommented some lines so that the PeA and ApA are not displayed. I got an error and some warnings:
Code:
------ Build started: Project: EHUD, Configuration: Release Win32 ------
Compiling...
parser.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : error C3163: '_vsnprintf': attributes inconsistent with previous declaration
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(350) : see declaration of '_vsnprintf'
main.cpp
c:\documents and settings\v\my documents\visual studio 2008\projects\orbitersdk\samples\ehud\EHUD.h(90) : warning C4018: '<' : signed/unsigned mismatch
EHUD.cpp
c:\documents and settings\v\my documents\visual studio 2008\projects\orbitersdk\samples\ehud\EHUD.h(90) : warning C4018: '<' : signed/unsigned mismatch
.\EHUD.cpp(14) : warning C4018: '<' : signed/unsigned mismatch
.\EHUD.cpp(25) : warning C4018: '<' : signed/unsigned mismatch
.\EHUD.cpp(57) : warning C4018: '<' : signed/unsigned mismatch
Build log was saved at "file://c:\Documents and Settings\V\My Documents\Visual Studio 2008\Projects\Orbitersdk\samples\ehud\Release\BuildLog.htm"
EHUD - 1 error(s), 5 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========]
Thanks!
Long live C++! (not)