[M3devel] Problem building on Win7

Jay K jay.krell at cornell.edu
Sat May 31 18:47:34 CEST 2014


delayimp.lib comes with Visual C++. We could without it though.
i.e. remove it and all the:
-delayload:wsock32.dll
-delayload:advapi32.dll
-delayload:gdi32.dll
-delayload:netapi32.dll
-delayload:user32.dll
-delayload:comctl32.dll
 
will work, albeit with extra .dll loads.

- Jay
 
Date: Sat, 31 May 2014 22:05:49 +0800
From: bruce.axtens at gmail.com
To: m3devel at elegosoft.com
Subject: [M3devel] Problem building on Win7


  
    
  
  
    G'day everyone

    
      
         

          I downloaded cm3-bin-core-NT386-5.8.6-REL.tgz and ran
          cminstall.exe. I then changed directory to
          c:\cm3\examples\hello\src and tried to build the example, viz

          C:\cm3\examples\hello\src>cm3

                --- building in ..\NT386 ---

                

                new source -> compiling Hello.m3

                 -> linking hello.exe

                "C:\cm3\bin/config\NT386.common", line 969: quake
                runtime error: link failed, see
                C:\cm3\examples\hello\NT386\hello.lst for more
                information

                

                

                --procedure--  -line-  -file---

                error              --  <builtin>

                m3_link           969  C:\cm3\bin/config\NT386.common

                program            --  <builtin>

                include_dir        27 
                C:\cm3\examples\hello\src\m3makefile

                                    4 
                C:\cm3\examples\hello\NT386\m3make.args

                

                

                Fatal Error: procedure "m3_link" defined in
                "C:\cm3\bin\cm3.cfg" failed.

                

                

                C:\cm3\examples\hello\src>type ..\NT386\hello.lst

                Microsoft (R) Incremental Linker Version 10.00.40219.01

                Copyright (C) Microsoft Corporation.  All rights
                reserved.

                

                -out:hello.exe

                -subsystem:console

                -entry:mainCRTStartup

                -nodefaultlib

                -debug

                -incremental:no

                -opt:ref

                -delayload:wsock32.dll

                -delayload:advapi32.dll

                -delayload:gdi32.dll

                -delayload:netapi32.dll

                -delayload:user32.dll

                -delayload:comctl32.dll

                delayimp.lib

                _m3main.obj

                Hello.mo

                C:\cm3\pkg\libm3\NT386\m3.lib

                C:\cm3\pkg\m3core\NT386\m3core.lib

                winspool.lib

                comctl32.lib

                wsock32.lib

                comdlg32.lib

                netapi32.lib

                gdi32.lib

                user32.lib

                advapi32.lib

                kernel32.lib

                msvcrt.lib

                C:\cm3\bin\..\lib\hand.obj

                LINK : fatal error LNK1181: cannot open input file
                'delayimp.lib'

            

          
          delayimp.lib is nowhere to be found in the c:\cm3 tree. So I
          downloaded the CVS tree in the expectation that I'd find it in
          there, but It's NOT there. 

          

          Where do I go from here?

          

          Kind regards,

          Bruce M. Axtens

          

        
      
      

     		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20140531/d8852449/attachment-0002.html>


More information about the M3devel mailing list