Compilation error

Help me! I'm trying to compile a MDL has been updated to run on version V8i, however during the compilation of the following messages appear.

C:\ARQUIV~1\Bentley\MICROS~2\MICROS~1>bmake p:\MassaV8i_Rev_20.05.2009_PG\MassaV 8i_Rev_20.05.2009_PG\massa.mke

Bentley Systems Make Utility. Version 08.11.05.03, Oct 14 2008 Thu May 21 11:15:20 2009

PolicyFile = C:\ARQUIV~1\Bentley\MICROS~2\MICROS~1\mdl\include\AssertPublicMicr oStationPolicy.mki

BMAKE: Error - Attempting to build with VS 2005 but location is undefined!
BMAKE: call trace


line: 120, C:\Arquivos de Programas\Bentley\MicroStation V8i\MicroStation/m dl/include/AssertToolSet.mki
line: 109, C:\Arquivos de Programas\Bentley\MicroStation V8i\MicroStation/m dl/include/ConfigurePolicy.mki
line: 28, C:\Arquivos de Programas\Bentley\MicroStation V8i\MicroStation/m dl/include/mdl.mki
line: 29, p:\MassaV8i_Rev_20.05.2009_PG\MassaV8i_Rev_20.05.2009_PG\massa.mke
Thu May 21 11:15:25 2009, elapsed time: 0:05


Anyone know what might be happening? I am not expert in MDL but I am still trying to learn.

Tks
Parents
  • Rogrigo:
    BMAKE: Error - Attempting to build with VS 2005 but location is undefined!

    The make file (bmake) is looking for Visual Studio 2005. It can't find it on your computer.

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

  • there is a way to make it look to the VS 2008?
    Tks
  • Try this command line switch -dBUILD_USING_VS2008. 

    HTH,

    Mark Anderson [Bentley]

     

  • Help me

    I'm trying to compile an older version for V8i MDL, however after several correct errors, running the bmake, for the compilation and says the file not found "Massa.mo" in the "basedir" however this file already exists, which can be happening? Follow my .MKE

    #-----------------------------------------------------------------------------
    #
    # MDL Make File
    #
    #-----------------------------------------------------------------------------

    #-----------------------------------------------------------------------------
    # Constantes
    #-----------------------------------------------------------------------------

    #####PG baseDir = ./
    baseDir = C:\MassaV8i\

    Objs = $(baseDir)Massa.mo \
    $(mdlLibs)ditemlib.dlo \
    $(mdlLibs)mdllib.dlo \
    $(mdlLibs)rdbmslib.dlo \
    $(mdlLibs)BentleyDgn.dlo \
    $(mdlLibs)toolsubs.dlo

    Rscs = $(baseDir)mensagem.rsc \
    $(baseDir)comando.rsc \
    $(baseDir)palette.rsc \
    $(baseDir)MASSA.mp


    #####PG %include C:/Program Files/Bentley/MicroStation V8i/MicroStation/mdl/include/mdl.mki

    %include $(MS)/mdl/include/mdl.mki

    #-----------------------------------------------------------------------------
    # Compilacao
    #-----------------------------------------------------------------------------
    $(baseDir)\mensagem.rsc : $(baseDir)\mensagem.r

    $(baseDir)\comando.rsc : $(baseDir)\comando.r

    $(baseDir)\comando.h : $(baseDir)\comando.r

    $(baseDir)\palette.rsc : $(baseDir)\palette.r

    $(baseDir)\Massa.mo : $(baseDir)\Massa.mc

    $(baseDir)\MASSA.mp : $(Objs)
    $(msg)
    > $(baseDir)\make.opt
    $(linkOpts)
    -a$@
    $(Objs)
    <
    $(MLinkCmd) @$(baseDir)\make.opt
    ~time


    $(baseDir)\MASSA.ma : $(Rscs)
    $(msg)
    > $(baseDir)\temp.cmd
    -o$@
    $(Rscs)
    <
    $(RLibCmd) @$(baseDir)\temp.cmd
    ~time


    Thanks
  • Make File Syntax

    Rodrigo:
    
    #####PG baseDir = ./
    baseDir = C:\MassaV8i\
    Objs = $(baseDir)Massa.mo \
    $(mdlLibs)ditemlib.dlo \
    $(mdlLibs)mdllib.dlo \
    $(mdlLibs)rdbmslib.dlo \
    $(mdlLibs)BentleyDgn.dlo \
    $(mdlLibs)toolsubs.dlo
    
    

    Make (*.mke, *.mki) files evolved in the UNIX era. The backslash character (\) is a line-continuation character. You can see its use in the line Objs = $(baseDir)Massa.mo \: each of the subsequent lines is concatenated with the first, so the object list is in reality:

    Objs = $(baseDir)Massa.mo $(mdlLibs)ditemlib.dlo $(mdlLibs)mdllib.dlo $(mdlLibs)rdbmslib.dlo $(mdlLibs)BentleyDgn.dlo $(mdlLibs)toolsubs.dlo

    The folder separator is the forward-slash (/). It is used correctly in the line you have commented #####PG baseDir = ./, but your baseDir assignment is not correct. Try:

    
    baseDir = C:/MassaV8i/
    
    

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

Reply
  • Make File Syntax

    Rodrigo:
    
    #####PG baseDir = ./
    baseDir = C:\MassaV8i\
    Objs = $(baseDir)Massa.mo \
    $(mdlLibs)ditemlib.dlo \
    $(mdlLibs)mdllib.dlo \
    $(mdlLibs)rdbmslib.dlo \
    $(mdlLibs)BentleyDgn.dlo \
    $(mdlLibs)toolsubs.dlo
    
    

    Make (*.mke, *.mki) files evolved in the UNIX era. The backslash character (\) is a line-continuation character. You can see its use in the line Objs = $(baseDir)Massa.mo \: each of the subsequent lines is concatenated with the first, so the object list is in reality:

    Objs = $(baseDir)Massa.mo $(mdlLibs)ditemlib.dlo $(mdlLibs)mdllib.dlo $(mdlLibs)rdbmslib.dlo $(mdlLibs)BentleyDgn.dlo $(mdlLibs)toolsubs.dlo

    The folder separator is the forward-slash (/). It is used correctly in the line you have commented #####PG baseDir = ./, but your baseDir assignment is not correct. Try:

    
    baseDir = C:/MassaV8i/
    
    

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

Children