Is there a way to compile a dll that use the Arrayfire library?
I created a simple dll project in Visual studio 2022.
I configured the project following the instruction on the main website:
- Add "$(AF_PATH)/include;" to Project Properties -> C/C++ -> General -> Additional Include Directories.
- Add "$(AF_PATH)/lib;" to Project Properties -> Linker -> General -> Additional Library Directories.
- Add afcpu.lib, afcuda.lib, afoneapi.lib, or afopencl.lib to Project Properties -> Linker -> Input -> Additional Dependencies. based on your preferred backend.
I had the header "#include <arrayfire.h>" to my .cpp file and then I'm not able to do anything else because the compiler gives me many errors.
Is there a guide to make a dll?
Thanks in advance