How Do I Compile LNX (Linked Executable) Code for Xmath Primary Software: MATRIXxPrimary Software Version: 7.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I'm trying to compile some of the example files in the xmath\src\ directory. Why do I get the following linking error? myfun.obj : error LNK2001: unresolved external symbol _AllocateMatrix myfun.obj : error LNK2001: unresolved external symbol _XmathError myfun.obj : error LNK2001: unresolved external symbol _XmathMain myfun.exe : fatal error LNK1120: 3 unresolved externals Solution: These example files should be compiled using the makelnx.mk make file. The makelnx.bat file in the xmath\bin\ folder should assist you in the process. To learn more about LNX files view the "External Program Interface" in the MATRIXx help as well the section Building and Calling UCI and LNX in Chapter 9 External Program Interface of the Xmath Users Guide. Related Links: Attachments:
Report Date: 12/28/2004 Last Updated: 01/07/2005 Document ID: 3GRBMGNF |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
