uber-research / jpeg2dct

Other
257 stars 44 forks source link

fatal error: jpeglib.h: No such file or directory Windows10 #9

Open odb2 opened 4 years ago

odb2 commented 4 years ago

Installing via "pip install jpeg2dct --no-cache" on Windows 10 Python 3.7.7 gives error

`jpeg2dct/common/dctfromjpg.cc:16:21: fatal error: jpeglib.h: No such file or directory compilation terminated. error: command 'C:\Users\XXXX\Anaconda3\envs\Frequencydomain\Library\mingw-w64\bin\gcc.exe' failed with exit status 1

ERROR: Failed building wheel for jpeg2dct'

I have been stuck on this error for a while and keep running into it with installing jpeg2dct has this package been tested on Windows 10?

awk333 commented 2 years ago

Installing via "pip install jpeg2dct --no-cache" on Windows 10 Python 3.7.7 gives error

`jpeg2dct/common/dctfromjpg.cc:16:21: fatal error: jpeglib.h: No such file or directory

compilation terminated. error: command 'C:\Users\XXXX\Anaconda3\envs\Frequencydomain\Library\mingw-w64\bin\gcc.exe' failed with exit status 1 ERROR: Failed building wheel for jpeg2dct'

I have been stuck on this error for a while and keep running into it with installing jpeg2dct has this package been tested on Windows 10?

你解决了吗?我也有这个问题

zhaojinbiao commented 1 year ago

me too

odb2 commented 1 year ago

@zhaojinbiao you can't run this on Windows. You have to do it on Linux.

zhaojinbiao commented 1 year ago

@zhaojinbiao you can't run this on Windows. You have to do it on Linux.

Thank you, I am saddened that JPEG2dct provides installation methods in Windows.

odb2 commented 1 year ago

@zhaojinbiao you can't run this on Windows. You have to do it on Linux.

Thank you, I am saddened that JPEG2dct provides installation methods in Windows.

@zhaojinbiao now that I think about it you might be able to get it to work with WSL2. But I haven't tried it.

86236291 commented 9 months ago

@zhaojinbiao you can't run this on Windows. You have to do it on Linux.您无法在 Windows 上运行它。你必须在 Linux 上做到这一点。

Thank you, I am saddened that JPEG2dct provides installation methods in Windows.谢谢,我很遗憾 JPEG2dct 在 Windows 中提供了安装方法。

Hello,can you teach me how to install JPEG2dct in Windows?