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

Unable to compile stitch.sln in windows 10 #67

Open
ritvik03 opened this issue Jun 9, 2018 · 21 comments
Open

Unable to compile stitch.sln in windows 10 #67

ritvik03 opened this issue Jun 9, 2018 · 21 comments

Comments

@ritvik03
Copy link

ritvik03 commented Jun 9, 2018

We are working on windows 10 32 bit. We generated solution file (.sln) through Cmake. We commented out Eigen data from CmakeLists.txt. Now solution of stitch .sln is not working. We manually add the include path of eigen3. But there are multiple following errors.

Selecting Windows SDK version to target Windows 10.0.17134.
Standard libraries to link to explicitly: none
Found unsuitable Qt version "" from NOTFOUND
A library with BLAS API not found. Please specify library location.
LAPACK requires BLAS.
Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDES CHOLMOD_LIBRARIES)
Could NOT find UMFPACK (missing: UMFPACK_INCLUDES UMFPACK_LIBRARIES)
Could NOT find SUPERLU (missing: SUPERLU_INCLUDES SUPERLU_LIBRARIES SUPERLU_VERSION_OK)
Could NOT find PASTIX (missing: PASTIX_INCLUDES PASTIX_LIBRARIES)
Could NOT find SCOTCH (missing: SCOTCH_INCLUDES SCOTCH_LIBRARIES)
Could NOT find METIS (missing: METIS_INCLUDES METIS_LIBRARIES)
Could NOT find SPQR (missing: SPQR_INCLUDES SPQR_LIBRARIES)
Found unsuitable Qt version "" from NOTFOUND
Could NOT find Boost
Could NOT find XSMM (missing: LIBXSMM)
Could NOT find GOOGLEHASH (missing: GOOGLEHASH_INCLUDES GOOGLEHASH_COMPILE)
Could NOT find ADOLC (missing: ADOLC_INCLUDES ADOLC_LIBRARIES)
Could NOT find MPFR (missing: MPFR_INCLUDES MPFR_LIBRARIES MPFR_VERSION_OK) (Required is at least version "2.3.0")
Could NOT find GMP (missing: GMP_INCLUDES GMP_LIBRARIES)
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find FFTW (missing: FFTW_INCLUDES FFTW_LIBRARIES)
Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
CMake Warning (dev) at unsupported/test/CMakeLists.txt:132 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
This warning is for project developers. Use -Wno-dev to suppress it.

CUDA_TOOLKIT_ROOT_DIR not found or specified
Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.0")
Found unsuitable Qt version "" from NOTFOUND
Qt4 not found, so disabling the mandelbrot and opengl demos


*** Eigen's unit tests configuration summary ***


Build type: Release
Build site: desktop-4ngql8u
Build string: unknownwin-19.0.24215.1-32bit
Enabled backends:
Disabled backends: Cholmod, UmfPack, SuperLU, PaStiX, METIS, SPQR, Qt4 support, Boost.Multiprecision, Xsmm, GoogleHash, Adolc, MPFR C++, fftw, OpenGL,
Default order: Column-major
Maximal matrix/vector size: 320
SSE2: Using architecture defaults
SSE3: Using architecture defaults
SSSE3: Using architecture defaults
SSE4.1: Using architecture defaults
SSE4.2: Using architecture defaults
AVX: Using architecture defaults
FMA: Using architecture defaults
AVX512: Using architecture defaults
Altivec: Using architecture defaults
VSX: Using architecture defaults
ARM NEON: Using architecture defaults
ARMv8 NEON: Using architecture defaults
S390X ZVECTOR: Using architecture defaults
C++11: OFF
SYCL: OFF
CUDA: OFF

CXX: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
CXX_FLAGS: /DWIN32 /D_WINDOWS /W4 /GR /EHsc /EHsc /wd4127 /wd4505 /wd4714 /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS
Sparse lib flags:


Configured Eigen 3.3.90

To build/run the unit tests, read this page:
http://eigen.tuxfamily.org/index.php?title=Tests

Configuring done

@ppwwyyxx
Copy link
Owner

ppwwyyxx commented Jun 9, 2018

We manually add the include path of eigen3.

Please specify exactly what you did.

The logs seem completely unrelated to this project and seem like errors when trying to build eigen.

@ritvik03
Copy link
Author

ritvik03 commented Jun 11, 2018 via email

@highgod
Copy link

highgod commented Sep 16, 2018

Hi, I finihsed compile the code on win10, 64bits, vs2015, and I fixed some bug, do you need the code?

@chaoyuxie
Copy link

@highgod Hi,Could you please send your code to me? I meet the same errors as others.
My email is xiechaoyuwudi@gmail.com
Thank you very much.

@ghost
Copy link

ghost commented Sep 27, 2018

Hi, I finihsed compile the code on win10, 64bits, vs2015, and I fixed some bug, do you need the code?

@highgod Can you please send me your source code? I having issue to compile the code. my email is duanhezheng@gmail.com.
Thanks

@w2xx
Copy link

w2xx commented Oct 9, 2018

@highgod Hi,Can you please send me your source code?I meet the same errors as others.My email is wsdhjx@gmail.com.
Thank you very much

@panlanlan
Copy link

@highgod Could you please send your code to me? I am study the image stiching,but i could not run these codes succeefully
My email is 273856942@qq.com

@zeilmannnoah
Copy link

@highgod If you could also send me the source code, I would really appreciate it.
My email is zeilmannnoah@gmail.com

@willazz
Copy link

willazz commented Nov 5, 2018

Hi, I finihsed compile the code on win10, 64bits, vs2015, and I fixed some bug, do you need the code?

@highgod I also meet some errors when I tried to compile the code. Could you please send your code to me?
My email is yanglz@zju.edu.cn
Thank you very much

@highgod
Copy link

highgod commented Nov 12, 2018 via email

@zhao-lun
Copy link

@highgod , Hi, can you upload to googledrive? some people don't have access to baidu pan.
Thank you !

@highgod
Copy link

highgod commented Nov 19, 2018 via email

@creil11
Copy link

creil11 commented Mar 19, 2019

Hi, I finihsed compile the code on win10, 64bits, vs2015, and I fixed some bug, do you need the code?

Hello, I downloaded your file, there still be previous mistakes.. My environment is win10, vs2017. Could you please tell me your specific configuration process? Thank you very much.

@highgod
Copy link

highgod commented Mar 20, 2019 via email

@creil11
Copy link

creil11 commented Mar 20, 2019

have forgot the configuration, hehe

creil11 notifications@github.com 于2019年3月19日周二 下午5:35写道:
have configured Environment variables, I don't know what went wrong, can you tell me what you configured? I am more stupid, hope to be able to point out

@creil11
Copy link

creil11 commented Mar 25, 2019

have forgot the configuration, hehe

creil11 notifications@github.com 于2019年3月19日周二 下午5:35写道:
…-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) CMake Error: The following variables are used in this p roject, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: JPEG_LIBRARY (ADVANCED) linked by target "openpano" in directory E:/OpenPano/OpenPano-master/src -- Configuring incomplete, errors occurred! See also "E:/OpenPano/OpenPanomaster/CMakeFiles/CMakeOutput.log".

why does this keep happening?
and I cmake "libjpeg-turbo-master" and set the environment variable JPEG_INCLUDE_DIR="E:\OpenPano\libjpeg-turbo\include"
JPEG_LIBRARY="E:\OpenPano\libjpeg-turbo\lib"

@lovotte
Copy link

lovotte commented Jul 25, 2019

@highgod Thank you for your code,but I met some problems when compiling your code.When I compiling the project image-stitching on VS2015, some errors occured,they are list as follows:
严重性 代码 说明 项目 文件 行 源 禁止显示状态
错误 LNK2019 无法解析的外部符号 jpeg_std_error,该符号在函数 "public: struct cimg_library::CImg & __cdecl cimg_library::CImg::_load_jpeg(struct _iobuf * const,char const * const)" (?_load_jpeg@?$CImg@E@cimg_library@@QEAAAEAU12@QEAU_iobuf@@QEBD@Z) 中被引用 image-stitching F:\OpenPano\OpenPano-master\build\src\openpano.lib(imgio.obj) 1 生成

严重性 代码 说明 项目 文件 行 源 禁止显示状态
错误 LNK2019 无法解析的外部符号 jpeg_CreateCompress,该符号在函数 "public: struct cimg_library::CImg const & __cdecl cimg_library::CImg::_save_jpeg(struct _iobuf * const,char const * const,unsigned int)const " (?_save_jpeg@?$CImg@E@cimg_library@@QEBAAEBU12@QEAU_iobuf@@QEBDI@Z) 中被引用 image-stitching F:\OpenPano\OpenPano-master\build\src\openpano.lib(imgio.obj) 1 生成

严重性 代码 说明 项目 文件 行 源 禁止显示状态
错误 LNK2019 无法解析的外部符号 jpeg_CreateDecompress,该符号在函数 "public: struct cimg_library::CImg & __cdecl cimg_library::CImg::_load_jpeg(struct _iobuf * const,char const * const)" (?_load_jpeg@?$CImg@E@cimg_library@@QEAAAEAU12@QEAU_iobuf@@QEBD@Z) 中被引用 image-stitching F:\OpenPano\OpenPano-master\build\src\openpano.lib(imgio.obj) 1 生成

................

and some other similar errors up to 18.Is there anything wrong with the file openpano.lib? The platform that I compile is VS 2015, OpenCV 3.4.13, X64 ,Cmake 3.1,and all the libraries are download from your package.These errors really troubles me,hope for your reply,thank you.

@highgod
Copy link

highgod commented Jul 26, 2019 via email

@lovotte
Copy link

lovotte commented Jul 26, 2019

Hi, 你这个是jpeg库的事儿吧 Rui Chou notifications@github.com 于2019年7月26日周五 上午1:24写道:

@highgod https://github.com/highgod Thank you for your code,but I met some problems when compiling your code.When I compiling the project image-stitching on VS2015, some errors occured,they are list as follows: 严重性 代码 说明 项目 文件 行 源 禁止显示状态 错误 LNK2019 无法解析的外部符号 jpeg_std_error,该符号在函数 "public: struct cimg_library::CImg & __cdecl cimg_library::CImg::_load_jpeg(struct _iobuf * const,char const * const)" (?_load_jpeg@?$CImg@@._library@ @QEAAAEAU12@QEAU_iobuf@@QEBD@Z) 中被引用 image-stitching F:\OpenPano\OpenPano-master\build\src\openpano.lib(imgio.obj) 1 生成 严重性 代码 说明 项目 文件 行 源 禁止显示状态 错误 LNK2019 无法解析的外部符号 jpeg_CreateCompress,该符号在函数 "public: struct cimg_library::CImg const & __cdecl cimg_library::CImg::_save_jpeg(struct _iobuf * const,char const * const,unsigned int)const " (?_save_jpeg@ ?$CImg@@._library@@QEBAAEBU12@QEAU_iobuf@@QEBDI@Z) 中被引用 image-stitching F:\OpenPano\OpenPano-master\build\src\openpano.lib(imgio.obj) 1 生成 严重性 代码 说明 项目 文件 行 源 禁止显示状态 错误 LNK2019 无法解析的外部符号 jpeg_CreateDecompress,该符号在函数 "public: struct cimg_library::CImg & __cdecl cimg_library::CImg::_load_jpeg(struct _iobuf * const,char const * const)" (?_load_jpeg@?$CImg@@.***_library@ @QEAAAEAU12@QEAU_iobuf@@QEBD@Z) 中被引用 image-stitching F:\OpenPano\OpenPano-master\build\src\openpano.lib(imgio.obj) 1 生成 ................ and some other similar errors up to 18.Is there anything wrong with the file openpano.lib? The platform that I compile is VS 2015, OpenCV 3.4.13, X64 ,Cmake 3.1,and all the libraries are download from your package.These errors really troubles me,hope for your reply,thank you. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#67?email_source=notifications&email_token=AA5ZLL2UCAQHXNOGJNRJ52TQBHOUTA5CNFSM4FEFJRSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD22FLYQ#issuecomment-515134946>, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5ZLL6WWI6WIQ3UGDZYAM3QBHOUTANCNFSM4FEFJRSA .

但是我用你的libjpeg库编译成功了,而且编译了几次都是这种错误,现在不知道问题在哪,大神能不能加个好友请教下。

@Xzi-W
Copy link

Xzi-W commented Jan 12, 2021

@highgod Could you please send your code to me? I am study the image stiching,but i could not run these codes succeefully
My email is 527517673@qq.com

@ai1urus
Copy link

ai1urus commented Apr 8, 2021

Hi, 你这个是jpeg库的事儿吧 Rui Chou notifications@github.com 于2019年7月26日周五 上午1:24写道:

@highgod https://github.com/highgod Thank you for your code,but I met some problems when compiling your code.When I compiling the project image-stitching on VS2015, some errors occured,they are list as follows: 严重性 代码 说明 项目 文件 行 源 禁止显示状态 错误 LNK2019 无法解析的外部符号 jpeg_std_error,该符号在函数 "public: struct cimg_library::CImg & __cdecl cimg_library::CImg::load_jpeg(struct iobuf * const,char const * const)" (?load_jpeg@?$CImg@@._library@ @QEAAAEAU12@QEAU_iobuf@@QEBD@Z) 中被引用 image-stitching F:\OpenPano\OpenPano-master\build\src\openpano.lib(imgio.obj) 1 生成 严重性 代码 说明 项目 文件 行 源 禁止显示状态 错误 LNK2019 无法解析的外部符号 jpeg_CreateCompress,该符号在函数 "public: struct cimg_library::CImg const & __cdecl cimg_library::CImg::_save_jpeg(struct _iobuf * const,char const * const,unsigned int)const " (?_save_jpeg@ ?$CImg@@.__library@@QEBAAEBU12@QEAU_iobuf@@QEBDI@Z) 中被引用 image-stitching F:\OpenPano\OpenPano-master\build\src\openpano.lib(imgio.obj) 1 生成 严重性 代码 说明 项目 文件 行 源 禁止显示状态 错误 LNK2019 无法解析的外部符号 jpeg_CreateDecompress,该符号在函数 "public: struct cimg_library::CImg & __cdecl cimg_library::CImg::_load_jpeg(struct iobuf * const,char const * const)" (?load_jpeg@?$CImg@@.***_library@ @QEAAAEAU12@QEAU_iobuf@@QEBD@Z) 中被引用 image-stitching F:\OpenPano\OpenPano-master\build\src\openpano.lib(imgio.obj) 1 生成 ................ and some other similar errors up to 18.Is there anything wrong with the file openpano.lib? The platform that I compile is VS 2015, OpenCV 3.4.13, X64 ,Cmake 3.1,and all the libraries are download from your package.These errors really troubles me,hope for your reply,thank you. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#67?email_source=notifications&email_token=AA5ZLL2UCAQHXNOGJNRJ52TQBHOUTA5CNFSM4FEFJRSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD22FLYQ#issuecomment-515134946>, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5ZLL6WWI6WIQ3UGDZYAM3QBHOUTANCNFSM4FEFJRSA .

但是我用你的libjpeg库编译成功了,而且编译了几次都是这种错误,现在不知道问题在哪,大神能不能加个好友请教下。

问题解决了吗老哥,我也遇到这个问题

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