Problem with the TestSuite

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with the TestSuite

Ronald Becker
I am a first time user. I work on the MS development environment 2003 version 7.1.3088. I have installed boost for TOOLS vc7.1 (and also for vc7 as far as was possible),
 
1. I used the files in Quantlib.sln and tried to build the solution. Is this the correct way to install Quantlib - I can find no info on precisely what to do.
 
2. Most of the projects compile OK except for the TestSuite. I get a Linker error saying
 
testsuite fatal error LNK1104: cannot open file 'libboost_unit_test_framework-vc71-sgd-1_33_1.lib'
 
This file IS in the lib directory of my boost installation. I have tried to add the lib directory to my solution paths on menu Tools/Options/Projects/VC++ directories/Library files but this does no good.
 
Any suggestions?
 
Ronnie Becker

 
 
 
Professor Ronald Becker
Department of Mathematics & AM
University of Cape Town
Rondebosch 7701
South Africs
Work:+27-21-650-3203
Home:+27-21-762-4054
Cell:083-964-2364
Reply | Threaded
Open this post in threaded view
|

Re: Problem with the TestSuite

Luigi Ballabio
On 03/03/2006 11:32:16 PM, Ronald Becker wrote:
> 1. I used the files in Quantlib.sln and tried to build the solution.
> Is this the correct way to install Quantlib - I can find no info on
> precisely what to do.

Yes, this is correct.

> 2. Most of the projects compile OK except for the TestSuite. I get a
> Linker error saying
>
> testsuite fatal error LNK1104: cannot open file
> 'libboost_unit_test_framework-vc71-sgd-1_33_1.lib'
>
> This file IS in the lib directory of my boost installation. I have
> tried to add the lib directory to my solution paths on menu
> Tools/Options/Projects/VC++ directories/Library files but this does  
> no good.

Hmm, I don't know. I did the same thing (I mean, adding the path there)  
and it works for me. Another possibility might be to add the path to  
the LIB environment variable and restart the IDE, but the first should  
work as well.

Later,
        Luigi


----------------------------------------

If you can't convince them, confuse them.
-- Harry S. Truman