Bonjour! First of all, thank you Johannes for this awesome open source software COLMAP!
I am in win7, VS2013 update5.
I first tried to build COLMAP in CUDA 9.0 but VS error occured:
CMake Error at sift_gpu_generated_ProgramCU.cu.obj.Debug.cmake:222 (message):
Error generating
E:/Work2017/COLMAP_build/src/ext/SiftGPU/CMakeFiles/sift_gpu.dir//Debug/sift_gpu_generated_ProgramCU.cu.obj
mkwayrefine.c
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: “cmd.exe” 已退出,代码为 1。(exit with code 1)
Then I install CUDA 8.0, but I did not uninstall CUDA 9.0, (does it matter???) the above errors did not show, the new errors are like that:
21>sift_gpu.lib(SiftGPU.obj) : error LNK2019: Unresolved extern symbols __imp_glBegin,used in function "private: void __cdecl SiftGPUEX::DisplayDebug(void)" (?DisplayDebug@SiftGPUEX@@AEAAXXZ)
.....etc. include: __imp_glBegin, __imp_glColor3f, __imp_glColor3fv, __imp_glDisableClientState, __imp_glDrawArrays ...
As I know these functions are declared in glew.h, I guess this kind of error means something wrong in glew32.lib, I add this lib in additional dependency (I am sure VS can find it because if I delete glew32.lib VS will show "cannot open glew32.lib").
I tried about 10 days and cannot solve this problem, T_T , HELP!!!
Cheers ^_^
Yours, Li Yi Hui