Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » ArgcArgv – use argc and argv under Ultimate++!
Re: ArgcArgv Euse argc and argv under Ultimate++! [message #10551 is a reply to message #10543] |
Sun, 15 July 2007 17:50   |
kfeng
Messages: 18 Registered: July 2007 Location: Tokyo, Japan
|
Promising Member |
|
|
Zardos wrote on Sun, 15 July 2007 11:33 |
Quote: | I've been having problems getting a Unit Test to work with U++ - tried cppUnit and UnitTest++, which were both giving me link headaches and strange Microsoft C++ exceptions at strange memory locations.
|
Thats strange. I have had no serious problems with UnitTest++ and using it a lot.
No compile problems. No link problems with MSVC.
I have uploaded my Upp UnitTest++ package. Just add it to the package dependencies and include UnitTest.h:
#include <UnitTest/UnitTest.h>
After this somthing like:
should work without problems.
- Ralf
|
Thanks, Ralf, for posting the package in a U++-friendly form - works great!
Not knowing to how build external libs, I was trying to build the lib under VS2005 rather than using the U++ package facility, and I think I was trying to use the UnitTest++.h header in main(). With your packaging as an example, I will know how to build external libs as U++ packages in the future.
I really appreciate your help!
Regards,
Ken
|
|
|
Goto Forum:
Current Time: Wed Jul 30 18:36:48 CEST 2025
Total time taken to generate the page: 0.05560 seconds
|