matricks / bam

Bam is a fast and flexible build system. Bam uses Lua to describe the build process. It's takes its inspiration for the script files from scons. While scons focuses on being 100% correct when building, bam makes a few sacrifices to acquire fast full and incremental build times.
http://matricks.github.com/bam
Other
146 stars 47 forks source link

Unable to build Bam for Windows x64 #55

Closed Shahan closed 6 years ago

Shahan commented 10 years ago

I am using Windows 8.1 x64. Installed VS 2012 and VS 2013, Python 3.3. I am using the lasted bam sources. When I run make_win64_msvc.bat, the output is:

The specified configuration type is missing.  The tools for the
configuration might not be installed.
=== building bam ===

I edited this script, just hardcoded my VS path, script is here: http://pastebin.com/ZUZ7NqKq

Now bam builds without errors:

=== building bam ===
txt2c.c
cache.c
src/cache.c(280) : warning C4267: '=' : conversion from 'size_t' to 'unsigned long', possible loss of data
context.c
dep_cpp.c
src/dep_cpp.c(195) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data
src/dep_cpp.c(270) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
src/dep_cpp.c(302) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
src/dep_cpp.c(306) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
dep_search.c
src/dep_search.c(72) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
luafuncs.c
src/luafuncs.c(45) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
src/luafuncs.c(307) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
src/luafuncs.c(645) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
src/luafuncs.c(732) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
src/luafuncs.c(768) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
src/luafuncs.c(792) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
main.c
src/main.c(909) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
mem.c
node.c
src/node.c(19) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
src/node.c(167) : warning C4267: '=' : conversion from 'size_t' to 'unsigned short', possible loss of data
path.c
src/path.c(238) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
src/path.c(255) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
src/path.c(309) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
support.c
src/support.c(615) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
src/support.c(672) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
src/support.c(692) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
lapi.c
lauxlib.c
lbaselib.c
lcode.c
ldblib.c
ldebug.c
ldo.c
ldump.c
lfunc.c
lgc.c
src/lua/lgc.c(288) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
Compiling...
linit.c
liolib.c
llex.c
lmathlib.c
lmem.c
loadlib.c
lobject.c
lopcodes.c
loslib.c
lparser.c
lstate.c
lstring.c
lstrlib.c
ltable.c
src/lua/ltable.c(323) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
src/lua/ltable.c(376) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
ltablib.c
ltm.c
lundump.c
lvm.c
lzio.c
print.c
   Creating library bam.lib and object bam.exp
Generating code
Finished generating code
matricks commented 6 years ago

Old, should be fixed.