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’”