stevenbedrick / bitweight Goto Github PK
View Code? Open in Web Editor NEWA Python class to help with log-space arithmetic.
License: Other
A Python class to help with log-space arithmetic.
License: Other
Running python setup.py install
results in a failure when running Python 2.7 on Windows systems.
python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to BitWeight.egg-info\requires.txt
writing BitWeight.egg-info\PKG-INFO
writing top-level names to BitWeight.egg-info\top_level.txt
writing dependency_links to BitWeight.egg-info\dependency_links.txt
reading manifest file 'BitWeight.egg-info\SOURCES.txt'
writing manifest file 'BitWeight.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_ext
building 'bitweight' extension
C:\Users\ogi\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Miniconda3\envs\py2\include -IC:\Miniconda3\envs\py2\PC /Tpbitweight.cpp /Fobuild\temp.win-amd64-2.7\Release\bitweight.obj -std=c++11
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
bitweight.cpp
c:\users\ogi\documents\github\bitweight-public\bitweight.h(45) : error C2146: syntax error : missing ';' before identifier 'T'
c:\users\ogi\documents\github\bitweight-public\bitweight.h(78) : see reference to class template instantiation 'bitweight::BitWeightTpl<T>' being compiled
c:\users\ogi\documents\github\bitweight-public\bitweight.h(45) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\ogi\documents\github\bitweight-public\bitweight.h(45) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\ogi\documents\github\bitweight-public\bitweight.h(45) : error C2864: 'bitweight::BitWeightTpl<T>::big' : only static const integral data members can be initialized within a class
c:\users\ogi\documents\github\bitweight-public\bitweight.h(95) : error C2143: syntax error : missing ';' before '='
c:\users\ogi\documents\github\bitweight-public\bitweight.h(95) : error C2873: 'BitWeight' : symbol cannot be used in a using-declaration
c:\users\ogi\documents\github\bitweight-public\bitweight.h(95) : error C2513: 'int' : no variable declared before '='
bitweight.cpp(672) : error C2039: 'BitWeight' : is not a member of 'bitweight'
bitweight.cpp(672) : error C2143: syntax error : missing ';' before '*'
bitweight.cpp(672) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
bitweight.cpp(672) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
bitweight.cpp(1024) : error C2039: 'BitWeight' : is not a member of 'bitweight'
bitweight.cpp(1024) : error C2065: 'BitWeight' : undeclared identifier
bitweight.cpp(1024) : error C2065: '__pyx_t_7' : undeclared identifier
bitweight.cpp(1195) : error C2065: '__pyx_t_7' : undeclared identifier
bitweight.cpp(1195) : error C2039: 'BitWeight' : is not a member of 'bitweight'
bitweight.cpp(1195) : error C2061: syntax error : identifier 'BitWeight'
bitweight.cpp(1197) : error C2065: '__pyx_t_7' : undeclared identifier
bitweight.cpp(1197) : error C2039: 'BitWeight' : is not a member of 'bitweight'
bitweight.cpp(1197) : error C2061: syntax error : identifier 'BitWeight'
bitweight.cpp(1199) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1199) : error C2065: '__pyx_t_7' : undeclared identifier
bitweight.cpp(1255) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1304) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1304) : error C2227: left of '->real' must point to class/struct/union/generic type
bitweight.cpp(1367) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1367) : error C2227: left of '->+=' must point to class/struct/union/generic type
bitweight.cpp(1367) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1434) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1434) : error C2227: left of '->*=' must point to class/struct/union/generic type
bitweight.cpp(1434) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1501) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1501) : error C2227: left of '->/=' must point to class/struct/union/generic type
bitweight.cpp(1501) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1584) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1584) : error C2039: 'BitWeight' : is not a member of 'bitweight'
bitweight.cpp(1584) : error C2061: syntax error : identifier 'BitWeight'
bitweight.cpp(1672) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1672) : error C2039: 'BitWeight' : is not a member of 'bitweight'
bitweight.cpp(1672) : error C2061: syntax error : identifier 'BitWeight'
bitweight.cpp(1760) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1760) : error C2039: 'BitWeight' : is not a member of 'bitweight'
bitweight.cpp(1760) : error C2061: syntax error : identifier 'BitWeight'
bitweight.cpp(1849) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1849) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1881) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1881) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1912) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(1912) : error C2039: 'ptr' : is not a member of '__pyx_obj_9bitweight_BitWeight'
bitweight.cpp(670) : see declaration of '__pyx_obj_9bitweight_BitWeight'
error: command 'C:\\Users\\ogi\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
can confirm that install works fine on Python 3.5 on Windows, as well as Python 2.7 and 3.5 on Windows Linux Subsystem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.