Compiler errors!!!

The engine.
Post Reply
orzech
Posts: 51
Joined: Wed Aug 04, 2010 11:40 pm

Compiler errors!!!

Post by orzech »

Hi,

I've downloaded Linux x86 binaries (5th december 2011) and here's what I am getting when compiling the with JSmile:

../smile_learning_GreedyThickThinning.cpp: In function '_jobject* Java_smile_learning_GreedyThickThinning_getBkKnowledge(JNIEnv*, _jobject*)':
../smile_learning_GreedyThickThinning.cpp:62:5: error: 'class DSL_greedyThickThinning' has no member named 'forcedArcs'
../smile_learning_GreedyThickThinning.cpp:62:5: error: 'class DSL_greedyThickThinning' has no member named 'forbiddenArcs'
../smile_learning_GreedyThickThinning.cpp:62:5: error: 'class DSL_greedyThickThinning' has no member named 'tiers'
../smile_learning_GreedyThickThinning.cpp: In function 'void Java_smile_learning_GreedyThickThinning_setBkKnowledge(JNIEnv*, _jobject*, _jobject*)':
../smile_learning_GreedyThickThinning.cpp:69:36: error: 'class DSL_greedyThickThinning' has no member named 'forcedArcs'
../smile_learning_GreedyThickThinning.cpp:69:53: error: 'class DSL_greedyThickThinning' has no member named 'forbiddenArcs'
../smile_learning_GreedyThickThinning.cpp:69:73: error: 'class DSL_greedyThickThinning' has no member named 'tiers'
../smile_learning_PC.cpp: In function '_jobject* Java_smile_learning_PC_getBkKnowledge(JNIEnv*, _jobject*)':
../smile_learning_PC.cpp:46:5: error: 'class DSL_pc' has no member named 'forcedArcs'
../smile_learning_PC.cpp:46:5: error: 'class DSL_pc' has no member named 'forbiddenArcs'
../smile_learning_PC.cpp:46:5: error: 'class DSL_pc' has no member named 'tiers'
../smile_learning_PC.cpp: In function 'void Java_smile_learning_PC_setBkKnowledge(JNIEnv*, _jobject*, _jobject*)':
../smile_learning_PC.cpp:53:35: error: 'class DSL_pc' has no member named 'forcedArcs'
../smile_learning_PC.cpp:53:51: error: 'class DSL_pc' has no member named 'forbiddenArcs'
../smile_learning_PC.cpp:53:70: error: 'class DSL_pc' has no member named 'tiers'

I am afraid that the newest release of SMILE binaries is not compatible with JSmile or Smile.NET. :shock: :shock: :shock:
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Compiler errors!!!

Post by shooltz[BayesFusion] »

I've downloaded Linux x86 binaries (5th december 2011) and here's what I am getting when compiling the with JSmile:
Thanks for spotting the error. The jSMILE sources were out of sync, but this has just been fixed.
orzech
Posts: 51
Joined: Wed Aug 04, 2010 11:40 pm

Re: Compiler errors!!!

Post by orzech »

No problem. Perhaps you could use some continous integration tool like Jenkins (http://jenkins-ci.org/). Your project is large enough to automate building process.
Post Reply