{"action":"opened","issue":{"url":"https://api.github.com/repos/peastman/openmm-plumed/issues/1","repository_url":"https://api.github.com/repos/peastman/openmm-plumed","labels_url":"https://api.github.com/repos/peastman/openmm-plumed/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/peastman/openmm-plumed/issues/1/comments","events_url":"https://api.github.com/repos/peastman/openmm-plumed/issues/1/events","html_url":"https://github.com/peastman/openmm-plumed/issues/1","id":184338193,"number":1,"title":"Getting problems with make PythonInstall","user":{"login":"msultan","id":3597136,"avatar_url":"https://avatars.githubusercontent.com/u/3597136?v=3","gravatar_id":"","url":"https://api.github.com/users/msultan","html_url":"https://github.com/msultan","followers_url":"https://api.github.com/users/msultan/followers","following_url":"https://api.github.com/users/msultan/following{/other_user}","gists_url":"https://api.github.com/users/msultan/gists{/gist_id}","starred_url":"https://api.github.com/users/msultan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msultan/subscriptions","organizations_url":"https://api.github.com/users/msultan/orgs","repos_url":"https://api.github.com/users/msultan/repos","events_url":"https://api.github.com/users/msultan/events{/privacy}","received_events_url":"https://api.github.com/users/msultan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-20T20:54:59Z","updated_at":"2016-10-20T20:54:59Z","closed_at":null,"body":"Hey Peter,\r\nI am getting the following error with installing the python wrapper even though it seems to have installed the plugin. \r\n\r\n``` bash\r\nmake install\r\n[ 30%] Built target OpenMMPlumed\r\n[ 38%] Built target TestSerializePlumedForce\r\n[ 53%] Built target OpenMMPlumedReference\r\n[ 61%] Built target TestReferencePlumedForce\r\n[ 92%] Built target OpenMMPlumedCUDA\r\n[100%] Built target TestCudaPlumedForce\r\nInstall the project...\r\n-- Install configuration: \"\"\r\n-- Up-to-date: /home/stanford/pande/users/msultan/software/installation/include/PlumedForce.h\r\n-- Up-to-date: /home/stanford/pande/users/msultan/software/installation/include/PlumedKernels.h\r\n-- Up-to-date: /home/stanford/pande/users/msultan/software/installation/include/internal/PlumedForceImpl.h\r\n-- Up-to-date: /home/stanford/pande/users/msultan/software/installation/include/internal/windowsExportPlumed.h\r\n-- Up-to-date: /home/stanford/pande/users/msultan/software/installation/lib/libOpenMMPlumed.so\r\n-- Up-to-date: /home/stanford/pande/users/msultan/software/installation/lib/plugins/libOpenMMPlumedReference.so\r\n-- Up-to-date: /home/stanford/pande/users/msultan/software/installation/lib/plugins/libOpenMMPlumedCUDA.so\r\n\r\n\r\n make PythonInstall \r\nrunning build\r\nrunning build_py\r\nrunning build_ext\r\nbuilding '_openmmplumed' extension\r\ngcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/stanford/pande/users/msultan/software/installation/include -I/home/stanford/pande/users/msultan/software/openmm-plumed/openmmapi/include -I/home/stanford/pande/users/msultan/software/anaconda/include/python3.5m -c PlumedPluginWrapper.cpp -o build/temp.linux-x86_64-3.5/PlumedPluginWrapper.o\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\nPlumedPluginWrapper.cpp: In function ‘swig_module_info* SWIG_Python_GetModule()’:\r\nPlumedPluginWrapper.cpp:2452:51: error: ‘PyCObject_Import’ was not declared in this scope\r\n         (char*)\"type_pointer\" SWIG_TYPE_TABLE_NAME);\r\n                                                   ^\r\nPlumedPluginWrapper.cpp: In function ‘void SWIG_Python_SetModule(swig_module_info*)’:\r\nPlumedPluginWrapper.cpp:2521:92: error: ‘PyCObject_FromVoidPtr’ was not declared in this scope\r\n   PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);\r\n                                                                                            ^\r\nPlumedPluginWrapper.cpp:2512:22: warning: unused variable ‘swig_empty_runtime_method_table’ [-Wunused-variable]\r\n   static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */\r\n                      ^\r\nPlumedPluginWrapper.cpp: In function ‘swig_type_info* SWIG_Python_TypeQuery(const char*)’:\r\nPlumedPluginWrapper.cpp:2544:60: error: ‘PyCObject_AsVoidPtr’ was not declared in this scope\r\n     descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);\r\n                                                            ^\r\nPlumedPluginWrapper.cpp:2549:51: error: ‘PyCObject_FromVoidPtr’ was not declared in this scope\r\n       obj = PyCObject_FromVoidPtr(descriptor, NULL);\r\n                                                   ^\r\nerror: command 'gcc' failed with exit status 1\r\nmake[3]: *** [PythonInstall] Error 1\r\nmake[2]: *** [python/CMakeFiles/PythonInstall.dir/all] Error 2\r\nmake[1]: *** [python/CMakeFiles/PythonInstall.dir/rule] Error 2\r\nmake: *** [PythonInstall] Error 2\r\n```\r\nThe swig version is 1.3\r\n``` bash \r\nswig -version\r\n\r\nSWIG Version 1.3.40\r\n\r\nCompiled with g++ [x86_64-redhat-linux-gnu]\r\nPlease see http://www.swig.org for reporting bugs and further information\r\n\r\n```\r\n\r\nAny recommendations on what to try? "}}
{"actor":{"display_login":"msultan"}}