Giter Club home page Giter Club logo

blockchain21's People

Contributors

jratcliff63367 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blockchain21's Issues

Does not compile

System platform: Ubuntu 16.04.1, 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

First, had to edit Makefile to include -std=gnu++11

That fixed some complaints, but not all.

g++ *.cpp -std=gnu++11 -o blockchain21.out
FileInterface.cpp:431:2: error: ‘MemoryMap’ does not name a type
  MemoryMap   *mMemoryMap;
  ^
FileInterface.cpp: In constructor ‘_FILE_INTERFACE::_FILE_INTERFACE(const char*, const char*, void*, uint64_t, bool)’:
FileInterface.cpp:91:3: error: ‘mMemoryMap’ was not declared in this scope
   mMemoryMap = nullptr;
   ^
FileInterface.cpp:94:48: error: ‘createMemoryMap’ was not declared in this scope
    mMemoryMap = createMemoryMap(fname, 0, false);
                                                ^
FileInterface.cpp:111:36: error: ‘_stricmp’ was not declared in this scope
   if ( spec && _stricmp(spec,"wmem") == 0 )
                                    ^
FileInterface.cpp: In destructor ‘_FILE_INTERFACE::~_FILE_INTERFACE()’:
FileInterface.cpp:147:7: error: ‘mMemoryMap’ was not declared in this scope
   if (mMemoryMap)
       ^
FileInterface.cpp: In member function ‘bool _FILE_INTERFACE::usesMemoryMappedFile() const’:
FileInterface.cpp:167:10: error: ‘mMemoryMap’ was not declared in this scope
   return mMemoryMap ? true : false;
          ^
FileInterface.cpp: In member function ‘uint64_t _FILE_INTERFACE::seek(uint64_t, int)’:
FileInterface.cpp:314:33: error: ‘_fseeki64’ was not declared in this scope
    ret = _fseeki64(mFph,loc,mode);
                                 ^
FileInterface.cpp: In member function ‘uint64_t _FILE_INTERFACE::tell()’:
FileInterface.cpp:343:24: error: ‘_ftelli64’ was not declared in this scope
    ret = _ftelli64(mFph);
                        ^
FileInterface.cpp: In function ‘uint64_t fi_fprintf(FILE_INTERFACE*, const char*, ...)’:
FileInterface.cpp:499:47: error: ‘_vsnprintf’ was not declared in this scope
  _vsnprintf(buffer,2047, fmt, (char *)(&fmt+1));
                                               ^
PublicKeyDatabase.cpp: In member function ‘time_t PUBLIC_KEY_DATABASE::PublicKeyDatabaseImpl::getMonthDayYear(uint32_t, uint32_t, uint32_t)’:
PublicKeyDatabase.cpp:1907:29: error: ‘_mkgmtime’ was not declared in this scope
    return _mkgmtime(timeinfo);
                             ^
main.cpp: In function ‘int main(int, const char**)’:
main.cpp:165:17: error: ‘kbhit’ was not declared in this scope
       if (kbhit())
                 ^
main.cpp:167:22: error: ‘getch’ was not declared in this scope
        int c = getch();
                      ^
Makefile:2: recipe for target 'blockchain21.out' failed
make: *** [blockchain21.out] Error 1

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.