NanoMap 0.2

Xiangfu Liu xiangfu at sharism.cc
Sun Jul 11 11:27:38 EDT 2010


Hi Niels

I applied the patch. try to compile the NanoNote in openwrt
   make package/NanoMap/{clean,compile} V=99

It give me:
make[3]: /usr/bin/moc: Command not found[1]. but moc is at:
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/bin/

which file I should change to point to the right "moc". thanks.

[1]
(cd /home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.7.0-beta1/src/tools/moc && make)
make[4]: Entering directory `/home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.7.0-beta1/src/tools/moc'
make[4]: Nothing to be done for `first'.
make[4]: Leaving directory `/home/xiangfu/workspace/PanGu/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/qt-everywhere-opensource-src-4.7.0-beta1/src/tools/moc'
/usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/share/mkspecs/qws/linux-openwrt-g++ -I. -I../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/QtCore -I../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/QtNetwork -I../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/QtGui -I../../../staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I. mainwidget.h -o moc_mainwidget.cpp
make[3]: /usr/bin/moc: Command not found
make[3]: *** [moc_mainwidget.cpp] Error 127


On 07/11/2010 03:19 PM, Niels Kummerfeldt wrote:
> Am Sonntag, 11. Juli 2010, 04:25:39 schrieb Xiangfu Liu:
>> Hi Mark
>>
>> I will try to work on NanoMap opkg package today or tomorrow.
>> then add it to openwrt-package.git
>>
>
> Hi,
>
> some time ago I tried to make an OpenWrt Makefile but I had to change the qt4
> Makefile to get it working. The patch installs qmake and co into staging_dir
> and changes the mkspec file to set QMAKE_INCDIR_QT correctly. I don't know if
> this is the right way to go but it worked at that time.
>
> If you want to compile a qt4 program manually you just set PATH and QMAKESPEC.
> Something like this:
>
> #!/bin/sh
>
> basepath="/home/niels/Projekte/NanoNote/openwrt-xburst/"
> toolchainpath="staging_dir/toolchain-
> mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/"
> qtpath="staging_dir/target-mipsel_uClibc-0.9.30.1/"
>
> export PATH=$basepath$toolchainpath:$PATH
> export QMAKESPEC=$basepath$qtpath"usr/share/mkspecs/qws/linux-openwrt-g++"
>
> And then run:
>
> $ mkdir build
> $ cd build
> $ qmake ../nanomap.pro
> $ make
>
> Hope this helps.
>
> Niels
>
>
>
> _______________________________________________
> discussion mailing list
> discussion at lists.qi-hardware.com
> http://en.qi-hardware.com/mailman/listinfo/discussion


-- 
Best Regards
Xiangfu Liu
http://www.nanonote.cc




More information about the discussion mailing list


interactive