[OSM-talk] New, significantly revised version of osmeditor2
Nick Whitelegg
nick at hogweed.org
Fri Jul 7 23:53:49 BST 2006
On Friday 07 Jul 2006 23:02, Emil Vaughan wrote:
> Is there a ready-built version of osmeditor? After installing
> subversion, and a ton of qt3 stuff I still can't get it to make. it
> goes wrong straight away:
>
> emil at marley:~/osm/svn.openstreetmap.org/editors/osm-editor$ make osmeditor2
> c++ -w -g -I/usr/lib/qt3/include -I/usr/local/include
> -Ijeeps-gpsbabel-1.2.7 -c -o osmeditor2.o osmeditor2.cpp
> osmeditor2.cpp:19:26: error: qapplication.h: No such file or directory
>
>
> Emil
Have you installed the qt3 dev/devel packages?
You may need to change the paths in the Makefile.
Assuming you've installed the qt3 development packages, try :
echo $QTDIR
This should give you the Qt installation directory, though it does not work on
all systems. For example, it might give you /usr/lib/qt3. You need to set the
QTLIBPATH and QTINCPATH in the Makefile to the result of this plus 'include'
or 'lib' e.g.
QTLIBPATH=/usr/lib/qt3/lib
QTINCPATH=/usr/lib/qt3/include
If $QTDIR doesn't give anything, try this method. Run the following two find
commands:
find /usr -name qapplication.h
find /usr -name libqt.so
and if the second one doesn't give anything....
find /usr -name libqt-mt.so
These will tell you the Qt library and include directories. You need to set
the QTLIBPATH and QTINCPATH in the Makefile to these directories.
Let me know if this works, or if you have any problems or don't understand any
of this. I really ought to do an installation FAQ, if I can get round to
it.... Even better, does anyone here have experience with autoconf/automake?
osmeditor2 could benefit from those I'm sure:-)
Nick
More information about the talk
mailing list