IPB Style© Fisana

Jump to content


ActorEditor runtime linking problem in linux


  • Please log in to reply
5 replies to this topic

#1 howlingflute

howlingflute

  • Community Members
    Pip

  • Discens
    (59 posts)

Posted 10 August 2011 - 06:16 PM

I encountered a problem when I tried to run the ActorEditor on linux. When trying to run the binary I get the following error:

./ActorEditor: error while loading shared libraries: ../../../binaries/system/libAtlasUI.so: cannot open shared object file: No such file or directory

I also get a similar error when trying to run the ColourTester
./ColourTester: error while loading shared libraries: ../../../binaries/system/libAtlasUI.so: cannot open shared object file: No such file or directory

I am compiling from svn. I get the same runtime errors regardless if I try either of the premake systems (the old default one or the new one).

running ldd ./ActorEditor gives me the following results
linux-vdso.so.1 => (0x00007fffa9dff000)
../../../binaries/system/libAtlasUI.so => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fa9220c7000)
libc.so.6 => /lib/libc.so.6 (0x00007fa921d43000)
libm.so.6 => /lib/libm.so.6 (0x00007fa921ac0000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa9223ee000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fa9218aa000)

I tried changing the LD_LIBRARY_PATH variable to include ~/0ad/binaries/system but it didn't help. The the libary libAtlasUI.so does exist in ~/0ad/binaries/system so I don't know why I am getting this runtime error.

#2 historic_bruno

historic_bruno

  • WFG Programming Team

  • Primus Pilus
    (1,923 posts)

Posted 10 August 2011 - 09:35 PM

View Posthowlingflute, on 10 August 2011 - 06:16 PM, said:

I encountered a problem when I tried to run the ActorEditor on linux. When trying to run the binary I get the following error:

./ActorEditor: error while loading shared libraries: ../../../binaries/system/libAtlasUI.so: cannot open shared object file: No such file or directory

I also get a similar error when trying to run the ColourTester
./ColourTester: error while loading shared libraries: ../../../binaries/system/libAtlasUI.so: cannot open shared object file: No such file or directory

I am compiling from svn. I get the same runtime errors regardless if I try either of the premake systems (the old default one or the new one).

running ldd ./ActorEditor gives me the following results
linux-vdso.so.1 => (0x00007fffa9dff000)
../../../binaries/system/libAtlasUI.so => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fa9220c7000)
libc.so.6 => /lib/libc.so.6 (0x00007fa921d43000)
libm.so.6 => /lib/libm.so.6 (0x00007fa921ac0000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa9223ee000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fa9218aa000)

I tried changing the LD_LIBRARY_PATH variable to include ~/0ad/binaries/system but it didn't help. The the libary libAtlasUI.so does exist in ~/0ad/binaries/system so I don't know why I am getting this runtime error.

I don't think either of those tools are being used anymore, so they probably haven't been maintained. In fact, I mean to delete ColourTester soon, since it has no use.

The Actor Viewer mode in Atlas is a rough approximation of those tools, though as far as I know, we have no UI for editing entities.
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben@wildfiregames.com

#3 Shield Bearer

Shield Bearer

  • 0 A.D. Art Team

  • Primus Pilus
    (1,579 posts)

Posted 11 August 2011 - 08:59 AM

actually we do use the ActorEditor :)
Amish Coelho [aka Shield Bearer aka gAMeboy]
Wildfire Games Art Department
Contact me: amish13@gmail.com
AIM handle: Mythgamer
MSN Account: amish13@live.com


"The fate of 0 AD is in the hands of those who have vision and perseverance." - Ken Wood

#4 Mythos_Ruler

Mythos_Ruler

  • 0 A.D. Project Leader

  • Megas Philhellene
    (13,782 posts)

Posted 11 August 2011 - 06:30 PM

Right, ActorEditor is not integrated into Atlas (yet?) only the ActorViewer (which used to be separate from both Atlas and ActorEditor). It is an integral component of creating actors. I use it often.
Michael D. Hafer [aka Mythos_Ruler]

Wildfire Games Project Leader
Contact me: michaeldhafer[at]gmail.com
Support Wildfire Games!


0 A.D.

#5 historic_bruno

historic_bruno

  • WFG Programming Team

  • Primus Pilus
    (1,923 posts)

Posted 11 August 2011 - 09:31 PM

View PostMythos_Ruler, on 11 August 2011 - 06:30 PM, said:

Right, ActorEditor is not integrated into Atlas (yet?) only the ActorViewer (which used to be separate from both Atlas and ActorEditor). It is an integral component of creating actors. I use it often.
But how, I can't even get it to run? If it's something we use, then that needs to be fixed...
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben@wildfiregames.com

#6 historic_bruno

historic_bruno

  • WFG Programming Team

  • Primus Pilus
    (1,923 posts)

Posted 11 August 2011 - 10:14 PM

Found the problem, at least in Windows it's a manifest issue, so I copied bits of http://svn.wildfireg...in/manifest.cpp to http://svn.wildfireg...ActorEditor.cpp and now for the first time, I can run Actor Editor O.o
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben@wildfiregames.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users