Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build with visual studio 2015 #39

Open
githubToolTester opened this issue Sep 13, 2016 · 5 comments
Open

Unable to build with visual studio 2015 #39

githubToolTester opened this issue Sep 13, 2016 · 5 comments

Comments

@githubToolTester
Copy link

When I try and follow the windows instructions in the readme I get the following error:

cl.exe /nologo /O2 /EHsc /D "_CRT_SECURE_NO_DEPRECATE" /D "USEOMP" /openmp tsne.obj sptree.obj -Fewindows\bh_tsne.exe
libcpmt.lib(xthrow.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1900' doesn't match value '1800' in tsne.obj
libucrt.lib(hypot.obj) : error LNK2005: hypot already defined in tsne.obj
windows\bh_tsne.exe : fatal error LNK1169: one or more multiply defined symbols found
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe"' : return code '0x2'
Stop.

I'm not sure how I can edit the tsne.obj file to adjust this, any advice?

Thanks!

@baobabKoodaa
Copy link

Just to add some information, I was able to compile it on Windows yesterday using Visual Studio 2015. I hope you get it working too.

@lvdmaaten
Copy link
Owner

Can you post some details on what you had to do to make this compile?

On Monday, September 19, 2016, baobabKoodaa notifications@github.com
wrote:

Just to add some information, I was able to compile it on Windows
yesterday using Visual Studio 2015. I hope you get it working too.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#39 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHSruICWzn3p3yu8YYycchvY-uxQZ6fks5qrsAxgaJpZM4J8Py3
.

@baobabKoodaa
Copy link

Sorry, I'm afraid I can't help. I just installed Visual Studio and followed the instructions in the README of this repo.

@he-zhe
Copy link

he-zhe commented Oct 21, 2016

Try remove tsne.obj and compile it again. Your current tsne.obj has a '_MSC_VER' value of 1800, meaning that it was compiled by VS2013. Your current VS is 2015. The mismatch might cause this error.

@kuilef
Copy link

kuilef commented Aug 21, 2017

Thank you very much, he-zhe!!!
Spent hours trying to solve
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
and your solution worked!

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

No branches or pull requests

5 participants