Beginner ILNumerics: install under VS2012

前端 未结 3 820
忘掉有多难
忘掉有多难 2021-01-19 04:09

I am very much interested in ILNUmerics and would like to try the free version, but I am having troubles.

I have started with a console application and was trying to

3条回答
  •  鱼传尺愫
    2021-01-19 04:34

    Like numbers303 said, ILNumerics.dll can't find a required dependency. You can brute force fixing this dependency by copying the required DLLs to the same directory as the ILNumerics.dll as a post build step, but I think there's a more elegant solution.

    A VS2010 .NET console solution gets created by default with the x86 configuration. Compiling and running the ILNumerics example Hello ILNumerics! code with this configuration results in a DLL not found exception (mkl_custom.dll).

    Re-targeting the solution via configuration manager to 'Any CPU' fixed the issue for me: In Solution Explorer, right click on the solution and select properties. Select Configuration Properties and click on the Configuration Manager... button in the upper right hand corner. Make sure that the project that uses ILNumerics has the 'Any CPU' selected. If 'Any CPU' isn't available as a selection, select '' from the pulldown and create an 'Any CPU' platform based on your current platform. Usually this just means accepting the default in the 'New Project Platform' dialog. You'll probably also want to modify the 'Active solution platform:' to contain an 'Any CPU' target as well.

    Rebuild/run.

提交回复
热议问题