Re: [Inkscape-devel] Problem with include files seeking
(trouble with my mail. sorry if there are duplicates)
No problem.
We had a problem similar to this a few weeks ago. A file needed to include <dirent.h>, but for some unknown reason, Perl has a file with the same name.
Yeah, this probably should be changed eventually. svn move or rename does it nicely. You don't need to delete and add again with the new name like on CVS.
But no hurry! :-) I did make buildtool a bit smarter, and added an Ant-like <filelist> tag similar to <fileset>. So for now, we can just use the new <excludeinc> subtag of <cc> to hide that directory from the includes.
So people should svn up and
g++ buildtool.cpp -o btool.exe
again.
bob
A simple fix would be to rename all files again to paramfloat.h etc. I don't know what the cause is, because the Inkscape src tree is added after the libraries include dirs. In any case, I tried looking into buildtool.cpp to make a quick fix but I do not yet understand how everything works; it is more intricate than I thought. Don't want to force you into changing buildtool, because we might be moving to cmake soon (it seems to be working for 80% on windows now).
I don't have time now to do the renaming though, and probably won't have internet on my own computer during the weekend..., so I hope somebody else can do the fix.
Johan
Did you know there are three print.cpp's in the source tree? I'm surprised things like that haven't caused any problems yet.
theres at least 2 toolbox.cpp's as well. Never mind confusing the compiler, its confused the heck out of me before :D
2008/4/4 rygle <pittos@...1208...>:
Did you know there are three print.cpp's in the source tree? I'm surprised things like that haven't caused any problems yet. -- View this message in context: http://www.nabble.com/Problem-with-include-files-seeking-tp16491063p16502582... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Fri, 4 Apr 2008 15:39:50 -0700 (PDT), rygle <pittos@...1208...> wrote:
Did you know there are three print.cpp's in the source tree? I'm surprised things like that haven't caused any problems yet.
Believe me, they have.
One of the things I'd like to do this go-around with the refactoring is to delete all the duplicate code and files that aren't really used anymore.
-mental
participants (4)
-
Bob Jamison
-
john cliff
-
MenTaLguY
-
rygle