Closed micron-visual closed 4 years ago
Hi,
I haven't tested this, but I think you want your cmake invocation to be
cmake -G "Visual Studio 16 2019 Win64" ..
Thanks for your reply, I tested your string but I get:
C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build>cmake -G "Visual Studio 16 2019 Win64" .. CMake Error: Could not create named generator Visual Studio 16 2019 Win64
Generators
Hi Tim,
So sorry, the code on Github wasn't up to date. I've updated the build instructions and pushed the latest code. I tried on macOS and Windows and had no issues. I don't have VS 2019 installed here, so I used VS 2017.
Cheers,
Jean-Marc
On Wed, Mar 11, 2020 at 6:02 AM Timothy Place notifications@github.com wrote:
Hi,
I haven't tested this, but I think you want your cmake invocation to be
cmake -G "Visual Studio 16 2019 Win64" ..
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cycling74/cv.jit/issues/18?email_source=notifications&email_token=AADVT4Q4YZRP5ZCE2KFIKNTRG2TGVA5CNFSM4LB7DIO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEONELLQ#issuecomment-597312942, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADVT4QLKJJMFG4CSNXRFGLRG2TGVANCNFSM4LB7DIOQ .
Thanks, Jean-Marc!
The answer turns out to be cmake -G "Visual Studio 16 2019" ..
which produces x64 projects without any additional options needing to be specified.
Cheers, Tim
Hi Tap, I "cd" into cv.jit folder, created the "build" folder and created the visual studio projects with cmake -G "Visual Studio 16 2019" -A x64 ..
now I opened the cv.jit.features project and trying to compile I get these errors. Do I missing somthing? Thanks Rajan
unresolved external symbol cvInitMatHeader referenced in function "void __cdecl cvJitter2CvMat(void ,struct CvMat )" (?cvJitter2CvMat@@YAXPEAXPEAUCvMat@@@Z) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
unresolved external symbol cvCreateMat referenced in function "struct _cv_jit_features * __cdecl cv_jit_features_new(void)" (?cv_jit_features_new@@YAPEAU_cv_jit_features@@XZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
unresolved external symbol cvReleaseMat referenced in function "void __cdecl cv_jit_features_free(struct _cv_jit_features *)" (?cv_jit_features_free@@YAXPEAU_cv_jit_features@@@Z) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
unresolved external symbol cvFindCornerSubPix referenced in function "int64 cdecl cv_jit_features_matrix_calc(struct _cv_jit_features ,void ,void *)" (?cv_jit_features_matrix_calc@@YA_JPEAU_cv_jit_features@@PEAX1@Z) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
unresolved external symbol cvGoodFeaturesToTrack referenced in function "int64 cdecl cv_jit_features_matrix_calc(struct _cv_jit_features ,void ,void *)" (?cv_jit_features_matrix_calc@@YA_JPEAU_cv_jit_features@@PEAX1@Z) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
unresolved external symbol gensym referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol object_error referenced in function "void cdecl cvJitter2CvMat(void ,struct CvMat )" (?cvJitter2CvMat@@YAXPEAXPEAUCvMat@@@Z) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol object_getmethod referenced in function "void __cdecl c74::max::object_method(struct c74::max::t_object ,struct c74::max::t_symbol ,void )" (?object_method@max@c74@@YAPEAXPEAUt_object@12@PEAUt_symbol@12@PEAX@Z) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_class_new referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_class_register referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_class_addmethod referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_class_addattr referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_class_addadornment referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_mop_single_type referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_mop_single_planecount referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_mop_output_nolink referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_attr_addfilterset_clip referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_object_alloc referenced in function "struct _cv_jit_features * cdecl cv_jit_features_new(void)" (?cv_jit_features_new@@YAPEAU_cv_jit_features@@XZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_object_new_imp referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_object_method_imp referenced in function "int64 __cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_attr_setlong referenced in function "int64 __cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1
Error LNK2019 unresolved external symbol jit_attr_setsym referenced in function "int64 cdecl cv_jit_features_init(void)" (?cv_jit_features_init@@YA_JXZ) cv.jit.features C:\Users\rajan\Documents\Max 8\Packages\cv.jit-master\build\source\projects\cv.jit.features\cv.jit.features.obj 1