[fpc-pascal] Strange compile error

dhkblaszyk at zeelandnet.nl dhkblaszyk at zeelandnet.nl
Thu May 17 11:07:48 CEST 2012


  

Here's the last file. See my previous email. 

On 17 mei '12, Sven
Barth wrote: 

> On 17.05.2012 10:11, dhkblaszyk at zeelandnet.nl
[1]wrote:
> 
>> Hi, I have a simple application that uses glut and
opencv. However as soon as I add the opencv wrapper unit to the uses
clause I get: video.pp(10,1) Fatal: Syntax error, "UNIT" expected but
"PROGRAM" found The compiler does not recognize the main unit anymore. I
have searched the opencv.pas file but I could not find anything strange
there. Has anyone got an idea of what might be happening?
> 
> It would
help if you'd show us how your main program file looks like.
> 
>
Regards,
> Sven
> 
> _______________________________________________
>
fpc-pascal maillist - fpc-pascal at lists.freepascal.org [2]
>
http://lists.freepascal.org/mailman/listinfo/fpc-pascal [3]

 


Links:
------
[1] mailto:dhkblaszyk at zeelandnet.nl
[2]
mailto:fpc-pascal at lists.freepascal.org
[3]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120517/466ce5b0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ipl.zip
Type: application/zip
Size: 24144 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120517/466ce5b0/attachment.zip>


More information about the fpc-pascal mailing list