# Using Aravis on Visual studio

**URL:** <https://aravis-project.discourse.group/t/using-aravis-on-visual-studio/478>\
**Category:** Using Aravis\
**Created:** [June 28, 2022, 8:31am UTC](https://aravis-project.discourse.group/t/using-aravis-on-visual-studio/478 "2022-06-28T08:31:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cadidas](https://yyz2.discourse-cdn.com/free1/user_avatar/aravis-project.discourse.group/cadidas/32/171_2.png) [@Cadidas](https://aravis-project.discourse.group/u/Cadidas)\
**Post date:** [June 28, 2022, 8:31am UTC](https://aravis-project.discourse.group/t/using-aravis-on-visual-studio/478/1 "2022-06-28T08:31:31Z")

</div>

I have compiled the build file using MSYS2, following the tutorial.  
Next, How do I visually verify that aravis can read my camera?  
And how should I use the aravis to read the vendor of my camera?

Be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![eudoxos](https://yyz2.discourse-cdn.com/free1/user_avatar/aravis-project.discourse.group/eudoxos/32/116_2.png) [@eudoxos](https://aravis-project.discourse.group/u/eudoxos)\
**Post date:** [July 4, 2022, 2:20pm UTC](https://aravis-project.discourse.group/t/using-aravis-on-visual-studio/478/2 "2022-07-04T14:20:25Z")

</div>

Run `arv-viewer-0.8.exe` and see if your camera is discovered and can receive the image stream.

Why did you have to compile the package? It is already compiled [in the](https://packages.msys2.org/package/mingw-w64-x86_64-aravis) [respository](https://packages.msys2.org/package/mingw-w64-x86_64-aravis-gst).

I don’t see any relationship to Visual Studio in what you write.

---

<div class="post-metadata">

**Author:** ![Cadidas](https://yyz2.discourse-cdn.com/free1/user_avatar/aravis-project.discourse.group/cadidas/32/171_2.png) [@Cadidas](https://aravis-project.discourse.group/u/Cadidas)\
**Post date:** [July 7, 2022, 7:09am UTC](https://aravis-project.discourse.group/t/using-aravis-on-visual-studio/478/3 "2022-07-07T07:09:09Z")

</div>

Thank you so much for pointing me in the right direction! I am sorry I didn’t make myself clear.  
I have installed MSYS2 and typed the following command:  
`pacman -S mingw-w64-x86_64-aravis-gst`.  
However,  
(1) My camera (HiKVision) is not found when running the arv-viewer-0.8.exe，it looks like a permission issue. As I know, USB devices permissions may not be sufficient to allow any user to access the USB3 cameras by default. Using ‘aravis.rules’ is a good idea in Linux, But how can I do in Windows10 like this?  
(2) I hope to configure Visual Studio to use Aravis. Specifically, on my property pages what should be included in the following sections:

- Configuration Properties → C/C++ → General → Additional Include Directories
- Configuration Properties → Linker → General → Additional Library Directories
- Configuration Properties → Linker → Input → Additional Dependencies  
But I couldn’t find ‘glibconfig.h’ and ‘libaravis-0.8-0.dll’ in any folder associated with Aravis  
Am I missing any steps in using Aravis on Windows 10?

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![eudoxos](https://yyz2.discourse-cdn.com/free1/user_avatar/aravis-project.discourse.group/eudoxos/32/116_2.png) [@eudoxos](https://aravis-project.discourse.group/u/eudoxos)\
**Post date:** [July 20, 2022, 10:10am UTC](https://aravis-project.discourse.group/t/using-aravis-on-visual-studio/478/4 "2022-07-20T10:10:46Z")

</div>

I don’t think you can use Visual Studio with mingw toolchain (might be wrong), and I doubt MSVC toolchain can grok mingw packages. Better ask at a mingw forum. Can’t help with USB & Windows (there were some issues at github relatd to that IIRC).

---

<div class="post-metadata">

**Author:** ![venusspace](https://yyz2.discourse-cdn.com/free1/user_avatar/aravis-project.discourse.group/venusspace/32/282_2.png) [@venusspace](https://aravis-project.discourse.group/u/venusspace)\
**Post date:** [March 7, 2024, 5:33am UTC](https://aravis-project.discourse.group/t/using-aravis-on-visual-studio/478/5 "2024-03-07T05:33:18Z")

</div>

Did you succeed? May I ask you how to use Aravis in Visual Studio?
