Hi , i cant import snap7 to codeblocks. I know , here is enough topics about it , but it seems a bit confusing.
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 ...
Last edit: Petr 2023-08-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi , i cant import snap7 to codeblocks. I know , here is enough topics about it , but it seems a bit confusing.
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 ...
Last edit: Petr 2023-08-16