Hello, I just want to development Qt application on Genode. However I am new to Qt. I do not know how to use Qt on Genode. I found there are some example Qt applications on genode-13.08/libports/src/qt5. I try to run qt5.run on Platform of linux_x86, however it can not work.
here is my steps: 1) ./tool/create_builddir linux_x86 BUILD_DIR=build.linux_x86 2) cd build.linux_x86 3) make run/qt5
here is the log: android@...115...:~/longjks_new/genode-13.08_longjks/build.linux_x86$ make run/qt5 using run script /home/android/longjks_new/genode-13.08_longjks/base-linux/run/env using run script /home/android/longjks_new/genode-13.08_longjks/libports/run/qt5.run building targets: core init drivers/input/ps2 drivers/pci drivers/framebuffer drivers/timer server/nitpicker server/liquid_framebuffer app/qt5/qt_launchpad app/qt5/examples/calculatorform app/qt5/examples/tetrix
spawn make core init drivers/input/ps2 drivers/pci drivers/framebuffer drivers/timer server/nitpicker server/liquid_framebuffer app/qt5/qt_launchpad app/qt5/examples/calculatorform app/qt5/examples/tetrix make[1]: Entering directory `/home/android/longjks_new/genode-13.08_longjks/build.linux_x86' checking library dependencies... Skip target drivers/framebuffer/imx53 because it requires imx53 Skip target drivers/framebuffer/omap4 because it requires omap4 Skip target drivers/framebuffer/pl11x/pbxa9 because it requires pl11x platform_pbxa9 Skip target drivers/framebuffer/pl11x/vea9x4 because it requires pl11x platform_vea9x4 Skip target drivers/framebuffer/pl11x/vpb926 because it requires pl11x platform_vpb926 Skip target drivers/framebuffer/vesa because it requires vesa Skip target drivers/input/ps2/pl050 because it requires pl050 Skip target drivers/input/ps2/x86 because it requires ps2 Skip target drivers/pci/device_pd because it requires nova Library platform Library libc-string Library libc-locale Library libc-stdlib Library libc-stdio Library libc-gen Library libc-gdtoa Library libc-inet Library libc-stdtime Library libc-regex Library libc-compat Library libc-setjmp Library ldso-startup Library syscall Library base-common Library startup Library cxx Library base Library ldso_crt0 Library ldso-arch Library alarm Library timed_semaphore Library ld Library libc Library libc_log Library stdcxx COMPILE allocator-inst.o /home/android/longjks_new/genode-13.08_longjks/libports/contrib/stdcxx-4.7.2/src/c++98/allocator-inst.cc:30:18: fatal error: memory: No such file or directory compilation terminated. make[3]: *** [allocator-inst.o] Error 1 make[2]: *** [stdcxx.lib] Error 2 make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory `/home/android/longjks_new/genode-13.08_longjks/build.linux_x86' Error: Genode build failed make: *** [run/qt5] Error 252
I can see the error caused by the source code below: #include <memory>
what is this "memory"? where can i found this "memory"?
thanks.
Hello,
On 18.04.2014 09:25, longjks wrote:
Library stdcxx COMPILE allocator-inst.o /home/android/longjks_new/genode-13.08_longjks/libports/contrib/stdcxx-4.7.2/src/c++98/allocator-inst.cc:30:18: fatal error: memory: No such file or directory compilation terminated. make[3]: *** [allocator-inst.o] Error 1 make[2]: *** [stdcxx.lib] Error 2 make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory `/home/android/longjks_new/genode-13.08_longjks/build.linux_x86' Error: Genode build failed make: *** [run/qt5] Error 252
I can see the error caused by the source code below: #include <memory>
what is this "memory"? where can i found this "memory"?
"memory" is a header file of the C++ standard library and supposed to be located at 'libports/include/stdcxx/std/memory'. If it is not there, try running 'make prepare' in the 'libports' directory.
Christian