Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error C1083: Cannot open include file: 'nfsc/libnfs.h' - Problem with libnfs installation #51

Open
iliasmachairas opened this issue Mar 11, 2024 · 0 comments

Comments

@iliasmachairas
Copy link

iliasmachairas commented Mar 11, 2024

Hello,

I try to install libnfs package via anaconda by
pip install linbnfs

I got the following error:
fatal error C1083: Cannot open include file: 'nfsc/libnfs.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe' failed with exit code 2

the entire error is (in case it helps):
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\i_macheras\Anaconda3\envs\env_libnfs\include -IC:\Users\i_macheras\Anaconda3\envs\env_libnfs\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" /Tclibnfs/libnfs_wrap.c /Fobuild\temp.win-amd64-cpython-39\Release\libnfs/libnfs_wrap.obj
libnfs_wrap.c
libnfs/libnfs_wrap.c(2969): fatal error C1083: Cannot open include file: 'nfsc/libnfs.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

I also installed vs_BuildTools (2).exe since I got another error previously.

How could I handle the above-mentioned error?

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

No branches or pull requests

1 participant