-
Notifications
You must be signed in to change notification settings - Fork 35
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
Build error: C2109 #1
Comments
I just built the current version and it worked fine here unfortunately. When you say you executed "msbuild.exe build.proj" using Visual Studio 2013 do you mean the VS command prompt (e.g. "Developer Command Prompt for VS2013")? Also might be worth directly opening the sln in VS 2013 and seeing if you get the same errors. |
Charles, thanks for getting back to me. Yes, I am using the "Developer C:\Program Files (x86)\Microsoft Visual Studio 12.0>c: src\pngwrite.c(526): error C2065: 'png_libpng_ver' : undeclared identifier Build FAILED. On Mon, Mar 3, 2014 at 8:03 AM, Charles Weld notifications@github.comwrote:
|
Ok, i'll have another look tomorrow maybe I missed something. By the way
|
OK, I've just run through an another build this time after resetting the directory (git clean -d) and it still built fine. On closer inspection of your build log I did notice the line, which may indicate an error though not sure:
Also I'm assuming that building the solution in VS 2013 produces the same errors. Otherwise I'm completely stumped, Sorry. |
I am getting even more errors. :(
libpng is always involved. I just wanted to let you know. I will let you know when I know more. |
The latest Tesseract 3.04 source can no longer be compiled with VS2013 due to recent updates and Leptonica 1.71 upgrade. Can you please update the VS2013 project? |
I'll see what I can do, can't give any time lines though.
|
Thanks Charles and Paul. The patch worked good. Compiled Tesseract 3.04 beta is running well. |
Version: both current (Mar 2, 2014) and tesseract-vs2012-1.70
When executing "msbuild.exe build.proj" using Visual Studio 2013, I encounter the following errors:
src\pngread.c(109): error C2065: 'png_libpng_ver' : undeclared identifier [tesseract-vs2012-1.70\libpng\libpng.vcxproj]
src\pngread.c(109): error C2109: subscript requires array or pointer type [tesseract-vs2012-1.70\libpng\libpng.vcxproj]
src\pngread.c(111): error C2065: 'png_libpng_ver' : undeclared identifier [tesseract-vs2012-1.70\libpng\libpng.vcxproj]
src\pngread.c(111): error C2109: subscript requires array or pointer type [tesseract-vs2012-1.70\libpng\libpng.vcxproj]
...
It seems that version information is missing.
The text was updated successfully, but these errors were encountered: