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
Try this command line switch -dBUILD_USING_VS2008.
HTH,
Mark Anderson [Bentley]
mark anderson [Bentley]
Visit me at https://communities.bentley.com/communities/other_communities/bentley_innovation/default.aspx
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
#####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/
Here are a couple of things I would look at doing. First if you are in our dev shell and building the app using BMAKE from the directory where the source code is at try the command BMAKE -dNO_COMPILERS_MKI -dBUILD_USING_NoToolset . This will stop us from trying to find a native code compiler (looks like you are not building a dll). Next in the make file I would change the baseDir macro to
baseDir = $(_MakeFilePath)
This will allow us to sub the location of the make file to the baseDir.