← Back to team overview

sikuli-driver team mailing list archive

[Bug 1337744] [NEW] [request] Windows: want to get Sikuli running with .NET using IKVM

 

Public bug reported:

Hi Raiman,

I have successfully installed sikuli and gotten it to work in Eclipse.
My goal is to be able to use sikuli in the .NET framework.  I used ikvm
to wrap sikuli-java into a dll file.  Then, when I attempt to use it in
my C# code, I can use screen.type("foo") without any problem.  However
when I attempt to use Sikuli with images I am running into an error.

[error] ResourceLoaderBasic: checkLibsDir: Fatal error 107: problem copying jawt.dll
File not found
[error] Terminating SikuliX after a fatal error(107)! Sorry, but it makes no sense to continue!

The code I am running has the exact functionality as the code in Java:
if (screen.exists(windowsStartButtonPattern, 0.8) != null)
{ stuff }

I know that Sikuli wasn't developed for .NET, but I am hoping you might
be able to tell me something about the way Sikuli works that would
explain why it attempts to copy dll files when using images, where it
attempts to put them, etc, and maybe even why the system is unable to
copy the file.

I have thoroughly explored a lot of the options concerning C# and Sikuli
including SikuliIntegrator and Sikuli4Net as well as free interop
services between Java and C#, and I think that ikvm is my best option.

While poking around I vaguely remember seeing something that may have
indicated that you guys are developing some sort of interface for .NET,
so I thought I would just ask you here if you are.

Thanks for your time,
Matt

** Affects: sikuli
     Importance: Medium
     Assignee: RaiMan (raimund-hocke)
         Status: In Progress

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.2.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1337744

Title:
  [request] Windows: want to get Sikuli running with .NET using IKVM

Status in Sikuli:
  In Progress

Bug description:
  Hi Raiman,

  I have successfully installed sikuli and gotten it to work in Eclipse.
  My goal is to be able to use sikuli in the .NET framework.  I used
  ikvm to wrap sikuli-java into a dll file.  Then, when I attempt to use
  it in my C# code, I can use screen.type("foo") without any problem.
  However when I attempt to use Sikuli with images I am running into an
  error.

  [error] ResourceLoaderBasic: checkLibsDir: Fatal error 107: problem copying jawt.dll
  File not found
  [error] Terminating SikuliX after a fatal error(107)! Sorry, but it makes no sense to continue!

  The code I am running has the exact functionality as the code in Java:
  if (screen.exists(windowsStartButtonPattern, 0.8) != null)
  { stuff }

  I know that Sikuli wasn't developed for .NET, but I am hoping you
  might be able to tell me something about the way Sikuli works that
  would explain why it attempts to copy dll files when using images,
  where it attempts to put them, etc, and maybe even why the system is
  unable to copy the file.

  I have thoroughly explored a lot of the options concerning C# and
  Sikuli including SikuliIntegrator and Sikuli4Net as well as free
  interop services between Java and C#, and I think that ikvm is my best
  option.

  While poking around I vaguely remember seeing something that may have
  indicated that you guys are developing some sort of interface for
  .NET, so I thought I would just ask you here if you are.

  Thanks for your time,
  Matt

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1337744/+subscriptions


Follow ups

References