Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Unable to compile #32

Closed
hafizbistar opened this issue May 28, 2013 · 2 comments
Closed

Unable to compile #32

hafizbistar opened this issue May 28, 2013 · 2 comments

Comments

@hafizbistar
Copy link

LINK : error LNK2001: unresolved external symbol PyInit_umysql build\temp.win32-3.3\Release./python\umysql.lib : fatal error LNK1120: 1 unresolved externals
error: command '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.exe"' failed with exit status 1120

I am running Windows 7 x64
I have Visual Studio 9, 10, 11 (2008, 2010, 2012)
I am running under Python 3.3 environment.
MySQL connector for C/C++/Python are installed.

I had minor hiccups along the way, but this one, i really have no idea how to solve. have always been a problem for me to solve 'link' issue when compiling C/C++

@jskorpan
Copy link

Looks like you are compiling for Python 3.3

AFAIK umysql isn’t compatible with Python 3.3

//JT

From: hafizbistar [mailto:notifications@github.com]
Sent: den 28 maj 2013 04:51
To: esnme/ultramysql
Subject: [ultramysql] Unable to compile (#32)

LINK : error LNK2001: unresolved external symbol PyInit_umysql build\temp.win32-3.3\Release./python\umysql.lib : fatal error LNK1120: 1 unresolved externals
error: command '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.exe"' failed with exit status 1120

I am running Windows 7 x64
I have Visual Studio 9, 10, 11 (2008, 2010, 2012)
I am running under Python 3.3 environment.
MySQL connector for C/C++/Python are installed.

I had minor hiccups along the way, but this one, i really have no idea how to solve. have always been a problem for me to solve 'link' issue when compiling C/C++


Reply to this email directly or view it on GitHubhttps://github.com//issues/32.

@hafizbistar
Copy link
Author

Yes, i am very new to python didn't realized that sooner. but it would surely help if there is a note saying it only support python 2.x

I am currently, trying to get it to work on python 3.3
i manage to compile it, but the tests.py crash during executions
:|

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants