Forum > DirectX
DSPack for Lazarus - Win32 DirectShow Multimedia components
Andru:
--- Quote ---I'm using Lazarus 0.9.30 and FPC 2.4.2 on Windows XP.
--- End quote ---
This version of FPC missing constref, try to use FPC 2.6.0
Riccardo Giuliani:
Upgraded to FPC 2.6.0, and the compiler goes well... until it stops due to this error
--- Code: ---C:\lazarus\DSPack-Lazarus-8584331\BaseFilterEditor.pas(887,16) Error: Identifier not found "BrushCopy"
--- End code ---
related to
--- Code: ---BrushCopy(Bounds(Rect.Left + Offset, Rect.Top, Bitmap.Width, Bitmap.Height),
Bitmap, Bounds(0, 0, Bitmap.Width, Bitmap.Height), clOlive); {render bitmap}
--- End code ---
inside procedure TFormBaseFilter.PinsDrawItem.
I looked for explanations on internet, and found that this problem seems quite recent, from bugtracker http://62.166.198.202/view.php?id=8047; and here the status is set to resolved.
Don't know what to do. Anybody knows?
Thanks
BigChimp:
Haven't looked at the bug, but instead of FPC 2.6.0, you could use FPC 2.6.1 (the fixes 2.6 branch), which contain stability updates to 2.6.0.
Also, check the bug report for which version it was fixed. It may be for 2.7 (current trunk/development version). A fix may have been backported to (implemented in) FPC 2.6.1, but not to 2.6.0 as that release will not be changed.
Riccardo Giuliani:
You're right, the fix is just for Lazarus 0.9.31 SVN, while I'm actually using 0.9.30.4.
This even if my SVN revision is 35940, and the fixed one is 35134.
Anyway, I must try the 0.9.31 to be sure.
Thanks again.
Riccardo Giuliani:
Ok
With snapshot Lazarus-1.1-37738-fpc-2.6.1-20120623-win32.exe dspack has been finally installed; not tested if it works, but now controls are available.
Navigation
[0] Message Index
[#] Next page
[*] Previous page