Comments (3)
I worked around the problem by install VC for Python27 as recommended in the error log. However, now I see a different error. Could anyone please help me fix this? I built clFFT with VS2013 community version.
C:\Users\butterfly\Documents\GitHub\gpyfft>python setup.py install
copied clFFT.dll, StatTimer.dll
running install
running bdist_egg
running egg_info
writing Gpyfft.egg-info\PKG-INFO
writing top-level names to Gpyfft.egg-info\top_level.txt
writing dependency_links to Gpyfft.egg-info\dependency_links.txt
reading manifest file 'Gpyfft.egg-info\SOURCES.txt'
writing manifest file 'Gpyfft.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
copying gpyfft\clFFT.dll -> build\lib.win-amd64-2.7\gpyfft
copying gpyfft\StatTimer.dll -> build\lib.win-amd64-2.7\gpyfft
running build_ext
building 'gpyfft.gpyfftlib' extension
C:\Users\butterfly\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python
\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Users\butterf
ly\Documents\GitHub\clFFT\src\include -IC:\Users\butterfly\Documents\GitHub\clFF
T\build\include -IC:\Intel\INDE\code_builder_5.1.0.25\include -IC:\Python27\incl
ude -IC:\Python27\PC /Tcgpyfft\gpyfftlib.c /Fobuild\temp.win-amd64-2.7\Release\g
pyfft\gpyfftlib.obj
gpyfftlib.c
gpyfft\gpyfftlib.c(4916) : warning C4244: '=' : conversion from 'Py_ssize_t' to
'int', possible loss of data
gpyfft\gpyfftlib.c(6155) : warning C4244: 'function' : conversion from 'Py_ssize
_t' to 'cl_uint', possible loss of data
C:\Users\butterfly\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python
\9.0\VC\Bin\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\Users\butter
fly\Documents\GitHub\clFFT\build\staging\Debug /LIBPATH:C:\Python27\libs /LIBPAT
H:C:\Python27\PCbuild\amd64 clFFT.lib /EXPORT:initgpyfftlib build\temp.win-amd64
-2.7\Release\gpyfft\gpyfftlib.obj /OUT:build\lib.win-amd64-2.7\gpyfft\gpyfftlib.
pyd /IMPLIB:build\temp.win-amd64-2.7\Release\gpyfft\gpyfftlib.lib /MANIFESTFILE:
build\temp.win-amd64-2.7\Release\gpyfft\gpyfftlib.pyd.manifest
LINK : fatal error LNK1181: cannot open input file 'clFFT.lib'
error: command 'C:\Users\butterfly\AppData\Local\Programs\Common\Microsof
t\Visual C++ for Python\9.0\VC\Bin\amd64\link.exe' failed with exit status
from gpyfft.
I figured that VC2013 distributed all the library files in various locations. By adding the paths, I was able to build gpyfft finally.
from gpyfft.
Good that you could figure out by yourself the issues you had. Could you please provide some more detailed information on how you succeeded to build clFFT and gpyfft, it might be interesting for other users.
Gregor
from gpyfft.
Related Issues (20)
- Windows 10 - errors in test_simple.py HOT 7
- gpyfft working on macOS 10.11.6, but not for CPU HOT 3
- simple_example.py broken HOT 16
- Cython errors in setup.py on Ubuntu HOT 7
- License file HOT 2
- [debian] test error during the build process HOT 7
- [doc] errors during the sphinx doc generation HOT 2
- could you integrate the benchmark in the gpyfft module HOT 1
- Installation when clFFT has been installed using conda ? HOT 14
- Batched FFT buggy
- Real->complex and complex->real HOT 3
- PyPI HOT 2
- Benchmark fails to run on ARM Mali platform HOT 1
- ImportError: DLL load failed HOT 15
- When rinning simple_example.py - OverflowError: can't convert negative value to size_t HOT 3
- Cannot open include file: 'clFFT.h' HOT 1
- How to install this package on Windows? HOT 1
- callback argument for the FFT class HOT 5
- Complains about _clfftBakePlan not found when importing HOT 8
- About some installation issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpyfft.