DWF

Reply
New Member
cduret
Posts: 2
Registered: ‎06-30-2011
Message 1 of 2 (173 Views)

building problem of DWFToolkit 7.6 with gcc 4.2

173 Views, 1 Replies
06-30-2011 02:52 AM

hello,

I try to compile DWFToolkit 7.6 on my freeBSD box with gcc 4.2.1

 

I compile dwfcore successfully but I have some errors with the dwf tookit.

 

Here is the error :

 

In file included from ../../../../../dwf/package/writer/extensions/6.01/PackageVersionExtension.h:32,
                 from PackageVersionExtension601.cpp:34:
../../../../../dwf/package/writer/DWF6PackageVersionExtension.h:104: error: expected unqualified-id before 'int'
../../../../../dwf/package/writer/DWF6PackageVersionExtension.h:104: error: expected `)' before 'int'
../../../../../dwf/package/writer/DWF6PackageVersionExtension.h:104: error: expected `)' before 'int'
../../../../../dwf/package/writer/DWF6PackageVersionExtension.h:114: error: expected unqualified-id before 'int'
../../../../../dwf/package/writer/DWF6PackageVersionExtension.h:114: error: expected `)' before 'int'
../../../../../dwf/package/writer/DWF6PackageVersionExtension.h:114: error: expected `)' before 'int'
In file included from PackageVersionExtension601.cpp:34:
../../../../../dwf/package/writer/extensions/6.01/PackageVersionExtension.h:102: error: expected unqualified-id before 'int'
../../../../../dwf/package/writer/extensions/6.01/PackageVersionExtension.h:102: error: expected `)' before 'int'
../../../../../dwf/package/writer/extensions/6.01/PackageVersionExtension.h:102: error: expected `)' before 'int'
../../../../../dwf/package/writer/extensions/6.01/PackageVersionExtension.h:112: error: expected unqualified-id before 'int'
../../../../../dwf/package/writer/extensions/6.01/PackageVersionExtension.h:112: error: expected `)' before 'int'
../../../../../dwf/package/writer/extensions/6.01/PackageVersionExtension.h:112: error: expected `)' before 'int'

 

I go the line of the file DWF6PackageVersionExtension.h :

                    _DWFTK_API
error here ->    virtual unsigned short major()
                     throw() = 0;

 

 

any ideas ?

thanks a lot

New Member
cduret
Posts: 2
Registered: ‎06-30-2011
Message 2 of 2 (157 Views)

Re: building problem of DWFToolkit 7.6 with gcc 4.2

07-05-2011 11:39 PM in reply to: cduret

it appears that freeBSD is not supported by the source tree.

I have made some minor modifications to achieve a success compiling.

If some people need I could explain changes I have made.

:smileyhappy:

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.