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 

NVTT 3rdParty x64 libs for OSG...


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build]
View previous topic :: View next topic  
Author Message
S2LR
Appreciator


Joined: 13 Nov 2010
Posts: 208

PostPosted: Thu Jun 09, 2016 6:47 pm    Post subject:
NVTT 3rdParty x64 libs for OSG...
Reply with quote

Hi,

I was wondering if anyone out there in OSG land has had success building the Nvidea texture tools version 2.0.8 using VS2013 for x64 to use with the nvtt plugin in the OSG.

I've set the NVTT_SHARED=1 so that the libs are built as shared libraries. All libraries compile just fine. However, when I compile and link the nvtt.lib, I get a bunch of linker errors (LNK2019 and LNK2001 unresolved external symbols) dealing with functions found in the nvimage library. I suspect is has something to do with the calling convention __cdecl when the libs are built as shared libs.

When I set NVTT_SHARED=0, all the libs compile and link just fine but then the OSG no longer builds for the obvious reasons when it tries to compile the nvtt-dependent plugin

If anyone can help or suggest something that will result in getting rid of the linker errors, that would be great.

Cheers,
Shayne
Back to top
View user's profile Send private message
elrudi
Newbie


Joined: 11 Feb 2015
Posts: 3

PostPosted: Thu Jan 12, 2017 9:12 am    Post subject:
Reply with quote

Hi,

i added the following to the libraries:

nvcore.lib
nvmath.lib
nvimage.lib
nvthread.lib
bc7.lib
squish.lib
bc6h.lib

Now it is linking.

Cheers,
ElRudi
Back to top
View user's profile Send private message
Nikkitta (Nikita Petrov)
Newbie


Joined: 19 Jun 2014
Posts: 9

PostPosted: Thu Feb 02, 2017 8:47 am    Post subject:
Reply with quote

Hi,

I have just the same issue.
I'm trying to build master branch of OpenSceneGraph in Visual Studio 2013 x64.
As 3rdParty I used full package V10 from here https://www.osgvisual.org/wiki/Downloads#a3rdPartysmallpackageV10 (link was taken from official website).

Actually I don't need that plugin. But I hope that somebody who knows how to deal with that plugin, will fix it.

Cheers,
Nikita
Back to top
View user's profile Send private message
zonk
Appreciator


Joined: 23 May 2009
Posts: 621

PostPosted: Wed Mar 22, 2017 3:43 pm    Post subject:
Reply with quote

Hi,

I Don't know it by heart, but you can download the source package from osgvisual.org, the package contains build instructions as well.

Cheers,
Torben
Back to top
View user's profile Send private message
elrudi
Newbie


Joined: 11 Feb 2015
Posts: 3

PostPosted: Sat Apr 01, 2017 6:37 pm    Post subject:
NVTT 3rdParty x64 libs for OSG...
Reply with quote

Hi,

i added the following to the libraries:

nvcore.lib
nvmath.lib
nvimage.lib
nvthread.lib
bc7.lib
squish.lib
bc6h.lib

Now it is linking.

Cheers,
ElRudi

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69961#69961







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Build system [build] 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 missed submission? 3rdParty Package -... zonk Submission 6 Fri Apr 07, 2017 10:13 pm View latest post
No new posts 3rdParty package precompiled with Vis... zonk Announcement [ANN] 0 Wed Mar 22, 2017 3:51 pm View latest post
No new posts [3rdParty/maybe OSG general] osgoculu... Trajce Nikolov NICK General 2 Wed Mar 01, 2017 11:24 pm View latest post
No new posts regard:   how  to&a... 韩志平 General 0 Mon Feb 13, 2017 6:57 am View latest post
No new posts how to load 3rdparty-x86-vs-2010.zip 韩志平 General 0 Mon Feb 13, 2017 5:52 am 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