[fpc-pascal] Strange compile error

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


Second try. My previous email with attachement got blocked
probably. I will send the files now in two emails. Just put everything
together in one folder. 


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]


[1] mailto:dhkblaszyk at zeelandnet.nl
mailto:fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120517/3de211b7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: video.zip
Type: application/zip
Size: 2128 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120517/3de211b7/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenCV.zip
Type: application/zip
Size: 22478 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120517/3de211b7/attachment-0001.zip>

More information about the fpc-pascal mailing list