Dear Gautam. On Wed, Aug 4, 2010 at 8:37 PM, Gautam Thaker <[email protected]> wrote: > I have a running oz script that I have developed and tested using the emacs > based development env. Now, however, I have to create a "a.out" of this > program so that it can be run w/o the emacs env. When I tried to do a > compile I get various errors for unintroduced symbols/modules/varibles. I > can get rid of "Browse" from from script, but i need to be able to do > "System.show", use "FD.distribute" and be able to do "SearchOne". > > ANy hints welcome.
You need to use the module import definition in your functor. You can read about it at http://www.mozart-oz.org/home/doc/apptut/node2.html#label3 > > Gautam > > > lake> ../mozart/bin/ozc pgm_test_1.oz > Mozart Compiler 1.4.0 (20080704) playing Oz 3 > > %%% feeding file pgm_test_1.oz > > %********************* binding analysis error ******************* > %** > %** variable Browse not introduced > %** > %** in file "./pgm_test_1.oz", line 84, column 4 > > %********************* binding analysis error ******************* > %** > %** variable FD not introduced > %** > %** in file "./pgm_test_1.oz", line 98, column 14 > > %********************* binding analysis error ******************* > %** > %** variable System not introduced > %** > %** in file "./pgm_test_1.oz", line 113, column 1 > > %********************* binding analysis error ******************* > %** > %** variable SearchOne not introduced > %** > %** in file "./pgm_test_1.oz", line 113, column 14 > %** ------------------ rejected (4 errors) > _________________________________________________________________________________ > mozart-users mailing list > [email protected] > http://www.mozart-oz.org/mailman/listinfo/mozart-users > -- Gustavo Andrés Gómez Farhat Webmaster y Laboratorista Departamento de Ciencias e Ingeniería de la Computación Pontificia Universidad Javeriana Cali _________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
