undeclared identifier 'uint' type while compling the latest openalpr on windows

967 views
Skip to first unread message

Levin Jian

unread,
Oct 21, 2014, 4:30:13 AM10/21/14
to open...@googlegroups.com
Hello,

I encountered below error while compiling the latest openalpr with visual 2013 on windows. From I can see, it seems that it's linking to opencv include files correctly. Can anyone help see what's the problem? Thanks.

error C2061: syntax error : identifier 'uint'

Please see attachment for the compile error screenshot.


Regards,
Levin
uint error.jpg

Matt

unread,
Oct 21, 2014, 5:59:14 PM10/21/14
to open...@googlegroups.com
The bleeding edge of OpenALPR source code may not work with other environments.  CI and my dev environment are both Linux.  It's usually right before releases that I test on Windows and make the necessary fixes.  So, if you pull the v1.2.0 tag and compile that, you should be able to get it compiled.  

Otherwise, you can have a shot at fixing the platform issues.  That particular issue can probably be fixed by adding something like:
#define uint unsigned int

Levin Jian

unread,
Oct 22, 2014, 5:16:13 AM10/22/14
to open...@googlegroups.com
1. Yes, the released V1.2.0 version works fine. I was albe to compile it in VS2013, build the alpr exe, and have a try on the sample plate image in the github main page, and it outputs a series of possible plate number as it should

2. uint identifier is probably a compiler discrepency issue as Matt indicated.

3. While trial running the alpr, two minor issues poped up, I will report/discuss it in another thread.

Thank you, Matt
Reply all
Reply to author
Forward
0 new messages