Search found 7 matches

by Quirijn
Wed Aug 18, 2010 1:30 pm
Forum: SMILE
Topic: How do I define a NoisyMAX gate/node?
Replies: 15
Views: 27361

Thanks for the help. I still don't get a few things. I define the nodes as you said:

theNet.AddNode(NOISY_MAX,"Success");

// setting number (and name) of outcomes
DSL_idArray someNames;
someNames.Add("Success");
someNames.Add("Failure");
theNet.GetNode(success)->Definition ...
by Quirijn
Tue Aug 17, 2010 2:12 pm
Forum: SMILE
Topic: How do I define a NoisyMAX gate/node?
Replies: 15
Views: 27361

How do I define a NoisyMAX gate/node?

I've been using the SMILE library for a while in a program and I must say that everything works great. The API provided works really well. The next thing I want to do is add functionality for Noisy gates in my program (to use noisyMAX to model common cause failures in aircraft systems). I was ...
by Quirijn
Mon May 10, 2010 3:05 pm
Forum: SMILE
Topic: Problem compiling SMILE with GCC on Windows
Replies: 5
Views: 10413

I managed to get it working! The problem was that I was using the TDM MinGW version of GCC. They use SJLJ Unwinding standard. To get SMILE working however, you have to use Dwarf-2 Unwinding.

Hopefully this can save someone a lot of time when he tries to compile the library on windows with GCC.
by Quirijn
Mon May 10, 2010 9:06 am
Forum: SMILE
Topic: Problem compiling SMILE with GCC on Windows
Replies: 5
Views: 10413

By the way: Using GCC 4.0.0 or 4.4.1 does not make any difference and gives the same compiler errors.
by Quirijn
Mon May 10, 2010 9:02 am
Forum: SMILE
Topic: Problem compiling SMILE with GCC on Windows
Replies: 5
Views: 10413

D:\qlandman>d:\qlandman\mingw\bin\gcc -DNDEBUG -static smilebin.cpp -o try -LD:\qlandman\smilebin -ID:\qlandman\smilebin -lsmile -lstdc++

It still gives me problems with linking the library. I get errors for "_Unwind_resume" and "gxx_personality_v0". The -DNDEBUG option does not make any ...
by Quirijn
Tue May 04, 2010 9:11 am
Forum: SMILE
Topic: Problem compiling SMILE with GCC on Windows
Replies: 5
Views: 10413

A small update. I changed my GCC version to 4.4.0 to make it compatible with the compiled libsmile.a file.

I use the following command:
H:\>d:\qlandman\mingw\bin\g++ -O3 -static smilebin.cpp -o try -LD:\qlandman\smilebin -ID:\qlandman\smilebin -lsmile

this gives me errors:


D:/qlandman ...
by Quirijn
Sun May 02, 2010 7:05 pm
Forum: SMILE
Topic: Problem compiling SMILE with GCC on Windows
Replies: 5
Views: 10413

Problem compiling SMILE with GCC on Windows

I am having trouble compiling the tutorial code with GCC on windows. I tried to compile the code with Visual C++ 2008 and the VC 9.0 SP1 library and that gives no problem. However I need to use GCC for compilation.

My GCC version is:
gcc (TDM-2 mingw32) 4.4.1

I first got the error:
c:\Bayes ...