[osg-users] [build] Link Problems Arise After CMAKE (despite not changing much in CMAKE)
Dave Sargrad
davidsargrad at hotmail.com
Sun Jun 12 04:52:33 PDT 2016
Hi,
The build problem I have happens to me quite frequently. In this particular case, I returned to CMAKE to turn on doxygen documentation. I regenerated, the solution (no other changes were made in CMAKE), and then rebuilt the solution. I saw the following errors arise. I shutdown windows to make sure that I didnt have a folder open that would prevent writing a file. I also rebooted (hoping that would help). This has happened to me in the past, and each time I delete my build/install directories, and do a clean build from scratch, and then all is fine.
Code:
>------ Build started: Project: osgManipulator, Configuration: Debug x64 ------
9>------ Build started: Project: osgUI, Configuration: Debug x64 ------
7>LINK : fatal error LNK1104: cannot open file '..\..\..\..\lib\osgShadowd.lib'
8>LINK : fatal error LNK1104: cannot open file '..\..\lib\osgViewerd.lib'
10>------ Build started: Project: osgWidget, Configuration: Debug x64 ------
6>LINK : fatal error LNK1104: cannot open file '..\..\..\..\lib\osgParticled.lib'
9>LINK : fatal error LNK1104: cannot open file '..\..\lib\osgViewerd.lib'
11>------ Build started: Project: osgAnimation, Configuration: Debug x64 ------
12>------ Build started: Project: Examples osgatomiccounter, Configuration: Debug x64 ------
10>LINK : fatal error LNK1104: cannot open file '..\..\lib\osgViewerd.lib'
13>------ Build started: Project: Examples osgautocapture, Configuration: Debug x64 ------
12>LINK : fatal error LNK1104: cannot open file '..\..\lib\osgViewerd.lib'
13>LINK : fatal error LNK1104: cannot open file '..\..\lib\osgViewerd.lib'
14>------ Build started: Project: osgPresentation, Configuration: Debug x64 ------
11>LINK : fatal error LNK1104: cannot open file '..\..\lib\osgViewerd.lib'
15>------ Build started: Project: Examples osgautotransform, Configuration: Debug x64 ------
Do you have a suggestion relative to what I might look for to solve this? I hate having to rebuild the entire solution on a clean slate when this occurs.
Thank you in advance!
Cheers,
Dave
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67581#67581
More information about the osg-users
mailing list