Skip to content
This repository has been archived by the owner on Mar 15, 2019. It is now read-only.

Nedmalloc does not compile under Visual Studio 2017 #20

Open
Agadoul opened this issue Nov 10, 2017 · 2 comments
Open

Nedmalloc does not compile under Visual Studio 2017 #20

Agadoul opened this issue Nov 10, 2017 · 2 comments

Comments

@Agadoul
Copy link

Agadoul commented Nov 10, 2017

Hi,

It seems nedmalloc does not compile under Visual studio 2017.
Not sure yet who is the culprit (Visual studio? nedmalloc?)

1>------ Build started: Project: nedmalloc, Configuration: Debug Win32 ------
1>MSVCRTD.lib(guard_support.obj) : error LNK2005: _ReadNoFence already defined in nedmalloc.obj
1>MSVCRTD.lib(guard_support.obj) : error LNK2005: _ReadPointerNoFence already defined in nedmalloc.obj
1> Creating library C:/Walkinside/Sources/vs-solutions/nedmalloc/Debug/nedmalloc.lib and object C:/Walkinside/Sources/vs-solutions/nedmalloc/Debug/nedmalloc.exp
1>nedmalloc.obj : error LNK2019: unresolved external symbol __imp__MapViewOfFileNuma2@36 referenced in function _MapViewOfFile2
1>C:\Walkinside\Sources\vs-solutions\nedmalloc\Debug\nedmalloc.dll : fatal error LNK1120: 1 unresolved externals
1>Done building project "nedmalloc.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have investigated quite a bit without finding the reason.
I am trying to port nedmalloc to vcpkg but without support for vs 2017, this won 't be possible.

It compiles under Visual studio 2015.

Anyone has a clue, maybe i forgot a preprocessor definition ?

@ned14
Copy link
Owner

ned14 commented Nov 10, 2017

nedmalloc is pretty much EOL. Happy to accept patches, but unwilling to fix. You should use the system allocator on any recent OS instead.

@Agadoul
Copy link
Author

Agadoul commented Nov 10, 2017

OK. fair enough. I guess I will have to remove it eventually.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants