Problem compiling QuantLib 1.2 test suite in VS 10

Posted by Smith, Dale (Norcross) on
URL: http://quantlib.414.s1.nabble.com/Problem-compiling-QuantLib-1-2-test-suite-in-VS-10-tp276.html

My error is in the linker step. The QuantLib libraries are built properly. I’m compiling Debug/Release for x64. The error for both is

 

LNK2019: unresolved external symbol MAIN__ referenced in function main        C:\Tools\QuantLib-1.2\test-suite\libf2c.lib(main.obj)

 

I did some googling around and found a stackoverflow web page suggesting I undef main, but that didn’t work. Are there any reported problems with the test suite? If not, it’s my configuration, although I’ve checked the link properties for the test suite to make sure the libraries are found.

 

Thanks,

Dale Smith, Ph.D.

Senior Financial Quantitative Analyst

Risk & Compliance

Fiserv.

107 Technology Park

Norcross, GA 30092

Office: 678-375-5315

Mobile: 678-982-6599

Mail: [hidden email]

www.fiserv.com

 


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users