RC3: Build Sikuli native code --- no longer supported

Asked by heri

Hello,

Sorry if my questions are already posted but I haven't found answers in different post I have looked for.
I have tried to build sikuli-script source code, so I have followed build-win32.txt file for that.

I generate makefiles with Cmake :
#cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Release ..
But when I build sikuli-script with nmake :
#nmake

First error :
I have an error with VNCNatice.dir : include problem with rfb\rfbclient.h cannot found
I wanted to build my sikuli-script so I have commented all lines concerned about VNCNative and resolve this problem later. So my build seems ok. I have a sikuli-script.jar

Second error:
I put this sikuli-script.jar in my Java Code. Then, I have a second error like :
java.io.IOException: Unable to find library META-INF/lib/Win32Util.dll on classpath

with a simple main using #Screen s = new Screen();

I have checked sikuli's script (initial .jar) and my sikuli-script so I see that the difference is the path :
- META-INF\lib\Win32Util.dll (initial .jar)
- META-INF\lib\Debug\Win32Util.dll (my build .jar)

Please can you tell me if you have idea to fix my errors.

Thank you so much.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

sorry, but RC3 is no longer supported with respect to system specific topics like build from source.

Have a look at the followup: http://sikulix.com

Revision history for this message
heri (heritiana-r) said :
#2

Thank you for your answer.

So, please where can I find source code which still supported ?

Thank you

Revision history for this message
heri (heritiana-r) said :
#3

Thank you for your answer.

So, please where can I find source code which still supported ?

Thank you

Revision history for this message
RaiMan (raimund-hocke) said :
#4

Had a look at the link ??????????????????

Revision history for this message
heri (heritiana-r) said :
#5

Thank you for your answer.

So, please where can I find source code which still supported ?

Thank you

Revision history for this message
heri (heritiana-r) said :
#6

Yes, I have looked but there are .jar file not a link like here : https://github.com/sikuli/sikuli where code source can be downloaded

Sorry, I'm a novice ... if my question seems idiot :$

Revision history for this message
RaiMan (raimund-hocke) said :
#7

So if you are a novice, why are you looking for source code and not for ready to use packages?

No need to build anything from sources.

I have to admit: the link to the sources is somewhat "hidden" (but at the top is a ->GitHub link that I will rename to Sources ;-) and further down there are some "how to contribute …" information as well)

https://github.com/RaiMan/SikuliX-2014

Revision history for this message
heri (heritiana-r) said :
#8

Actually, I'm an intern and my task aims to have information about using opencv in Sikuli maybe in order to approve opencv working in sikuli for choosing well target.

So I thought If I need to understand working's Sikuli and using opencv I have to read all documentations about but If I need modify or test to understant working I have to build source code. I hope I'm clear.

As I understand, opencv using is a native code so I have made a project for Java code with sikuli-script.jar then I have tried to build native code (in the old version which not supported).

That's the context of my issue.

Revision history for this message
RaiMan (raimund-hocke) said :
#9

When using Java, then there is no need with current OpenCV, to step down to the native code level, since recent OpenCV provides a Java layer and library.

For version 2 I plan to completely get rid of native code and I have already implemented (switched off currently) most of the OpenCV stuff in Java (classes ImageFinder and ImageFind).

The original OpenCV C++ wrapper from RC3 is (nearly) still the same in version 1.1.0.

The sources and build information for the C++ stuff is available in
StuffContainer/LibsBuild
... for Windows it is very complex and tricky.

... but believe me: the sources are a mess (and I am always grateful, that is still works ;-)

For Linux the setup is able to build the VisionProxy on the run, if the prereqs are fulfilled.

Recommendation: If you really want to make any tests or approvements, you should really use the latest 1.1.0

Revision history for this message
heri (heritiana-r) said :
#10

Hi !

Thank you for your explanation.
Just one question, I think I read 1.0.1version is the latest stable version but you advice to take 1.1.0 ?

Revision history for this message
RaiMan (raimund-hocke) said :
#11

--- 1.0.1 stable ...
... in the sense, that there will not be anymore updates or fixes for this version.

--- 1.1.0 is currently in state pre final ...
... means stable about features, but still some bugs to fix.

For you especially on Windows I recommend 1.1.0

Can you help with this problem?

Provide an answer of your own, or ask heri for more information if necessary.

To post a message you must log in.