Hi , i cant import snap7 to codeblocks. I know , on the forum sourceforge of snap7 is a lot of discussion about that , but it seems a bit confusing and unhelpful.
From what subdirectory ,from downloaded file of Snap7 library , to import where and what?
I made that like this =
Search directories -> Compiler = ...\snap7-full-1.4.2\examples\cpp
Search directories -> Linker = ...\snap7-full-1.4.2\release\Windows\Win64
Linker settings -> snap7 ( just written snap7 )
to the file project ..\bin\Debug i added snap7.dll from \snap7-full-1.4.2\release\Windows\Win64
Is it alright? Because if yes , it must be something with compiler . I use MinGW which was installed with codeblocks 64bit. I want c++ project
When i try to compile that , it returning me error of Undefined reference..
Please help , i am exhausted ...
Snap7 is library for communication between computer and S7-xxx PLC of siemens