After getting some sleep, I decided to ignore the problem of yesterday, and only focus on the "fatal errors".
1: "Error 8 fatal error C1083: Cannot open include file: 'dxtrans.h': No such file or directory c:\program files\microsoft sdks\windows\v6.0a\include\qedit.h 498"
This I remember having problems with the last time, but this time I knew that all I needed to do was to add a reference to the direct X SDK's location in my VCC include directories. That was a quick fix ;).
The next error drove me to search the wiki, forums, and finally get on IRC.
2: "Error 1 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\rad\dev\shareaza\shareaza\stdafx.h 193"
I was baffled. I tried everything but the obvious (see if you can spot it). I looked up the error code, I googled, in hope some one had blogged about it (which is why I'm doing this blog; mainly for my own purposes if I ever drop the shareaza app and pick it up, I will have some results in google -- hopefully), but no. So the nice guys on the IRC channel told me that my INCLUDE directory was incorrect, which is one of the possible symptoms that the MS VS Documentation program told me, but which I ignored! So I told him I was referencing "C:\boost\boost_1_42\boost" and there it was. It's a little tricky, do you see it? The includes ALREADY reference "\boost" so they were looking inside "boost\boost\" instead of "boost_1_42\boost". DAMN. There goes another 2hrs of my life. I even suspected that b/c I did not completely follow the compilation guide to "recompile" my solution I deleted some important files when I cleaned and built it, but no. And I had to spend 70 mins re-downloading the source, so really 3 hrs of my life.
This is why I suck at coding.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment