swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems compiling a simulation


From: Perrone Alessandro
Subject: Problems compiling a simulation
Date: Wed, 1 Jan 2003 16:22:22 +0100

Hi all
 I have a strange problem on compiling a simulation.
The error is
---
ObserverSwarm.o: In function `i_ActiveGrapherXY___I_Creating':
/cygdrive/c/apps/program/ObserverSwarm.m:258: undefined reference to `Creating'
ObserverSwarm.o: In function `i_ActiveGrapherXY___I_Using':
/cygdrive/c/apps/program/ObserverSwarm.m:307: undefined reference to `Using'
FunctionManager.o: In function `i_FunctionManager__createEnd':
/cygdrive/c/apps/program/FunctionManager.m:26: undefined reference to `Tcl_Creat
eInterp'
/cygdrive/c/apps/program/FunctionManager.m:36: undefined reference to `Tcl_LinkV
ar'
FunctionManager.o: In function `i_FunctionManager__addLinkForVariable_withName_o
bject_':
/cygdrive/c/apps/program/FunctionManager.m:50: undefined reference to `Tcl_LinkV
ar'
FunctionManager.o: In function `i_FunctionManager__applyToAgent_':
/cygdrive/c/apps/program/FunctionManager.m:74: undefined reference to `Tcl_EvalF
ile'
/cygdrive/c/apps/program/FunctionManager.m:75: undefined reference to `Tcl_GetSt
ringResult'
collect2: ld returned 1 exit status
make: *** [quadratic.exe] Error 1
--
Any hints?
The FunctionManager.m:, at line 26 there's the following line
interp = Tcl_CreateInterp();
in the line 36
Tcl_LinkVar(interp,(char *)[probe getProbedVariable],(char *)[probe probeRaw: template],TCL_LINK_DOUBLE);
in line 50
Tcl_LinkVar(interp,(char *)[probe getProbedVariable],(char *)[probe probeRaw: template],TCL_LINK_DOUBLE);
and in 74-75 lkines
  status      =Tcl_EvalFile(interp,"function.tcl");
  resultString=Tcl_GetStringResult(interp);
----
The strane thing is that it works on my linux box!!!
Any hints?
                                ALEX

                 ==================================
  Swarm-Support is for discussion of the technical details of the day
  to day usage of Swarm.  For list administration needs (esp.
  [un]subscribing), please send a message to <address@hidden>
  with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]