Hi.

On May 9, 2011, at 19:59, Andres Ussa Caycedo <ac...@msn.com> wrote:

> On 05/09/2011 02:36 AM, Gerrit Voß wrote:
>> Hi,
>> 
>> On Mon, 2011-05-09 at 02:08 -0500, Andres Ussa Caycedo wrote:
>> 
>>> On 05/09/2011 01:43 AM, Gerrit Voß wrote:
>>> 
>>>> Hi,
>>>> 
>>>> 
>>> Ok, thank you so much, that worked perfectly, now, the linking totally
>>> failed... it could not find anything... :S
>>> 
>>> here is the pastebin:
>>> 
>>> http://pastebin.com/TsvWsGYp
>>> 
>>> Where did I mess up?
>>> 
>>> Should I recompile OpenSG and inVRs?
>>> 
>> that should not be necessary. It looks like the linker just does
>> not know where to find the OpenSG libraries, the easiest way to
>> tell him without modifying the cmake system is to set LD_LIBRARY_PATH
>> so that it includes the OpenSG library installation directory. For
>> example if you had OpenSG installed in /home/andres/OpenSG you would
>> do
>> 
>> export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/andres/OpenSG/lib
>> 
>> to point to the OpenSG libraries. Adjust the path according to your
>> installation, you need it to run the example anyway.
>> 
>> (side note, if LD_LIBRARY_PATH is not set you can leave out the first
>>  ${LD...}: part)
>> 
>> kind regards
>>   gerrit
>> 
> Hi, where should I add that? I put it in the .cpp file, at the top of 
> it, and this is what I got:

that was meant for the shell from which you call make. Once before
you call make.

> 
> I suppose I'm doing it wrong... and also, I know it is a silly question, 
> but how do I know where the OpenSG/lib folder was created... I did a 
> default build of OpenSG, don't quite know where it is... :S

IIRC either in the build directory inside the install subdirectory or under 
/usr/local/lib.
Haven't build 1.x for a while.

try something like 

find /usr/local | grep -i osgbase

or instead of /usr/local your OpenSG source directory. That should show 
where libOSGBase.so is located (if inside either dir)

kind regards
    gerrit
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to