-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS2017 latest version, build ctemplate failed #135
Comments
Hi Junru, Hmm, let's take a look at the vcpkg issue. |
Hi Olaf, |
Could you post the full log files of vcpkg? |
Sure, Call Stack (most recent call first): Error: Building package ctemplate:x86-windows failed with: BUILD_FAILED Additionally, attach any relevant sections from the log files above. |
install-x86-windows-dbg-out.log |
This may be a poor interaction between Chinese language settings and python3; perhaps the generated files are being written out in a non-utf-8 encoding? @OlafvdSpek Here's how we're generating the files: |
@ras0219-msft Hi Robert! :D How'd you notice this issue? ;) I'm not sure what output encoding Python defaults too. Perhaps @Junru could attach the generated file? |
I keep an eye out for "vcpkg" mentions in issues :) |
@ras0219-msft Hi, I confirmed the files at
|
You need to manually generate these files, the command: cd src/htmlparser Note: The following commands must be executed in Linux. If you execute the command on Windows, the generated file will not be compiled. The reason is unknown. I think it may be related to the python version. |
Hi Alls,
I'm trying build the librairie ctemplate in Windows 10 Visio studio 2017, but some build problem block my:
Can not build ctemplate.dll
cannot open included file : "htmlparser/jsparser_fsm.h": No such file or directory file: jsparser.cc line : 56
cannot open included file : "htmlparser/htmlparser_fsm.h": No such file or directory file: htmlparser.cc line : 62
and I also tried ./vcpkg install ctemplate, not work also, the logs errors like these :
error C2065: 'htmlparser_states_external': undeclared identifier [D:\Download\vcpkg-master\buildtrees\ctemplate\x86-windows-dbg\libctemplate.vcxproj]
The text was updated successfully, but these errors were encountered: