find-all-facts gives "Missing function declaration for find-all-facts"

883 views
Skip to first unread message

jxc

unread,
Aug 15, 2008, 2:13:53 PM8/15/08
to CLIPSESG
Hello,
I am running clips V6.24 on a linux box and when I try to use find-all-
facts it gives this error ""Missing function declaration for find-all-
facts"

For example this command gives me the correct output on my clips V6.24
running on a windows box

Clips>(find-all-facts ((?f man)) TRUE)
<(Fact-1)(Fact-2)>

But on the Linux box it fails. Any idea what could be the problem.
Other general Clips calls works on the linux box, like create a
template, assert facts etc.

Thanks
jose

CLIPS Support

unread,
Aug 17, 2008, 6:31:17 PM8/17/08
to CLIPSESG
Enter the (options) command at the command prompt. You should see:

CLIPS> (options)
.
.
.
Deftemplate construct is ON
Fact-set queries are ON
Deffacts construct is ON
.
.
.
CLIPS>

If fact queries are off, change the compilation flags in setup.h to
enable them (DEFRULE_CONSTRUCT, DEFTEMPLATE_CONSTRUCT, and
FACT_SET_QUERIES must all be set to 1) and recompile CLIPS.

Neoflex

unread,
Aug 18, 2008, 5:10:03 AM8/18/08
to CLIP...@googlegroups.com
Hi,

I've find the same issue next week.
It seems that the deb package present on ubuntu repository has been compiled with the fact-set queries disabled.

Regards,

Valentin Grouès


2008/8/18 CLIPS Support <gdronl...@swbell.net>

Martin Machuca

unread,
Aug 19, 2008, 10:16:29 AM8/19/08
to CLIP...@googlegroups.com
Hi!

Anyone of you has documentation for sourceforge ClipsNet?

Thanks,
Martín.


____________________________________________________________________________________
Yahoo! MTV Blog & Rock &gt;¡Cuéntanos tu historia, inspira una canción y gánate un viaje a los Premios MTV! Participa aquí http://mtvla.yahoo.com/

CLIPS Support

unread,
Aug 19, 2008, 4:01:27 PM8/19/08
to CLIPSESG
Your best bet for getting documentation would be to click on the
project admin's name on CLIPSNet SourceForge page and send him an
email.

On Aug 19, 9:16 am, Martin Machuca <chucamas...@yahoo.com> wrote:
> Hi!
>
> Anyone of you has documentation for sourceforge ClipsNet?
>
> Thanks,
> Martín.
>
>       ___________________________________________________________________________ _________
> Yahoo! MTV Blog & Rock >¡Cuéntanos tu historia, inspira una canción y gánate un viaje a los Premios MTV! Participa aquíhttp://mtvla.yahoo.com/

ANURAG KUMAR

unread,
Nov 4, 2017, 1:10:06 PM11/4/17
to CLIPSESG
In ubuntu how to edit the options flag, i did not find any file named setup.h for clips. Could you please direct me for how to find this setup.h file where i can edit the flags.

CLIPS Support

unread,
Nov 4, 2017, 2:37:25 PM11/4/17
to CLIPSESG
Where did you get the source code? This is the appropriate location to get it: https://sourceforge.net/projects/clipsrules/files/CLIPS/6.30/

Danilo Jose Bonsignore

unread,
Jan 7, 2018, 6:33:03 PM1/7/18
to CLIPSESG
:) Same issue in wxClips. Have been using it since 95, that is, Win 3.1, and it lacks the whole functionality for set queries. Some files for these new versions must be really historic... I d like to see an Android compilation BTW, and maybe even some arduino version could be possible...
Reply all
Reply to author
Forward
0 new messages