Hi there, Ok, hopefully I'm getting closer to the problem. As far as I know there are three things in visual studio that must be set in a project to use a library: 1) include path 2) lib path 3) .lib file list
I have three libraries I want to use: Cal3D, QT and OpenSG. If I start from scratch and manually add Cal3D, then QT, then OpenSG, the first two works well and the last one only partially. Log here: (http://n.ethz.ch/student/gnoris/download/_error.txt). If instead I start from an OpenSG project (as you suggested) and add the other libraries later, Cal3D works well but QT gives me linking error. Log here: (http://n.ethz.ch/student/gnoris/download/_error2.txt). Just by picking the shorter error list, I'll keep the second one as good... Now: since QT worked on first place, and then didn't, I assume that the problem lies in the compatibility of the libraries I'm trying to use, right? I use QT 4.2.2, and OpenSG 1.8Alpha1. Do you know any issue? Do you have suggestions? Thanks, Chino -----Messaggio originale----- Da: [EMAIL PROTECTED] per conto di Noris Gioacchino Inviato: mar 09/01/2007 16.54 A: [email protected] Oggetto: [Opensg-users] R: R: Linking Problems Hi Adreas, I can't really say. I just downloaded this: (http://www.opensg.org/dailybuild_logs/opensg_dailybuild.070109.i686-pc-cygwin.cl.net2005.OpenSG-1.8.0Alpha1-cl.net2005.exe) installed and linked it with the project I have to work on. Am I doing something wrong? Thanks, Chino -----Messaggio originale----- Da: [EMAIL PROTECTED] per conto di Andreas Zieringer Inviato: mar 09/01/2007 16.35 A: [email protected] Oggetto: Re: [Opensg-users] R: Linking Problems Hi Noris, where is stlport_vc7.lib coming from? The visual studio 2005 OpenSG has no dependency to stlport. Andreas > Thanks for the reply Akos, > > I can't really say why it seams that the paths are not there, since they are. > The only thing I can think of is that during the installation some variables > should be set, and they are not. > I get the followin error when installing OpenSG (whatever version): > (http://n.ethz.ch/student/gnoris/download/error.JPG) The error appears, but > the rest of the installation goes anyway. > > I'm trying now with the last version 1.8.0Alpha1. Beside the Script Host > error, the linker now complains that: > > LINK : fatal error LNK1181: cannot open input file 'stlport_vc7.lib' > > Actually that lib is not in the lib folder (the most similar is > stlport_vc71.lib, but no sign of her). > > And btw I'm a bit confused because of this vc7... shouldn't it be vc8 ? > > Thanks for any Help, > Chino > > -----Messaggio originale----- > Da: [EMAIL PROTECTED] per conto di Akos Balazs > Inviato: mar 09/01/2007 14.41 > A: [email protected] > Oggetto: Re: [Opensg-users] Linking Problems > > Hi Noris, > > On Tue, 9 Jan 2007, Noris Gioacchino wrote: > > >>I'm a student and I'm quite new to c++ libraries and so on, so consider >>I may have don really silly things. I work on windows with visual studio >>2005. Here is what I've done so far... I've downloaded the OpenSG 1.6 >>binaries (or whatever its called OpenSG-1.6.0-cl.net2005.exe), installed >>them. (btw all the .dsp tutorial files are corrupted in this release >>pack) > > > VS 2005 is not that well supported in 1.6 AFAIK. Could you perhaps try > first with a recent dailybuild > (http://www.opensg.org/dailybuild_logs/index.EN.html) and see if that > solves your problems? The .dsp/.sln files should also be correct in those. > > >>My project tries to use QT, Cal3D, and OpenSG. While the first two >>libraries seams to work well, I've problem with the latter. >> >>As I did for the others, I've put the include and lib path in the >>properties of visual studio. The include seams to work well, since the >>compilation goes well. The problem is the linking. I get these >>unresolved external symbols >>(http://n.ethz.ch/student/gnoris/download/_error.txt). > > > The archetypical windows problem is mixing debug/release libs as Carsten > just mentioned, however to me it looks more like you forgot to actually > include the .libs in the linker settings of your project/solution > (Project->Properties->Linker->Input->additional dependencies -- or to > whatever it's called in VS 2005 :). > > HTH, > Akos > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > -- VREC Robert-Bosch-Straße 7 D-64293 Darmstadt Tel. 06151-4921035 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
