Closed carlosdelfino closed 8 years ago
Hi Carlos, The embxx is headers only library and doesn't really require compilation. Just include its headers in your embedded project. The compilation needed only for unittesting, which uses boost.
The reported compilation error states that boost library trying to invoke "sigfillset" function, which seems to be applicable to Linux environment only. Maybe your cygwin environment doesn't provide it.
I would recommend excluding unittests via using: "cmake -DNO_UNIT_TESTS=1 ..". In this case the "make install" command will just copy the embxx headers into your "build_dir/install/include" directory.
I would also recommend using "develop" branch instead of "master". The "develop" branch may work better for your environment.
The third thing is that I haven't tested this work with gcc5 and greater yet. There is issue #5 about it. It seems that there may be some compilation errors inside the library itself. I home to look into it within next month or so.
Thank you Alex, for the quick response.
I did as instructed and it worked out. I will also test to Develop Branch.
About the version of GCC will try the 4.9.2 version can be this? I will test other alternatives when left over time, perhaps in the mac as well.
In the case of raspberry pi, not yet test, I will have problems?
The gcc 4.9 should be fine. Let me know if it isn't. The "embxx_on_rpi" project doesn't contain unittests. It cross-compiles the sample applications with the toolchain you specify. These applications can be executed on Raspberry PI.
Thanks again.
I will give news in the coming days, I will do the tests.
Hello. Congratulations for the work.
I am aware of it researching the use of C ++ in embedded systems, then found his book on gitbook and became interested in following your suggested steps.
I tried to compile the embedxx on my machine, but I'm in trouble.
My environment is:
The Erro: