Build openCONFIGURATOR on Windows 7

I’m experimenting with RPi2 and openPOWERLINK and after having an issue and posting on the openPOWERLINK discussion forum, the openPOWERLINK team replied suggesting that I try to increase the cycle time and poll response time using openCONFIGURATOR. So I downloaded the openCONFIGURATOR Windows build from their SourceForge site. But I wasn’t able to use it, my AVG Anti Virus found a virus in it. Probably a false positive but that stimulated me to get the source code and compile it on my Windows 7.

Anyway I ended up installing just the Eclipse (Mars 4.5.1) openCONFIGURATOR plugin that comes with a pre-compiled library, so in fact I didn’t need to compile it, but I leave here the necessary information, in case someone needs it.

Continue reading “Build openCONFIGURATOR on Windows 7”

Advertisements

Using boost library on Windows

From this stackoverflow question:
MSVC has very poor support for the C language, they do not support anything past C90. Herb Sutter has already publicly stated this in his blog.
cstdint is supported from MSVC2012.
There is a msinttypes project that fills the absence of stdint.h and inttypes.h in Microsoft Visual Studio.
Boost also provides boost/cstdint.hpp if you do not have it.

Boost library can be very useful but it is also very big so in this post I’m going to show how to compile it from source code and then how to extract one of its modules and include it in your projects source code.

I also have another post where I compiled Boost.

Continue reading “Using boost library on Windows”

B&R Automation Studio compile error: undefined reference to `FileOpen’

I was working with another programmer in the same Automation Studio project that was shared using SVN, and after a new SVN checkout I had this compiler error message:

Error : undefined reference to `FileOpen’

So it looked like someone started using some file handling library, looking around the documentation I realize that it is the FileIO library. The undefined reference means the corresponding binary file was not found by the compiler…

Continue reading “B&R Automation Studio compile error: undefined reference to `FileOpen’”