Next: , Previous: , Up: Compiling the Source Code   [Index]


A.4 Building the Executables

Now that you have done all necessary preparations, compilation is easy:

  1. Change into the smapi directory and type make -f MAKEFILENAME (replace MAKEFILENAME with the name of the makefile that you have selected in the previous step). This will generate a library, the name of which depends on the makefile you used. For instance libsmapiunx.a or smapiibo.lib.
  2. Change into the msged directory and type make -f MAKEFILENAME (again substituting the proper makefile name). This will genereate the executable, whose name depends on the makefile you used. For instance msgedp.exe or msged or msged.exe.
  3. If, on Unix, you get errors about unresolved symbols when linking the MsgEd TE executable, change into the Smapi directory and run ranlib smapiunx.a. Then change back to the Msged directory and try again.