On Thu, Nov 19, 2009 at 10:00 PM, Hans Sebastian <hnsb...@gmail.com> wrote:
> Thanks Matt.
>
> I guess the problem is unrelated to UnitTest++ and more about linking
> static library. Either way, I tried what you suggested and did not work. I
> tried:
>
> g++ Main.cpp -o Main -Wl,-Bstatic -l../libUnitTest++
>
> and other variations but did not work as well. Sorry this seems trivial but
> I have never done any linking before and need help. I cannot wait to use
> UnitTest++...
>
>
Try this:
g++ Main.cpp -o Main -L.. -lUnitTest++
Randy
--
Randy Coulman
rcoul...@gmail.com
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
unittest-cpp-devel mailing list
unittest-cpp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel