Hello Xiang,
I found it out and created the pull request :-)
Em dom., 21 de mar. de 2021 às 12:11, Flavio Castro Alves Filho
escreveu:
>
> Hello Xiang,
>
> I create the documentation in my fork:
> https://github.com/Phi-Innovations/incubator-nuttx/blob/master/Documentation/guides/cpp_cmake.rst
>
Hello Xiang,
I create the documentation in my fork:
https://github.com/Phi-Innovations/incubator-nuttx/blob/master/Documentation/guides/cpp_cmake.rst
I don't know now to to submit for the main project for revision.
Best regards,
Flavio
Em sex., 19 de mar. de 2021 às 08:38, Flavio Castro Alves
Hello Xiang,
Sorry for the late reply.
Absolutely. I will do that.
Best regards,
Flavio
Em qua., 17 de mar. de 2021 às 10:57, Xiang Xiao
escreveu:
>
> Good news. It will be great if you can document your experience in the
> Documentation folder when you find some free time.
>
> On Wed, Mar 17
Good news. It will be great if you can document your experience in the
Documentation folder when you find some free time.
On Wed, Mar 17, 2021 at 9:54 PM Flavio Castro Alves Filho <
flavio.al...@gmail.com> wrote:
> Hello Xiang,
>
> I could finally build an C++ project using CMake and exported Nut
Hello Xiang,
I could finally build an C++ project using CMake and exported NuttX.
- Before that, I made a test creating the same project inside the
NuttX apps structure, and it worked fine.
My sample project is here:
https://github.com/Phi-Innovations/nuttx-apps/tree/main/hellocpp
I compiled J
Xiang,
I believe the problem was related to something on my branch.
I was using a quite old version, based on release 10 branch.
Now using master as branch, the testlibcxx compiled correctly.
Tomorrow I will try my experiments and report here.
Best regards,
Flavio
Em ter., 16 de mar. de 2021
Try to remove CONFIG_ARCH_FLOAT_H
On Tue, Mar 16, 2021 at 12:15 PM Flavio Castro Alves Filho <
flavio.al...@gmail.com> wrote:
> Hello Xiang,
>
> It is still not working. The error persists.
>
> Here is my defconfig file:
>
> #
> # This file is autogenerated: PLEASE DO NOT EDIT IT.
> #
> # You can
Hello Xiang,
It is still not working. The error persists.
Here is my defconfig file:
#
# This file is autogenerated: PLEASE DO NOT EDIT IT.
#
# You can use "make menuconfig" to make any modifications to the
installed .config file.
# You can then do "make savedefconfig" to generate a new defconfi
>>
>> Again, the coding standard does currently require the .cxx extension:
>>
>> https://cwiki.apache.org/confluence/display/NUTTX/Coding+Standard#cplusplus
>>
>> I would consider that up for discussion and subject to community
>> concurrence. Which ever is selected, the extension should be used
On Tue, Mar 16, 2021 at 10:20 AM Flavio Castro Alves Filho <
flavio.al...@gmail.com> wrote:
> Hello Xiang,
>
> Em ter., 16 de mar. de 2021 às 14:01, Xiang Xiao
> escreveu:
> >
> > On Tu
> > >
> > This project use the modern C++ feature, so you must enable llvm
> > ibc++(CONFIG_LIBCXX=y)
>
> I tri
Hello Xiang,
Em ter., 16 de mar. de 2021 às 14:01, Xiang Xiao
escreveu:
>
> On Tu
> >
> This project use the modern C++ feature, so you must enable llvm
> ibc++(CONFIG_LIBCXX=y)
I tried a new build, executing:
$ make distclean
$ ./tools/configure.sh -l stm32f4discovery:testlibcxx
$ make
I can
On Tue, Mar 16, 2021 at 9:12 AM Flavio Castro Alves Filho <
flavio.al...@gmail.com> wrote:
> Concerning cxx or cpp ... I have to tell you that I was not used for
> cxx ... but it is not a problem anyway.
>
> What is disturbing me now is that there are problems regarding newlib
> c++ and uClib++.
>
Concerning cxx or cpp ... I have to tell you that I was not used for
cxx ... but it is not a problem anyway.
What is disturbing me now is that there are problems regarding newlib
c++ and uClib++.
I tried to add this json project: https://github.com/nlohmann/json, in
single header mode.
I am faci
On Tue, Mar 16, 2021 at 11:24 PM Gregory Nutt wrote:
>
> >> I had to change my file names, from cpp to cxx. Is it mandatory to
> >> change the file extension to use C++?
> >>
> > No, .cxx is just the default extension. You can change the default value
> in
> > Makefile like this:
> > CXXEXT=.cpp
On 3/16/21, Gregory Nutt wrote:
>
>>> I had to change my file names, from cpp to cxx. Is it mandatory to
>>> change the file extension to use C++?
>>>
>> No, .cxx is just the default extension. You can change the default value
>> in
>> Makefile like this:
>> CXXEXT=.cpp
>> But this feature just ex
I had to change my file names, from cpp to cxx. Is it mandatory to
change the file extension to use C++?
No, .cxx is just the default extension. You can change the default value in
Makefile like this:
CXXEXT=.cpp
But this feature just exists in Makefile under the apps folder.
Again, the cod
I had to change my file names, from cpp to cxx. Is it mandatory to
change the file extension to use C++?
Currently, the .cxx extension is specified in the coding standard:
*https://cwiki.apache.org/confluence/display/NUTTX/Coding+Standard#cplusplus*
On Tue, Mar 16, 2021 at 10:37 PM Flavio Castro Alves Filho <
flavio.al...@gmail.com> wrote:
> Hello Xiang,
>
> I could execute my example inside the NuttX infrastructure.
>
> I had to change my file names, from cpp to cxx. Is it mandatory to
> change the file extension to use C++?
>
>
No, .cxx is
Hello Xiang,
I could execute my example inside the NuttX infrastructure.
I had to change my file names, from cpp to cxx. Is it mandatory to
change the file extension to use C++?
Reviewing my cmake file, it seems that it is not using uClibc++ to
build, but newlib ... probably that's the reason fo
Hello Xiang,
Thank you for your fast response.
I was trying to build out of the NuttX structure, using NuttX as a library.
I tested and checked what you showed and it worked.
I exported the configuration (running make export and uncompressing
the zip file into my environment) and tried to build
On Mon, Mar 15, 2021 at 6:00 PM Flavio Castro Alves Filho <
flavio.al...@gmail.com> wrote:
> Hello,
>
> I am trying to use STL in a simple C++ Hello project and I am getting
> compilation error.s
>
> Is STL supported in NuttX? Can I use it?
>
>
Yes, you can. Please reference the following config a
Hello,
I am trying to use STL in a simple C++ Hello project and I am getting
compilation error.s
Is STL supported in NuttX? Can I use it?
Here is my sample code:
=== Hello.cpp ===
#include
#include "HelloWorld.h"
CHelloWorld::CHelloWorld() {
mSecret = 42;
printf("Constructor: mSecret=
22 matches
Mail list logo