-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building Vanetza on Windows #128
Comments
Found the issue... An include-statement was missing... I had to add There are a lot of preprocessor-defines present to distinguish between platforms, so I got the following questions now:
Quite hard to find the missing link without fully understanding the code. Also, I assume that I can Ingnore all those warnings like localtime_r is implemented via localtime(), which may be not thread-safe? |
I also think it is "safe" to ignore the warnings about thread safety. |
Hmm, fixing hat in CMake is then for sure necessary. |
Hi @HpLightcorner, I have some other issues building Vanetza on Windows. I am using MSVC, so you probably do not know, but as you also attempted this, did you by any chance come across similar issue? I have problems with CryptoPP library. Thanks, |
For Windows builds, I would try to use Conan for the build process. Handling all the library dependencies manually on Windows is no fun at all. |
Hi @riebl,
Linked to our discussion: riebl/artery#184
I am currently building Vanetza on Windows, I finally got everything to build except ASN1:
vanetza/vanetza/asn1/support/INTEGER.c
Line 114 in 15de298
It fails with:
It seems like a preprocessor error?
If I got it right, this should somehow be replaced to the correct formatting-string:
"%" ASN_PRIdMAX " (%s)"
- for this example this should be:%i (%s)
- right?The text was updated successfully, but these errors were encountered: