Data2Dynamics/d2d

Compling error in Matlab R2017 a

AlokMaity opened this issue · 0 comments

The error is..............
Compiling files...
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(SuiteSparse_config.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_analyze.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_analyze_given.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_defaults.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_diagnostics.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_dump.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_extract.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_factor.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_free_numeric.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_free_symbolic.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_kernel.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_memory.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_refactor.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_scale.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_solve.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_sort.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(klu_tsolve.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_1.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_2.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_aat.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_control.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_defaults.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_dump.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_global.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_info.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_order.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_post_tree.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_postorder.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_preprocess.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(amd_valid.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(btf_maxtrans.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(btf_order.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(btf_strongcomp.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(colamd.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling KLU(colamd_global.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_band.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_bandpre.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_bbdpre.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_direct.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_dense.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_klu.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_sparse.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_diag.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodea.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_io.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodea_io.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_spils.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_spbcgs.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_spgmr.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(cvodes_sptfqmr.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_band.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_dense.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_sparse.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_iterative.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_nvector.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_direct.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_spbcgs.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_spgmr.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_sptfqmr.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(sundials_math.obj)...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling CVODES(nvector_serial.obj)...done
Building with 'MinGW64 Compiler (C)'.
D:\arFramework3\Ccode\arInputFunctionsC.c: In function 'splineFixCoeffs':
D:\arFramework3\Ccode\arInputFunctionsC.c:147:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
deriv2 = &data[n];
^

MEX completed successfully.
compiling input functions...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling condition m1 c1, threegenetestwt_BD94C79A4B4B3D25CC33F18619A9753C.c...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling condition m2 c1, threegenetestsbmt_728F00961236D301E23CCA415776B3E7.c...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling condition m3 c1, threegenetestmrmt_55AD362156414074B618585F6335DE9E.c...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling condition m4 c1, threegenetestsxmt_D6EA8D234CBC15A073D084A1F77455FB.c...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling condition m5 c1, threegenetestmgsxmt_2DFD75E4941134F6B7B653903779F788.c...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling data m1 d1, threegenetestwtcondition1_A1C83E4FCA5560360EC8A4159BEAE781.c...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling data m2 d1, threegenetestsbmtcondition1_DD6056D42A96E48EC67429B0D8F3F903.c...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling data m3 d1, threegenetestmrmtcondition1_BFF484C5EB5211B7308399E811D1720E.c...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling data m4 d1, threegenetestsxmtcondition1_F2EB35F55954CED51B20B440E3EECEFF.c...done
Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
compiling data m5 d1, threegenetestmrsxmtcondition1_8D5921CD7DDCA3BB2393EA8F23885CAD.c...done
Building with 'MinGW64 Compiler (C)'.
**Error using mex
D:\arFramework3\ThirdParty\pthreads-w32_2.9.1\lib\mexw64/pthreadVC2.lib: error adding symbols: File in wrong format
collect2.exe: error: ld returned 1 exit status

Error in arCompile (line 580)
mex(mexopt{:},verbose{:},'-output', ar.fkt, includesstr{:}, '-DHAS_PTHREAD=1', ...

Error in arCompileAll (line 541)
arCompile(forcedCompile, false, false, source_dir);

Error in d2d_test_model (line 17)
arCompileAll;**

Please help to fix this issue.......