arx-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Arx-users] Compile error


From: Kevin Smith
Subject: Re: [Arx-users] Compile error
Date: Fri, 24 Jun 2005 10:15:35 -0400
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)

Mike Feeney wrote:
I decided to try ArX again. I am now using Ubuntu Linux 5.04, I have the
dependencies, ./configure runs okay, but when I do make I get this
error:

I recently switched from gentoo to Ubuntu 5.04, and hadn't tried to build ArX since then. So here goes....

First, I had to install g++, which defaults to 3.3. Which version of g++ are you using?

Next, I see that ./configure doesn't notice that gnome-vfs is missing. That showed up for me as a compile error. So I installed it and tried again. Oops. I had only installed libgnome-vfs, and apparently I need libgnome-vfs-dev. Trying the make again.

Doh! It needs gnome-vfs-2.0, and Ubuntu is only offering me 1.0.5. I guess I would have to download 2.0 outside of the packaging system, which I don't want to do right now.

Ok. Back to your errors...


g++ -pthread -DORBIT2=1 -pthread -O3 -Wall

In general, when reporting a problem like this it would help to know what version of g++ you have, and what version of ArX source code you have downloaded or pulled.

-DARX_GNOMEVFS_MUST_ESCAPE_HTTP -Ibuild -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/orbit-2.0 -Isrc/loki -Isrc/boost -Isrc/arx/include -c -o
build/arx/utility_functions/Parsed_Name.o
build/arx/utility_functions/Parsed_Name.cpp
In file included from build/arx/utility_functions/Parsed_Name.cpp:30:
src/arx/include/gvfs.hpp: In member function `std::string
   gvfs::uri::escaped_string() const':
src/arx/include/gvfs.hpp:115: error: invalid conversion from `char' to
`const
   char*'

Ok. Definitely looks like a bug. I'm pretty sure the line:

         std::string result(*escaped);

should be

         std::string result(escaped);

Kevin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]