fann icon indicating copy to clipboard operation
fann copied to clipboard

Unable to build test on Windows 11 with VS17

Open macintoshplus opened this issue 1 year ago • 0 comments

Version : master Arch : x86 64 bit Windows version : 11

Visual Studio version : 2022 (vs17)

Error:

C:\libfann\tests\fann_test_data.cpp(89,8): error C2664: 'void FANN::training_data::create_train_from_callback(unsigned int,unsigned int,unsigned int,void (__stdcall *)(unsigned int,unsigned int,unsigned int,fann_type *,fann_type *))' :

 unable to convert argument 4 from 'void (__cdecl *)(unsigned int,unsigned int,unsigned int,fann_type *,fann_type *)' 

in 'void (__stdcall *)(unsigned int,unsigned int,unsigned int,fann_type *,fann_type *)' [C:\libfann\_build\tests\fann_tests.vcxproj]

macintoshplus avatar Nov 09 '24 22:11 macintoshplus