Laex / Delphi-OpenCV

Project Delphi-OpenCV. Translation of OpenCV library header files in Delphi
501 stars 226 forks source link

I get messages with "impossible to solve unit "Winapi.windows"... #25

Closed PhilLu58 closed 10 years ago

PhilLu58 commented 10 years ago

Hello, I use Delphi XE2 pro. I follow the "how to install" but when I try to open a project like mentioned in: Examples of the use of video processing algorithms using VCL.Forms

\samples\VCLDemo\VCLDemo.groupproj Examples of using FFMPEG library header files are in the \samples\FFMpeg\FFMPEG.groupproj I get a message "impossible to solve unit" for all uses called??? System return: [MSBuild Erreur] "0" is an invalid value for the "DebugInformation" parameter of the "DCC" task. The "DebugInformation" parameter is of type "System.Boolean". :-/ I use the correct Delphi version 16. Thanks for your help ;-)
DonovanBoddy commented 10 years ago

I had the same problem when using XE2, I think its because the samples are probably built using XE5.

As far as I remember you can switch it to compile for Debug and it should work, otherwise just create a new project and copy the code,

Laex commented 10 years ago
  1. Close the project.
  2. Delete the file .dproj.
  3. Open the project file (.dproj) will be re-created.
  4. Set the parameters of the project as shown in the figure. pic001