Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

mxnet cpp-package example mlp_cpu.cpp does not compile MSVC 2019 and windows 10 #19861

@jbensabat

Description

@jbensabat

Hello
I managed to build mxnet libs and also the op.h file using the python script
trying to compile the file mlp_cpu.cpp I get errors of undefined functions

C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(62,5): error C3861: 'MXExecutorForward': identifier not found
1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(65,5): error C3861: 'MXExecutorOutputs': identifier not found
1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(87,7): error C3861: 'MXExecutorBackward': identifier not found
1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(89,7): error C3861: 'MXExecutorBackward': identifier not found
1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.h(103,17): error C3861: 'MXExecutorFree': identifier not found
1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.hpp(78,1): error C3861: 'MXExecutorBindEX': identifier not found
1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.hpp(89,3): error C3861: 'MXExecutorOutputs': identifier not found
1>C:\software\mxnet\cpp-package\include\mxnet-cpp\executor.hpp(97,3): error C3861: 'MXExecutorPrint': identifier not found

I searched for these funntions and they do not seem to exist in version 1.7.0
any help would be welcome
best
jac

Description

(A clear and concise description of what the bug is.)

Error Message

(Paste the complete error message. Please also include stack trace by setting environment variable DMLC_LOG_STACK_TRACE_DEPTH=100 before running your script.)

To Reproduce

(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)

Steps to reproduce

(Paste the commands you ran that produced the error.)

What have you tried to solve it?

Environment

We recommend using our script for collecting the diagnostic information with the following command
curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python3

Environment Information
# Paste the diagnose.py command output here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions