emeryberger / Hoard

The Hoard Memory Allocator: A Fast, Scalable, and Memory-efficient Malloc for Linux, Windows, and Mac.
http://www.hoard.org
Apache License 2.0
1.1k stars 128 forks source link

Nmake error #31

Closed Matt-Is-Confused closed 7 years ago

Matt-Is-Confused commented 7 years ago
\Hoard\src>nmake

Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation.  All rights reserved.

GNUmakefile Heap-Layers include Makefile README.md source test test.sh
This Makefile is for Windows only. For other systems, use gmake.
GNUmakefile Heap-Layers include Makefile README.md source test test.sh
        git submodule update --init --checkout --recursive
        cl /I. /Iinclude /Iinclude/util /Iinclude/hoard /Iinclude/superblocks /IHeap-Layers /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_WINRT_DLL" /D "_UNICODE" /D "UNICODE" /Zi /Ox /MD /nologo /W1 /WX- /Ox /Oi /Oy- /Gm- /EHsc /MD /GS /Gy /Zc:wchar_t /Zc:forScope /Gd /errorReport:queue "source\libhoard.cpp" "Heap-Layers\wrappers\winwrapper.cpp" "source\wintls.cpp" /GL /link /DLL /subsystem:console /OUT:libhoard.dll
libhoard.cpp
\Hoard\src\Heap-Layers\heaplayers.h(41): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
winwrapper.cpp
Heap-Layers\wrappers\winwrapper.cpp(38): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
wintls.cpp
source\wintls.cpp(37): fatal error C1083: Cannot open include file: 'new': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.EXE"' : return code '0x2'
Stop.

Not very sure where to go with this. Any help would be appreciated. Another question while I'm at it how effective is hoard with games?

emeryberger commented 7 years ago

You do not appear to have the full actual development tools installed. Try Visual Studio Community Edition.

If the game engine uses custom allocators, this will prevent Hoard from optimizing them. Which games were you considering?

Matt-Is-Confused commented 7 years ago

I am creating my own engine. I am not really sure as to how to properly use hoard for it though.

emeryberger commented 7 years ago

Were you able to resolve the nmake issue?

Matt-Is-Confused commented 7 years ago

yes. Thank you for your help.