2 related questions on building the rotor with my source files. I added
few of my own files to src/fjit folder; they can build and run well if I
call into them from the file in fjit folder (I tested it by calling from
fjit.cpp). As per my requirements however, files in core folder has to
communicate with my code in fjit folder. This is where I am running into
linker errors. I have following declarations in jitinterface.JITFunction

Type1 t1;
Type1 *t2=new Type1( );


Type 1 is defined in file Type1.cpp in fjit folder. 2 Error mesgs that I
get are error
LNK2019: unresolved external symbol "public: virtual __thiscall Type
1::....."

Are these errors because I have to link Type1.obj with the Core? If so,
how can I do it. Either way, please elaborate.

My second question is: since all my code is independent of code in fjit
folder anyway, what changes (and how) I have to do in “make” so that I can
keep all of my code in a separate folder under “src” and yet compile and
link it with Rotor in the usual way. Thanks in advance for clarifying….

Cheers
Chris

Reply via email to