Orange Forum • View topic - compiling on Ubuntu 8.10 requires source change

compiling on Ubuntu 8.10 requires source change

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.

compiling on Ubuntu 8.10 requires source change

Postby ybakos » Tue Nov 25, 2008 4:55

Per the linux instructions, you'll have to make two changes to the checked out source in order to compile.

In source/include/strings.cpp, you'll have to add an additional #include directive:

#include 'string.h'

In source/orange/graph.cpp, you'll have to add:

#include <algorithm>

Thanks

Postby neuroman » Wed Jan 14, 2009 1:47

Thanks for these instructions. Why not put it in source? #ifdef macro works well!

Thank you

Postby krieggegenpaz » Tue Mar 10, 2009 1:35

Thank you for the tip. Seems like this is a simple change that won't break anything if it's made in source for all platforms. Maybe using:

#include<cstring>

instead of:

#include 'string.h'

Same deal really, but the former would be more platform agnostic.


Return to Bugs



cron