Giter VIP home page Giter VIP logo

ctt's People

Watchers

 avatar  avatar

ctt's Issues

Unable to build with VS2017

1>------ Build started: Project: ctt, Configuration: Debug Win32 ------
1>util.cc
1>d:\projects\ctt-master\util.cc(46): error C2664: 'HANDLE FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW)': cannot convert argument 1 from 'const _Elem *' to 'LPCWSTR'
1> with
1> [
1> _Elem=char
1> ]
1>d:\projects\ctt-master\util.cc(46): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\projects\ctt-master\util.cc(46): error C2665: 'std::unique_ptr<PtrType,BOOL (__stdcall *)(HANDLE)>::unique_ptr': none of the 2 overloads could convert all the argument types
1>c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\memory(2337): note: could be 'std::unique_ptr<PtrType,BOOL (__stdcall *)(HANDLE)>::unique_ptr(const std::unique_ptr<PtrType,BOOL (__stdcall *)(HANDLE)> &)'
1>c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\memory(2235): note: or 'std::unique_ptr<PtrType,BOOL (__stdcall *)(HANDLE)>::unique_ptr(std::unique_ptr<PtrType,BOOL (__stdcall *)(HANDLE)> &&) noexcept'
1>d:\projects\ctt-master\util.cc(46): note: while trying to match the argument list '(overloaded-function)'
1>d:\projects\ctt-master\util.cc(52): error C2664: '_Ret std::_Func_class<_Ret,const std::string &>::operator ()(const std::string &) const': cannot convert argument 1 from 'WCHAR [260]' to 'const std::string &'
1> with
1> [
1> _Ret=bool
1> ]
1>d:\projects\ctt-master\util.cc(52): note: Reason: cannot convert from 'WCHAR [260]' to 'const std::string'
1>d:\projects\ctt-master\util.cc(52): note: No constructor could take the source type, or constructor overload resolution was ambiguous
1>Done building project "ctt.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

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.