Hi Prologers!
Can anyone see why I can't get pl2sql_example.pl to compile (I do have full permissions on the root directory)?
?- [pl2sql_example]. {Compiling /cygdrive/c/Program Files (x86)/CiaoDE/ciao/library/persdb_mysql/pl2sql.plERROR: (lns 240-247) Predicate sqlterm/1 undefined in source ERROR: (lns 694-701) Predicate translate_functor/2 undefined in source ERROR: (lns 706-713) Predicate translate_arguments/5 undefined in source ERROR: (lns 721-731) Predicate translate_argument/5 undefined in source ERROR: (lns 748-751) Predicate lookup/3 undefined in source ERROR: (lns 760-763) Predicate add_to_dictionary/6 undefined in source ERROR: (lns 1017-1025) Predicate sqlterm/1 undefined in source ERROR: Aborted module compilation } yes
And, just in case it was something stupid, I treid something else but with same result:
?- [getting_user_table]. {Reading /cygdrive/c/Program Files (x86)/CiaoDE/ciao/library/persdb_mysql/examples/small_examples/user_and_password.plWARNING: (lns 1-1) Source used as module without module declaration {Including /cygdrive/c/Program Files (x86)/CiaoDE/ciao/library/persdb_mysql/examples/user_and_password.plERROR: (lns 1-1) Declaration module/3 not starting file } } {Compiling /cygdrive/c/Program Files (x86)/CiaoDE/ciao/library/persdb_mysql/examples/small_examples/getting_user_table.plERROR: (lns 7-12) Predicate mysql_host_and_port/1 undefined in source ERROR: (lns 7-12) Predicate mysql_user/1 undefined in source ERROR: (lns 7-12) Predicate mysql_password/1 undefined in source ERROR: Aborted module compilation } {Compiling /cygdrive/c/Program Files (x86)/CiaoDE/ciao/library/persdb_mysql/pl2sql.plERROR: (lns 240-247) Predicate sqlterm/1 undefined in source ERROR: (lns 694-701) Predicate translate_functor/2 undefined in source ERROR: (lns 706-713) Predicate translate_arguments/5 undefined in source ERROR: (lns 721-731) Predicate translate_argument/5 undefined in source ERROR: (lns 748-751) Predicate lookup/3 undefined in source ERROR: (lns 760-763) Predicate add_to_dictionary/6 undefined in source ERROR: (lns 1017-1025) Predicate sqlterm/1 undefined in source ERROR: Aborted module compilation } {Dynamic link failed} yes
Thanks!
Chris.