ppwwyyxx / OpenPano

Automatic Panorama Stitching From Scratch
MIT License
1.86k stars 553 forks source link

Unable to compile stitch.sln in windows 10 #67

Open ritvik03 opened 6 years ago

ritvik03 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Hello. We downloaded the openPano from your github. Also downloaded Eigen3 and libjpeg dependencies.Then cmake Eigen3 after adding it as environment variable and cmake the project including the libjpeg library manually without eigen3 included but including eigen3 shows errors like Eigen3_INCLUDE_DIR and EIGEN3_LIBRARY not found although they were specified in system environment variables.

On Sat, Jun 9, 2018 at 10:08 PM, Yuxin Wu notifications@github.com wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ppwwyyxx/OpenPano/issues/67#issuecomment-395982593, or mute the thread https://github.com/notifications/unsubscribe-auth/AbbIn8riP-tOG3nW7eCzz_tVKdKwxNlNks5t6_oHgaJpZM4UhUxk .

-- Ritvik Pandey Mechanical Engineering Department (dual degree) IIT Kharagpur Contact: +91-747800688

highgod commented 5 years ago

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

chaoyuxie commented 5 years ago

@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 commented 5 years ago

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 commented 5 years ago

@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 commented 5 years ago

@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 commented 5 years ago

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

willazz commented 5 years ago

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 commented 5 years ago

Hi, the code is big, so I share it on BaiDu clould, the link is as following: link:https://pan.baidu.com/s/1Hmc0mC7NXEfg8VLtyXaOXw key:21ll

willazz notifications@github.com 于2018年11月5日周一 下午12:51写道:

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

@highgod https://github.com/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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ppwwyyxx/OpenPano/issues/67#issuecomment-435754649, or mute the thread https://github.com/notifications/unsubscribe-auth/ADuVr52l4gVs2SUT2GkP7lOiwd9tPO4fks5ur8PEgaJpZM4UhUxk .

zhao-lun commented 5 years ago

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

highgod commented 5 years ago

Zhao Lun notifications@github.com 于2018年11月15日周四 上午11:24写道:

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

I don't have googledrive, hehe.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ppwwyyxx/OpenPano/issues/67#issuecomment-438903509, or mute the thread https://github.com/notifications/unsubscribe-auth/ADuVrzlKDkKeObDNy1unn6vf7GZUI3WBks5uvN5YgaJpZM4UhUxk .

creil11 commented 5 years ago

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 commented 5 years ago

have forgot the configuration, hehe

creil11 notifications@github.com 于2019年3月19日周二 下午5:35写道:

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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ppwwyyxx/OpenPano/issues/67#issuecomment-474267039, or mute the thread https://github.com/notifications/unsubscribe-auth/ADuVr19UQUy0AWl8qghghyR1j8SgoAQEks5vYK9WgaJpZM4UhUxk .

creil11 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

@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 commented 5 years ago

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@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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ppwwyyxx/OpenPano/issues/67?email_source=notifications&email_token=AA5ZLL2UCAQHXNOGJNRJ52TQBHOUTA5CNFSM4FEFJRSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD22FLYQ#issuecomment-515134946, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5ZLL6WWI6WIQ3UGDZYAM3QBHOUTANCNFSM4FEFJRSA .

lovotte commented 5 years ago

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 commented 3 years ago

@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 commented 3 years ago

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)" (?_loadjpeg@?$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)" (?_loadjpeg@?$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库编译成功了,而且编译了几次都是这种错误,现在不知道问题在哪,大神能不能加个好友请教下。

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