Hi,
I'm not sure if SES support C++ compiler in nRF9160 project, I did add C++ source in CMakeList:
target_sources(app PRIVATE src/xxx.cpp)
It won't work, Does anyone know?
Thanks,
Bertie
Hi,
I'm not sure if SES support C++ compiler in nRF9160 project, I did add C++ source in CMakeList:
target_sources(app PRIVATE src/xxx.cpp)
It won't work, Does anyone know?
Thanks,
Bertie
I too would like to use C++ (it is 2020 after all!). I've set up a test project and on the command line and the support in Zephyr seems remarkably good. You've got C++17 standard compiler, streams, lambdas, containers, string etc. My test binary even runs ok on the nrf9160DK :)
However, the support for C++ in SES is woeful (despite having a ++ symbol on the icon!). SES just does not recognize cpp files at all and won't even build a project properly that's configured on the command line. Will the Nordic SES version support C++ properly at some point?
Regards,
Paul
Hi LordLucan,
I can not comment on future releases, for that, you should contact your Regional Sales Manager. If you do not have the contact details for your RSM, you can send me a private message with your location, and I will provide it to you.
As mentioned earlier in the case, it should work fine if you build from the command line, but we have not done much, if any, testing with C++.
Best regards, and sorry for the ,
Didrik
Hi LordLucan,
I can not comment on future releases, for that, you should contact your Regional Sales Manager. If you do not have the contact details for your RSM, you can send me a private message with your location, and I will provide it to you.
As mentioned earlier in the case, it should work fine if you build from the command line, but we have not done much, if any, testing with C++.
Best regards, and sorry for the ,
Didrik
you should really come up now with C++, it is totally anoying to program in C. Archaic C is in big discrepancy with the complexity of projects you do using NRF91 chips. Please go ahead with this. And stop finding excuses.
Best regards from Switzerland and sorry for the hard, but true words.
Medard Rieder