Skip to content

Commit

Permalink
Fix to OpenCV example.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomspilman committed Jun 28, 2013
1 parent d7ff6ae commit 79aa2d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/OpenCV/OpenCV.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ namespace CppSharp
{
class OpenCV : ILibrary
{
public void Setup(DriverOptions options)
public void Setup(Driver driver)
{
var options = driver.Options;
options.LibraryName = "OpenCV";
options.Headers.Add("opencv2/core/core_c.h");
options.Headers.Add("opencv2/core/types_c.h");
Expand Down Expand Up @@ -52,7 +53,7 @@ static class Program
{
public static void Main(string[] args)
{
Driver.Run(new OpenCV());
ConsoleDriver.Run(new OpenCV());
}
}
}
Expand Down

0 comments on commit 79aa2d0

Please sign in to comment.