smile for Vs2010

The engine.
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: smile for Vs2010

Post by shooltz[BayesFusion] »

There is no problem.
Does that mean that you can compile and link your program?
Gary
Posts: 40
Joined: Thu Nov 17, 2016 2:38 am

Re: smile for Vs2010

Post by Gary »

No, I mean the ones you say are normal, but the problem is still there.
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: smile for Vs2010

Post by shooltz[BayesFusion] »

Rebuild the project and post the complete output from the build pane after the /MTd -> /MDd change.
Gary
Posts: 40
Joined: Thu Nov 17, 2016 2:38 am

Re: smile for Vs2010

Post by Gary »

Set the default is / MDd, do not need to modify.
Attachments
新建文本文档.txt
(122.12 KiB) Downloaded 388 times
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: smile for Vs2010

Post by shooltz[BayesFusion] »

The output from build (for the debug configuration) contains references to the non-debug SMILE library, like this one:

Code: Select all

D:\Visual Studio 2010\smile_vc10_x86\smile.lib:
This should not happen. The SMILE library selection is done by smile.h, which uses #pragma directive with appropriate filename based on your build configuration. You don't need to manually add SMILE libraries in Linker|Input|Additional Dependencies - remove these and rebuild the project.
Gary
Posts: 40
Joined: Thu Nov 17, 2016 2:38 am

Re: smile for Vs2010

Post by Gary »

It's work! Thank you very very much!
Post Reply