Giter VIP home page Giter VIP logo

bitweight's People

Contributors

j9ac9k avatar kylebgorman avatar stevenbedrick avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

j9ac9k

bitweight's Issues

install fails on windows when running python 2.7

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.