Hi,

I am trying to compile VXL-1.12.0 under Windows XP using MS VS 2008 Pro version 9.0.21022.8. The .sln file was created using CMake 2.6-patch 3 with the default values (no changes).

The source files are located in D:\VXL\vxl-1.12.0.
The target folder is D:\VXL\bin.

Compiling as such works for most subprojects but some fail at the linking stage. These are the projects that require vul, vbl, or vpl. Checking the D:\VXL\bin\lib\Debug (or D:\VXL\bin\lib\Release for that matter; I just describe it here for the Debug version) directory, reveals that the vul.lib, vbl.lib, and vpl.lib libraries are indeed missing.

I can successfully compile them manually by opening the respective project files and compiling these missing projects, which creates the vul.lib, vbl.lib, and vpl.lib files in the D:\VXL\bin\lib\Debug, so they are present now, but when trying to build the ALL_BUILD target again, the same linker error messages still appear.

Example linker error message:
1>------ Build started: Project: vnl_algo_test_all, Configuration: Debug Win32 ------
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'vul.lib'
1>Build log was saved at "file://d:\VXL\bin\core\vnl\algo\tests\vnl_algo_test_all.dir\Debug\BuildLog.htm"
1>vnl_algo_test_all - 1 error(s), 0 warning(s)

I am a bit at a loss at what's going on. If I look at the build log, I can see that the path to this particular library is not correct (missing the full library path as for the others; see below), but why this would occur is a bit of a mystery to me. Does anyone have any ideas?

Thanks,
Roland

Build Log     
Build started: Project: vnl_algo_test_all, Configuration: Debug|Win32

Command Lines     
Creating temporary file "d:\VXL\bin\core\vnl\algo\tests\vnl_algo_test_all.dir\Debug\RSP0003BE1993228692.rsp" with contents
[
/OUT:"D:\VXL\bin\core\vnl\algo\tests\Debug\vnl_algo_test_all.exe" /VERSION:0.0 /INCREMENTAL /MANIFEST /MANIFESTFILE:"vnl_algo_test_all.dir\Debug\vnl_algo_test_all.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:/VXL/bin/core/vnl/algo/tests/Debug/vnl_algo_test_all.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\VXL\bin\core\vnl\algo\tests\Debug\vnl_algo_test_all.lib"  /STACK:10000000 /machine:I386 /debug kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  ..\..\..\..\lib\Debug\vnl_algo.lib vul.lib ..\..\..\..\lib\Debug\testlib.lib ..\..\..\..\lib\Debug\netlib.lib ..\..\..\..\lib\Debug\v3p_netlib.lib ..\..\..\..\lib\Debug\vnl.lib ws2_32.lib ..\..\..\..\lib\Debug\vcl.lib "..\..\..\..\lib\debug\vcl.lib" "..\..\..\..\lib\debug\vnl.lib" "..\..\..\..\lib\debug\v3p_netlib.lib" "..\..\..\..\lib\debug\netlib.lib" "..\..\..\..\lib\debug\testlib.lib"

".\vnl_algo_test_all.dir\Debug\test_driver.obj"
".\vnl_algo_test_all.dir\Debug\test_util.obj"
".\vnl_algo_test_all.dir\Debug\test_algo.obj"
".\vnl_algo_test_all.dir\Debug\test_amoeba.obj"
".\vnl_algo_test_all.dir\Debug\test_cholesky.obj"
".\vnl_algo_test_all.dir\Debug\test_complex_eigensystem.obj"
".\vnl_algo_test_all.dir\Debug\test_convolve.obj"
".\vnl_algo_test_all.dir\Debug\test_cpoly_roots.obj"
".\vnl_algo_test_all.dir\Debug\test_determinant.obj"
".\vnl_algo_test_all.dir\Debug\test_fft.obj"
".\vnl_algo_test_all.dir\Debug\test_fft1d.obj"
".\vnl_algo_test_all.dir\Debug\test_fft2d.obj"
".\vnl_algo_test_all.dir\Debug\test_functions.obj"
".\vnl_algo_test_all.dir\Debug\test_generalized_eigensystem.obj"
".\vnl_algo_test_all.dir\Debug\test_ldl_cholesky.obj"
".\vnl_algo_test_all.dir\Debug\test_levenberg_marquardt.obj"
".\vnl_algo_test_all.dir\Debug\test_matrix_update.obj"
".\vnl_algo_test_all.dir\Debug\test_minimizers.obj"
".\vnl_algo_test_all.dir\Debug\test_powell.obj"
".\vnl_algo_test_all.dir\Debug\test_qr.obj"
".\vnl_algo_test_all.dir\Debug\test_qsvd.obj"
".\vnl_algo_test_all.dir\Debug\test_rank.obj"
".\vnl_algo_test_all.dir\Debug\test_real_eigensystem.obj"
".\vnl_algo_test_all.dir\Debug\test_rnpoly_roots.obj"
".\vnl_algo_test_all.dir\Debug\test_rpoly_roots.obj"
".\vnl_algo_test_all.dir\Debug\test_sparse_matrix.obj"
".\vnl_algo_test_all.dir\Debug\test_svd.obj"
".\vnl_algo_test_all.dir\Debug\test_symmetric_eigensystem.obj"
".\vnl_algo_test_all.dir\Debug\test_integral.obj"
".\vnl_algo_test_all.dir\Debug\test_solve_qp.obj"
".\vnl_algo_test_all.dir\Debug\test_sparse_lu.obj"
".\vnl_algo_test_all.dir\Debug\test_bracket_minimum.obj"
".\vnl_algo_test_all.dir\Debug\test_brent_minimizer.obj"
".\vnl_algo_test_all.dir\Debug\test_sparse_lm.obj"
".\vnl_algo_test_all.dir\Debug\vnl_algo_test_all.exe.embed.manifest.res"
]
Creating command line "link.exe @d:\VXL\bin\core\vnl\algo\tests\vnl_algo_test_all.dir\Debug\RSP0003BE1993228692.rsp /NOLOGO /ERRORREPORT:PROMPT"

Output Window     
Linking...
LINK : fatal error LNK1104: cannot open file 'vul.lib'

Results     
Build log was saved at "file://d:\VXL\bin\core\vnl\algo\tests\vnl_algo_test_all.dir\Debug\BuildLog.htm"
vnl_algo_test_all - 1 error(s), 0 warning(s)