MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

mathlink compile problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28104] mathlink compile problem
  • From: Lawrence Walker <lwalker701 at earthlink.net>
  • Date: Fri, 30 Mar 2001 04:13:03 -0500 (EST)
  • Organization: Morgan State University: COMSARE
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I am using Microsoft Visual C++ 6.0 under NT 4.0 to compile
a mathlink program.  I first attempted compiling using
"Win32 Application" per the Development Kit documentation.
I get the following error.


     "mpreping..."
     Compiling...
     search.c
     searchtm.c
     Linking...
     LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved
     external symbol _WinMain@16
     Debug/Search.exe : fatal error LNK1120: 1
     unresolved externals
     Error executing link.exe.

     Search.exe - 2 error(s), 0 warning(s)

However, when I compile using "Win32 Console Application"
everything compiles ok.  This means the console will pop up
when I link to the mathlink program.  Does anyone know how
to get Mathlink to work using the "Win32 Application"
setting?

Thanks,
Lawrence


--


------------------------------------------------------------

     (\___/)     The fear of the LORD is the beginning of
     (o\ /o)     wisdom: a good understanding have all they
    /|:.V.:|\    that do his commandments: his praise
    \\::::://    endureth for ever.              Psa 111:10
-----`"" ""`------------------------------------------------

        Lawrence A. Walker Jr., M.Eng./Ph.D. Candidate
                   Morgan State University
          Clarence M. Mitchell School of Engineering
 COMSARE (Center Of Microwave/Satellite And RF Engineering)
           Rm: 306-Schafer     Phone: (443)885-1453
------------------------------------------------------------




  • Prev by Date: Re: Problem to evaluate cube root of a negative cube nember where a real value is expected
  • Next by Date: Re: Unconventional Max[] behavior
  • Previous by thread: Re: pde's
  • Next by thread: Compiler for MathLink