The Misadventures of Dan
Peer into the mind of Dan as he tries to build an MP3 Player for his PDA and searches for the next thing in his life be it an electrical engineering job or graduate school.
Friday, January 02, 2004
Best Quotes of 2003
- "Dig deep and yank that Inner Child out"
- "Its impossible to win at that game-OHHHHHHHHHHH!!!"
- Deep fried mars bar, heart-attack in bar form... yum :D
- "PITF"
- "KNOWwwww your role!"
- "I have absolutely no memory of this"
- "Beat your body make it your slave!"
- "Since we're at it, why not write the MCAT, LSAT, MDAT, and GRE?"
- "It hurts to laugh but I can't stop laughing"
- "So its like you're going from Buddha to Ghandi"
- "Coffee is the liquid ball and chain that enslaves you to the corporate workmaster Tim Hortons"
- "You're HOW old!?!"
- "Which is, of course, a different perspective"
- "This has got to be at least one-and-a-half rice bowl quality"
- "This is disturbed... I'm <hand motion> here disturbed"
- "Bind them to your head, to your pda"
- "Dance like a spastic hyperactive asian kid on Pocky instead of a fly b-boy"
- "Operation: Kick the Door Down!"
Tuesday, December 30, 2003
Yay... what was probably obvious wasn't...
I've been fighting with Visual Studio .Net for the longest time in trying to use Xerces with Visual C++. In the post right before Christmas I had been talking about missing or misnamed .dll files. Only that's not the end of it, no, you need to include the library files which at first to me meant including the src directory but its much more. You actually need to include the .lib file as well (xerces-c_2.lib). While the build instructions do say that you need to include it they don't tell you how, they expect you to know how to include a .lib file in Visual C++ 7.
So without further ado, here's how:
- Set up your project
- In the solutions explorer (window to the right), right-click on the project and select properties
- Click on the C/C++ folder and then the subheading labeled 'General'
- For the 'Additional Include Directories' add the path to the SRC directory of the Xerces package (you do this by clicking on the empty field, then either pasting in the path, or you can click on the '...' and then the new folder button)
- Now click on the folder labelled 'linker' and then the subheading labeled 'General'
- For the 'Additional Library Directories', add the path containing the 'xerces-c_2.lib' and/or 'xerces-c_2D.lib' file
- Under the subheading 'Input' and for the 'Additional Dependencies' Field type in either xerces-c_2.lib or xerces-c_2D.lib
You should now be able to compile using the xerces library. Now I should go and read something entertaining cause my head's about to collapse.
home | archives