[fpc-pascal] Strange compile error

dhkblaszyk at zeelandnet.nl dhkblaszyk at zeelandnet.nl
Thu May 17 10:11:30 CEST 2012


  

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? 

TIA,
Darius

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120517/edbe5f0b/attachment.html>


More information about the fpc-pascal mailing list