[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Unikraft stock project helloworld-cpp not compiling
Hi Malte, Apologies for the delayed response! I just tried this slightly verbose method myself: ```bash $ pip3 install git+https://github.com/unikraft/kraft.git@99cdb90d76c73c74b3b66995ca64a8aad49e6b58 $ mkdir app-cpp $ cd app-cpp $ kraft init -a helloworld-cpp app-cpp $ kraft configure -m x86_64 -p kvm $ kraft build ``` And was able to re-create the same problem. Looks like the configuration was set to Xen and not KVM. There is a quick fix for this and that it is to delete the local `.config` and remove `xen: true` and `linuxu: true` from the kraft.yaml file. I'll have a look at why kraft is forcing a Xen configuration over a KVM selection and push an update as this should not be the default functionality. However, when I force the change to KVM, it still get this error. I am cc'ing Simon to have a look at this too. Cheers, Alexander On 20.05.20, 18:15, "Minios-devel on behalf of Malte Münch" <minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of mamu@xxxxxxxxxxxxx> wrote: Hello Unikraft-devs, i am not able to compile the current 0.4 Verion of Unikraft with the Hello-World example written in C++. Here is what i tried: kraft up -m x86_64 -p kvm helloworld-cpp The process crashes with the following error: In file included from /home/pg635/helloworldcpp/build/libcxx/origin/libcxx-7.0.0.src/include/iosfwd:90, from /home/pg635/helloworldcpp/build/libcxx/origin/libcxx-7.0.0.src/include/ios:215, from /home/pg635/helloworldcpp/build/libcxx/origin/libcxx-7.0.0.src/include/iostream:38, from /home/pg635/helloworldcpp/helloworld.cpp:1: /home/pg635/helloworldcpp/build/libcxx/origin/libcxx-7.0.0.src/include/wchar.h:119:15: fatal error: wchar.h: no such file or directory #include_next <wchar.h> ^~~~~~~~~ kraft itself works and i am able to compile and run the Helloworld application written in C. Looking forward to your replies. Best Malte
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |