Building Fast-CDR failed on windows using MinGW [13749] #166
Replies: 5 comments
|
It seems you are not building natively on windows, as The instructions are for natively building on a system with Visual Studio installed. So can you fully describe your build environment? |
|
I have the same problem by using MinGW in windows |
|
MinGW is not an officially supported platform. I am moving the ticket to the corresponding discussion forum. |
|
This is actually a valid issue. The error happens when building FastCdr as a static library, in that case Lines 86 to 121 in f889eee will be empty, that's why windres says:
|
|
I can confirm felix' observations. I am also building fast-cdr by use of mingw as part of a bigger cmake project (plotjuggler) which defaults to building fast-cdr statically AFAICT. If I comment out the ifdef, the build of fast-cdr succeeds and an application linked to it can also be built successfully. So I agree with felix that this is an actual issue that would be nice to solve as it probably is also not correct for non-mingw builds (even though it might simply be ignored by the microsoft tools). The check was changed in I have submitted a PR that implements this fix: #259 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I followed the instructions here, but when I tap this command: cmake --build . --target install, it failed,and the fail reason is : /usr/bin/windres:no resources
All reactions