ceres lib not found - r56968 cmake - ms VS2008 64 bit W7

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Terry Struven
Posts: 0
Joined: Wed May 22, 2013 11:53 pm

ceres lib not found - r56968 cmake - ms VS2008 64 bit W7

Post by Terry Struven » Thu May 23, 2013 12:31 am

Tried to recompile the latest release on Windows 7 using VS2008 64 bit on r56968 and I received a ton of errors similar to:

1>block_evaluate_preparer.cc
1>..\..\..\..\..\blender\extern\libmv\third_party\ceres\internal\ceres\block_evaluate_preparer.cc : error C2471: cannot update program database 'e:\blendersvn\cmake-build\lib\debug\extern_ceres.pdb'
1>..\..\..\..\..\blender\extern\libmv\third_party\ceres\internal\ceres\block_evaluate_preparer.cc : fatal error C1083: Cannot open program database file: 'e:\blendersvn\cmake-build\lib\debug\extern_ceres.pdb': No such file or directory[/list]
Looking in the debug directory, the extern_ceres.lib appears to be missing, although there are .pdb and .idb files.

I have been able to compile other 64 bit builds in the past, although I recently reloaded VS2008.

Apologize in advance if this has an obvious answer...

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv » Thu May 23, 2013 6:22 pm

Been a long time since I was doing windows, but it used to be you needed separate debug libs for everything if you wanted a debug build.

Terry Struven
Posts: 0
Joined: Wed May 22, 2013 11:53 pm

Post by Terry Struven » Thu May 23, 2013 7:30 pm

I believe that you are correct stiv, but all other debug libraries were there. And I have compiled a debug version in the past.

BTW, I did a clean blender svn reload with r56979 and still had a problem. I also had time to do a more thorough search and found a similar problem under:
http://www.blender.org/forum/viewtopic. ... 9eea206483

"Midlevel Adjustment for Displacement" in "Tools and Interfaces") in Jan 2013 near the end of the chain of messages.

Not really sure what fixed it then, but it seemed to be a fix to the rna files.

Terry Struven
Posts: 0
Joined: Wed May 22, 2013 11:53 pm

Post by Terry Struven » Thu May 30, 2013 6:42 pm

This turned out to be my mistake and I just wanted to close the loop...

I had re-installed MSVC 2008 and forgotten to install the feature pack :(

The error resulted from not having TR1 in the original release, which is used by the ceres libraries. The feature pack adds TR1.

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv » Fri May 31, 2013 3:08 am

Thanks for reporting back. This will help somebody.

mconradie
Posts: 0
Joined: Mon Oct 14, 2013 7:48 pm
Location: South Africa

Post by mconradie » Thu Oct 17, 2013 9:45 pm

Thanks - this helped me. Although I'm using Visual Studio express - which the feature pack does not support. So had to just build without libmv and opencollada.

Post Reply