{"action":"created","issue":{"url":"https://api.github.com/repos/enthought/pyql/issues/78","labels_url":"https://api.github.com/repos/enthought/pyql/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/enthought/pyql/issues/78/comments","events_url":"https://api.github.com/repos/enthought/pyql/issues/78/events","html_url":"https://github.com/enthought/pyql/issues/78","id":62656399,"number":78,"title":"Issues during install","user":{"login":"JohnSmizz","id":6588385,"avatar_url":"https://avatars.githubusercontent.com/u/6588385?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnSmizz","html_url":"https://github.com/JohnSmizz","followers_url":"https://api.github.com/users/JohnSmizz/followers","following_url":"https://api.github.com/users/JohnSmizz/following{/other_user}","gists_url":"https://api.github.com/users/JohnSmizz/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnSmizz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnSmizz/subscriptions","organizations_url":"https://api.github.com/users/JohnSmizz/orgs","repos_url":"https://api.github.com/users/JohnSmizz/repos","events_url":"https://api.github.com/users/JohnSmizz/events{/privacy}","received_events_url":"https://api.github.com/users/JohnSmizz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-18T10:45:26Z","updated_at":"2015-03-27T19:43:43Z","closed_at":null,"body":"Hi-\r\nI am trying to install pyQL wrapper but am having trouble just BUILDING the pyQL files.\r\nI installed QuantLib, Boost and successfully ran the QuantLib test file- I compiled using MS Visual Studio 2013 - the release 64bit.\r\nPython is the Anaconda build, incl Cython etc, on a Win7 SP1  64-bit machine.\r\nThe setup.py has been amended as follows\r\n    \r\n    elif sys.platform == 'win32':\r\n    # With MSVC2008, the library is called QuantLib.lib but with MSVC2010, the\r\n    # naming is QuantLib-vc100-mt\r\n    if sys.version_info >= (3, 0):\r\n        QL_LIBRARY = 'QuantLib-vc120-x64'\r\n    INCLUDE_DIRS = [\r\n        r'C:\\QuantLib-1.5',  # QuantLib headers \r\n        r'C:\\local\\boost_1_57_0', # Boost headers\r\n        r\"C:\\local\\boost_1_57_0\\lib64-msvc-12.0\", \r\n        '.',\r\n        SUPPORT_CODE_INCLUDE\r\n    ]\r\n    LIBRARY_DIRS = [\r\n        r\"C:\\QuantLib-1.5\\build\\vc120\\x64\\Release\", # for the dll lib\r\n        r\"C:\\QuantLib-1.5\\lib\",\r\n        r\"C:\\local\\boost_1_57_0\\libs\",\r\n        r\"C:\\local\\boost_1_57_0\\lib64-msvc-12.0\", \r\n        '.',\r\n        r'.\\dll',\r\n    ]\r\n\r\nUnfortunately, when I navigate to the folder to where pyQL-master  has been extracted to and run command \"python setup.py build\" I get the following errors...\r\n\r\n```\r\nC:\\Anaconda3\\pyql-master>python setup.py build\r\nC:\\Anaconda3\\lib\\distutils\\extension.py:132: UserWarning: Unknown Extension opti\r\nons: 'cython_directives'\r\n  warnings.warn(msg)\r\nmissing cimport in module 'quantlib.pricingengines': quantlib\\instruments\\credit\r\n_default_swap.pyx\r\nmissing cimport in module 'quantlib.time': quantlib\\instruments\\credit_default_s\r\nwap.pyx\r\nmissing cimport in module 'quantlib.pricingengines': quantlib\\instruments\\option\r\n.pyx\r\nrunning build\r\nrunning build_py\r\nrunning build_ext\r\nbuilding 'quantlib.cashflow' extension\r\nC:\\Anaconda3\\Scripts\\gcc.bat -mdll -O -Wall -D__WIN32__ -DWIN32 -DNDEBUG -D_WIND\r\nOWS -DNOMINMAX -DWINNT -D_WINDLL -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_DEP\r\nRECATE -D_SCL_SECURE_NO_WARNINGS -IC:\\QuantLib-1.5 -IC:\\local\\boost_1_57_0 -IC:\\\r\nlocal\\boost_1_57_0\\lib64-msvc-12.0 -I. -I./cpp_layer -IC:\\Anaconda3\\lib\\site-pac\r\nkages\\numpy\\core\\include -IC:\\Anaconda3\\include -IC:\\Anaconda3\\include -c quantl\r\nib\\cashflow.cpp -o build\\temp.win-amd64-3.4\\Release\\quantlib\\cashflow.o /GR /FD\r\n/Zm250 /EHsc\r\ngcc.exe: error: /GR: No such file or directory\r\ngcc.exe: error: /FD: No such file or directory\r\ngcc.exe: error: /Zm250: No such file or directory\r\ngcc.exe: error: /EHsc: No such file or directory\r\nerror: command 'C:\\\\Anaconda3\\\\Scripts\\\\gcc.bat' failed with exit status 1\r\n```"},"comment":{"url":"https://api.github.com/repos/enthought/pyql/issues/comments/87068510","html_url":"https://github.com/enthought/pyql/issues/78#issuecomment-87068510","issue_url":"https://api.github.com/repos/enthought/pyql/issues/78","id":87068510,"user":{"login":"dpinte","id":538104,"avatar_url":"https://avatars.githubusercontent.com/u/538104?v=3","gravatar_id":"","url":"https://api.github.com/users/dpinte","html_url":"https://github.com/dpinte","followers_url":"https://api.github.com/users/dpinte/followers","following_url":"https://api.github.com/users/dpinte/following{/other_user}","gists_url":"https://api.github.com/users/dpinte/gists{/gist_id}","starred_url":"https://api.github.com/users/dpinte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpinte/subscriptions","organizations_url":"https://api.github.com/users/dpinte/orgs","repos_url":"https://api.github.com/users/dpinte/repos","events_url":"https://api.github.com/users/dpinte/events{/privacy}","received_events_url":"https://api.github.com/users/dpinte/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T19:43:43Z","updated_at":"2015-03-27T19:43:43Z","body":"In step _15, you don't need a static .lib. When MSVC builds a dll, it also builds a .lib file which just contains the symbols exposed by the dll. That is the .lib file you must use.\r\n\r\nCan you send me mail to dpinte _at_ enthought.com so that I can share the needed files with you?"}}