cureos / accord

Machine learning, computer vision, statistics and general scientific computing for .NET
http://code.google.com/p/accord/
Other
12 stars 2 forks source link

Failed to find member with name 'ToDouble' in type 'Accord.Math.Matrix' #13

Open AndrewKaplanovsky opened 8 years ago

AndrewKaplanovsky commented 8 years ago

Hi Anders,

When trying to compile my UWP application in release mode I get the following error message:

error : Error: NUTC3059:Failed to find member with name 'ToDouble' and signature '0 1 1d d 1d 8' in type 'Accord.Math.Matrix' while resolving token 'a00004e' from module 'Accord.MachineLearning' while compiling method 'instance System.Double[] Accord.MachineLearning.BagOfWords.Accord.MachineLearning.IBagOfWords<System.String[]>.GetFeatureVector(System.String[])'.

When compiling the app in Debug mode everything is ok, no errors.

I'm using nugget libraries:

Thank you, Andrew

anders9ustafsson commented 8 years ago

@AndrewKaplanovsky What happens when you compile the code in Debug mode? Are you able to run the code sufficiently then?

Have you tested the 3.1.0-pre Portable Accord packages to see if they build orrectly in Release mode?

AndrewKaplanovsky commented 8 years ago

Hi @anders9ustafsson, in my case when I compile in Debug mode (I mean 3.0.2.60302) everything works fine, no compilation errors and the app works perfectly. I'll try 3.1.0 and will let you know. Thank you.

AndrewKaplanovsky commented 8 years ago

Hi @anders9ustafsson, the same problem for Portable Accord packages 3.1.0-pre, in release mode I get the following error:

Error: NUTC302E:Internal Compiler Error: Token '2b000003' from module 'Accord.Statistics' could not be resolved while compiling method 'instance System.Double[][] Accord.Statistics.Analysis.CircularDescriptiveAnalysis.get_Array()'.

The debug version builds and works with no errors.