OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Build INSTALL cannot find dll files


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgCompute [osgCompute]
View previous topic :: View next topic  
Author Message
creature (Ethan Fahy)
Appreciator


Joined: 07 Sep 2011
Posts: 142

PostPosted: Fri Jan 11, 2013 4:54 pm    Post subject:
Build INSTALL cannot find dll files
Reply with quote

Hello,

I am able to successfully build osgCompute in both debug and release modes using CMake in Windows 7x64. However when I perform a Build on the INSTALL project it is able to copy the osgCompute.lib file but cannot find the osgCompute.dll file. Here's the relevant error section from the command line:

-- Install configuration: "Release"
3> -- Installing: C:/SceneSim/ext/osgCompute/lib/osgCompute.lib
3> CMake Error at src/osgCompute/cmake_install.cmake:46 (FILE):
3> file INSTALL cannot find
3> "C:/SceneSim/ext/osgCompute/build/bin/Release/../osgCompute.dll".
3> Call Stack (most recent call first):
3> src/cmake_install.cmake:32 (INCLUDE)
3> cmake_install.cmake:32 (INCLUDE)

C:\SceneSim\ext\osgCompute\build\bin\Release\osgCompute.dll does exist but as you can see the path has a ".." in it that is tripping it up. I've built a lot of projects using CMake and have never seen this issue before. I'm guessing I can figure it out eventually but wanted to post it here anyway for the record and to see if anyone has a fix already. Thanks!
Back to top
View user's profile Send private message
creature (Ethan Fahy)
Appreciator


Joined: 07 Sep 2011
Posts: 142

PostPosted: Fri Jan 11, 2013 4:57 pm    Post subject:
Reply with quote

P.S. I also noticed that the pdb files were built on the same level as the Release and Debug directories while the debud dll and ilk files were built correctly in the Debug directory (which is abnormal as far as I know). I think there must be a path issue in the CMakeLists.txt files somewhere, perhaps a relative vs absolute definition?
Back to top
View user's profile Send private message
creature (Ethan Fahy)
Appreciator


Joined: 07 Sep 2011
Posts: 142

PostPosted: Fri Jan 11, 2013 5:17 pm    Post subject:
Reply with quote

Sorry sorry sorry I have no idea how I missed the other forum post that discusses this issue! Please disregard. Embarassed
Back to top
View user's profile Send private message
creature (Ethan Fahy)
Appreciator


Joined: 07 Sep 2011
Posts: 142

PostPosted: Fri Jan 11, 2013 5:51 pm    Post subject:
Reply with quote

Actually it looks like the Visual Studio 2010 INSTALL problem wasn't addressed from this post:

http://forum.openscenegraph.org/viewtopic.php?t=9473
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgCompute [osgCompute] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Problems with view .FBX files arfaa General 0 Thu Jul 27, 2017 2:48 pm View latest post
No new posts Error with InputStream reading osgb f... Riccardo Corsi General 28 Thu Jun 08, 2017 11:20 am View latest post
No new posts how to convert osgb files to old version Haojia General 1 Fri Jun 02, 2017 4:35 pm View latest post
No new posts About Shapefiles and .dbf files in os... Rambabu General 0 Tue Apr 25, 2017 4:57 am View latest post
No new posts iOS build guide locked/checked out on... tomhog General 2 Fri Apr 21, 2017 10:43 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP