Perhaps the next issue will be resolved when the previous is resolved, but I am writing a test script to mimic the existing test “fake” just to show things are working. I include glib.h and arv.h with no errors, but there are undefined errors for several methods including arv_get_n_devices(). I found this method in arvsystem.h which is included in arv.h. There are 2 include errors in arv.h for arvfeatures.h and arvversions.h. I have searched for these files but can only find arvfeatures.h.in and arvversion.h.in located in aravis/src. What am I missing here?
Finally I have a question regarding streaming USB3 cameras. I am trying to create a system where 2 USB3 cameras are utilized on a PC that will only have one USB3 chipset. Is it possible to stream the cameras simultaneously? If not, is it possible to quickly switch between cameras so I could stream the first for ~30sec then quickly switch to the other for ~30sec?
Thanks Emmanuel, this helped. I no longer have library include errors.
The only error remaining appears to be the definition of ARV_API.
Any place the code uses ARV_API, I get an error that says “explicit type is missing (‘int’ assumed)”.
I’m not sure what to do here. The project can see arvapi.h, and libaravis-0.8-0.dll is added as an additional dependency under Linker → Input
That is probably the issue. If you want to compile your project with msvc, ARV_API should be __declspec(dllexport) extern
I guess you have compiled aravis using gcc or clang, and try to use the project now using msvc. I don’t know much about the Windows platform, but I think that will not work.
Ok, I’m trying to compile Aravis with MSVC now. I see the file aravis-msvc.yml and it looks like there should be some script that works with this to generate the conanfile.txt. Am I missing something?