Thank you for prompt input, guys [...and, btw., yes -- as Jose indicated
-- I intend to use or-tools for Van Hentenryck's Coursera class].
It seems to me like I am missing something _very_ elementary here.
- I've already had the latestest MSVC++ 2012 Redistributable [x86, 11.0.61030] on my Windows XP SP3 machine [re-installed it anyway, just to be safe], and
- I'm using a freshly installed Anaconda 1.9.1 (32-bit) installation (= Python 2.7.6).
So, then
- I've downloaded Google.OrTools.python.examples.3124.zip, unzipped its contents into a folder (let's call it TEMP), and ran python.exe setup.py install (which successfully installed or-tools, protobuf, gflags etc. in C:\Programme\Anaconda\Lib\site-packages),
- and tried (in folder TEMP) python.exe examples\pyflow_example.py
...which gives:
Traceback (most recent call last):
File "examples\pyflow_example.py", line 19, in <module>
from ortools.graph import pywrapgraph
File "c:\programme\anaconda\lib\site-packages\ortools-1.3155-py2.7-win32.egg\ortools\graph\pywrapgraph.py", line 28, in <module> _pywrapgraph = swig_import_helper()
File "c:\programme\anaconda\lib\site-packages\ortools-1.3155-py2.7-win32.egg\ortools\graph\pywrapgraph.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrapgraph', fp, pathname, description)
ImportError: DLL load failed: The specified procedure could not be found.
To figure out whether this is a Python (or, more precisely, PYTHONPATH) specific issue, I gave Google.OrTools.java.VisualStudio2012-32b.3103.zip a shot.
RabbitsPheasants.java compiled w/o problems -- but when I try to make it run, I get:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Programme\Google\or-tools-java\lib\jniortools.dll: The specified procedure could not be found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at com.google.ortools.constraintsolver.samples.RabbitsPheasants.<clinit>
(RabbitsPheasants.java:32)
So, the question is... _what_ am I missing [if it helps... think of me as stupid as you possibly can]
- Do I need a lib from another binary distribtion?
- Do I need to have the SVN sources, do they have to be in a certain place (alt.: in my Windows PATH variable)?
- ...
Totally lost,
fbahr