Orange Forum • View topic - compilation on Debian Lenny

compilation on Debian Lenny

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.

compilation on Debian Lenny

Postby tmancill » Sun Aug 10, 2008 17:28

Hi Orange Team - first, thanks for updating the Linux build instructions. There must be some subtle differences between Ubuntu 8.4 and Debian Lenny/Sid, as I had to make two minor modifications to the source (working with branches/ver1.0) in order to build Orange on my Debian system. I include the SVN diff below.

Thanks,
Tony

Code: Select all
$ svn diff
Index: include/strings.hpp
===================================================================
--- include/strings.hpp   (revision 6040)
+++ include/strings.hpp   (working copy)
@@ -23,6 +23,7 @@
 #define __STRINGS_HPP
 
 #include <string>
+#include <string.h>
 #include <vector>
 
 using namespace std;
Index: orange/graph.cpp
===================================================================
--- orange/graph.cpp   (revision 6040)
+++ orange/graph.cpp   (working copy)
@@ -20,6 +20,7 @@
 */
 
 
+#include <algorithm>
 #include "graph.ppp"
 
 double _disconbuf;


Postby Janez » Mon Aug 11, 2008 16:18

Tony, thanks, we'll commit your changes to the SVN - we've checked that neither MS VC nor Ubuntu have any problems with them.

Thanks,
Janez


Return to Bugs



cron