Orange Forum • View topic - compile failure on linux (x86_64)

compile failure on linux (x86_64)

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

compile failure on linux (x86_64)

Postby jgsack@san.rr.com » Tue Mar 28, 2006 4:43

make fails with 3 errors:

ppp/../learn.hpp:51: error: default argument for parameter of type ‘PDomainContingency&’ has type ‘PDomainContingency’
ppp/../learn.hpp:52: error: default argument for parameter of type ‘PDomainDistributions&’ has type ‘PDomainDistributions’
ppp/../learn.hpp:53: error: default argument for parameter of type ‘PDistribution&’ has type ‘PDistribution’


This is for the 3-28 snapshot, as well as last few snapshots and 0.9.62, too.

..on FC4 x86_64, using gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
(tried "gcc=gcc33 make" without success)

Regards,
..jim

Postby Frank » Tue Jun 06, 2006 0:30

You can try what Janez suggested, it worked for me but I have a new error...

Can you try to remove the ampersands from lines 51-53 in learn.hpp and 116-118 in learn.cpp? (But leave those in lines 50 (115), that is in "int &weight".)
[/quote]

Postby Janez » Tue Jun 13, 2006 10:37

We've just successfully compiled Orange under FC4 and gcc 4.0, thanks to the patches provided by dogacan. Try the latest snapshot, it should work.

Janez


Return to Bugs



cron