From help-request at octave dot org Thu Jan 13 14:18:43 2005 Subject: problems running the embedded examples from the Octave repository From: Xavier Gonzalez To: help at octave dot org Date: Thu, 13 Jan 2005 15:21:41 -0500 ------=_Part_1323_13978461.1105647701452 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline I am trying to run the embed.cc, test.cpp example code. However, I cannot even get them to compile. It is clear to me that there is not octave/ directory containing the files in my machine. I do have octave, but I am guessing I do not have the rigth files. I just want to know what is it that I need to do to get these programs to compile and run. regards, --Xavier Gonzalez Computational Science, C.Ph.D. ICES at GMU P.S.: Attached you will find a file containing the error message from the attempt to compile the programs ------=_Part_1323_13978461.1105647701452 Content-Type: text/plain; name="message1.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="message1.txt" embed.cc:3:27: octave/config.h: No such file or directory embed.cc:6:20: octave.h: No such file or directory embed.cc:7:20: symtab.h: No such file or directory embed.cc:8:19: parse.h: No such file or directory embed.cc:9:25: unwind-prot.h: No such file or directory embed.cc:10:20: toplev.h: No such file or directory embed.cc:12:18: quit.h: No such file or directory embed.cc:13:23: variables.h: No such file or directory embed.cc:14:25: sighandlers.h: No such file or directory embed.cc:15:20: sysdep.h: No such file or directory embed.cc: In function `void octave_init(int, char**)': embed.cc:21: error: `octave_main' undeclared (first use this function) embed.cc:21: error: (Each undeclared identifier is reported only once for e= ach function it appears in.) embed.cc: In function `void octave_exit()': embed.cc:25: error: `do_octave_atexit' undeclared (first use this function) embed.cc: In function `void recover_from_exception()': embed.cc:31: error: `unwind_protect' has not been declared embed.cc:31: error: `run_all' undeclared (first use this function) embed.cc:32: error: `can_interrupt' undeclared (first use this function) embed.cc:33: error: `octave_interrupt_immediately' undeclared (first use th= is function) embed.cc:34: error: `octave_interrupt_state' undeclared (first use this fun= ction) embed.cc:35: error: `octave_allocation_error' undeclared (first use this fu= nction) embed.cc:36: error: `octave_restore_signal_mask' undeclared (first use this= function) embed.cc:37: error: `octave_catch_interrupts' undeclared (first use this fu= nction) embed.cc: In function `int octave_call(const char*)': embed.cc:44: error: `octave_save_signal_mask' undeclared (first use this fu= nction) embed.cc:45: error: `octave_set_current_context' undeclared (first use this= function) embed.cc:50: error: `unwind_protect' has not been declared embed.cc:50: error: `run_all' undeclared (first use this function) embed.cc:51: error: `raw_mode' undeclared (first use this function) embed.cc:53: error: `octave_restore_signal_mask' undeclared (first use this= function) embed.cc:57: error: `can_interrupt' undeclared (first use this function) embed.cc:58: error: `octave_catch_interrupts' undeclared (first use this fu= nction) embed.cc:59: error: `octave_initialized' undeclared (first use this functio= n) embed.cc:83: error: `curr_sym_tab' undeclared (first use this function) embed.cc:83: error: `top_level_sym_tab' undeclared (first use this function= ) embed.cc:84: error: `reset_error_handler' undeclared (first use this functi= on) embed.cc:85: error: `eval_string' undeclared (first use this function) embed.cc:87: error: `octave_interrupt_exception' has not been declared embed.cc:87: error: invalid catch parameter embed.cc:91: error: `error_state' undeclared (first use this function) embed.cc:87: error: `...' handler must be the last handler for its try bloc= k ------=_Part_1323_13978461.1105647701452-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------