Projects / rtf-converter / Comments

Comments for rtf-converter

09 Feb 2005 14:07 gjf

Re: Compiling on FreeBSD


> Hi there

>

> I'm a FreeBSD n00b, but that's what my

> hosting provider runs, and I'd really

> like to use this there.

I'm not familiar with FreeBSD, but this looks like it is the result of differences in the make command on your OS.

> Simply trying to

> compile results in this:

>

> jean@jail01 ~/src/rtf : make

... [stuff deleted]

> g++ -o rtf-converter -L./

> -L/usr/home/jean/src/rtf/ -L.

> g++: No input files specified

> *** Error code 1

Perhaps if you explicitly list the .o files then the link phase will work on BSD? e.g.

g++ -o rtf-converter bodydestination.o charoutput.o charsource.o destination.o filecharsource.o graphicstate.o ignoredestination.o infodestination.o linktracker.o rtfparser.o rtftohtml.o stylemap.o stylesheetdestination.o tag.o token.o tokeniser.o -L./ -L/usr/home/jean/src/rtf/ -L.

09 Feb 2005 07:10 jeanjordaan

Compiling on FreeBSD
Hi there

I'm a FreeBSD n00b, but that's what my hosting provider runs, and I'd really like to use this there. Simply trying to compile results in this:

jean@jail01 ~/src/rtf : make

g++ -c -o bodydestination.o bodydestination.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o charoutput.o charoutput.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o charsource.o charsource.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o destination.o destination.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o filecharsource.o filecharsource.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o graphicstate.o graphicstate.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o ignoredestination.o ignoredestination.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o infodestination.o infodestination.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o linktracker.o linktracker.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o rtfparser.o rtfparser.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o rtftohtml.o rtftohtml.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o stylemap.o stylemap.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o stylesheetdestination.o stylesheetdestination.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o tag.o tag.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o token.o token.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -c -o tokeniser.o tokeniser.cpp -I- -I./ -Iinclude -I/usr/home/jean/src/rtf/ -g

g++ -o rtf-converter -L./ -L/usr/home/jean/src/rtf/ -L.

g++: No input files specified

*** Error code 1

Stop in /usr/home/jean/src/rtf.

This is with rtf-converter_1.1.tar.gz

22 Jul 2003 13:43 gjf

Re: RTF converter
% I really want to use this program but I
> am having trouble installing it. When I
> run make I get this error:
> g++ -c -o bodydestination.o
> bodydestination.cpp -I- -I./ -Iinclude
> ...
> ...
> BodyDestination::handleField(ControlToken*)':
> bodydestination.cpp:577: no matching
> function for call to `Tag::Tag(
> tag_TagType,
> ...
> Can anyone please help with this?

Version 1 of rtf-converter is not compatible with the
latest versions of gcc. I have a bug-fix version available
which I'll try to upload soon!

Greg Ford.

22 Jul 2003 07:58 dwhalen

RTF converter
Hello,

I really want to use this program but I am having trouble installing it. When I run make I get this error:
g++ -c -o bodydestination.o bodydestination.cpp -I- -I./ -Iinclude -I/usr/src/programs/rtf/ -g
In file included from bodydestination.cpp:30:
stylemap.h:28:3: warning: no newline at end of file
bodydestination.cpp: In member function `bool
BodyDestination::handleField(ControlToken*)':
bodydestination.cpp:577: no matching function for call to `Tag::Tag(
tag_TagType, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)'
bodydestination.cpp:304: candidates are: Tag::Tag(const Tag&)
tag.h:47: Tag::Tag()
tag.h:44: Tag::Tag(tag_TagType)
tag.h:43: Tag::Tag(tag_TagType, std::string&)
make: *** [bodydestination.o] Error 1

Can anyone please help with this?

Thanks

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.