Giter Site home page Giter Site logo

Comments (6)

scott323 avatar scott323 commented on July 22, 2024 2

you need to generate the FSMs (finite state machines), and you need python for that
example generate script (i used this, requires cygwin w/python):

#!/bin/bash
cd src/htmlparser
./generate_fsm.py htmlparser_fsm.config > htmlparser_fsm.h
./generate_fsm.py jsparser_fsm.config > jsparser_fsm.h
./generate_fsm.py ../tests/statemachine_test_fsm.config > ../tests/statemachine_test_fsm.h

from ctemplate.

OlafvdSpek avatar OlafvdSpek commented on July 22, 2024

Have you tried https://github.com/Microsoft/vcpkg?

If that's not an option, try https://xwis.net/ctemplate/ctemplate-2.3.zip

from ctemplate.

Fxztam avatar Fxztam commented on July 22, 2024

No, i tried a simple build of libctemplate ..
and getting now errors from ctemplate-2.3.zip ..

Error C2375 'snprintf': redefinition; different linkage libctemplate ..\ctemplate-2.3\ctemplate-2.3\src\windows\port.h 104

Error C2440 'initializing': cannot convert from 'int (__cdecl *)(char *const ,const std::size_t,const char *const ,...)' to 'int' libctemplate ..\ctemplate-2.3\src\template_dictionary.cc 442

from ctemplate.

OlafvdSpek avatar OlafvdSpek commented on July 22, 2024

You might want to give vcpkg a try, it's great for other libs as well.

I'll see if a new release is necessary for VS2015.

from ctemplate.

Fxztam avatar Fxztam commented on July 22, 2024

Yes, vcpkg works fine !

Thank you, Olaf.

from ctemplate.

AliKet avatar AliKet commented on July 22, 2024

@scott323 I did the same using msys2 w/python
Thank you!

from ctemplate.

Related Issues (20)

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.