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

Nedmalloc does not compile under Visual Studio 2017 #20

Open
@Agadoul

Description

@Agadoul

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions