Jump to content
aiaf

Ubuntu 18.04 and Leadwerks

Recommended Posts

Ubuntu 18.04 was just released and is a lts version i did a fresh install on my laptop.

So i can report Leadwerks is working well.

 

After installing a bunch of missing dependencies, got lots of errors on linking:

/usr/bin/x86_64-linux-gnu-ld: Source/Libs/Leadwerks/Library/Linux/Debug/Leadwerks.a(dgCollisionChamferCylinder.o): relocation R_X86_64_32 against symbol `_ZTV26dgCollisionChamferCylinder' can not be used when making a PIE object; recompile with -fPIC

The fix was to add in CXX_FLAGS -no-pie option. Dont know the details of this but solved the issue.

 Cheers

  • Thanks 2

Share this post


Link to post

Keep in mind you might run into an issue in which the engine will require libcurl3 but the OS has libcurl4 installed by default (or vise versa.)

  • Like 1

Share this post


Link to post

A short while ago I post the libcurl issue on the Steam discussion with the title "Ubuntu 18.04 -> `CURL_OPENSSL_3' not found". Later I figured out a workaround, but it requires the Professional Edition DLC.

"Looks like a workaround has been found. If a project is opened up using the Leadwerks editor, and attempted to run it fails, due to the problem indicated above. However, if the project is opened up in Codeblocks, recompiled, and then reopened up in Leadwerks it will run as it should. This test was performed using Leadwerks 4.5 and requires the Profession Edition DLC."

Share this post


Link to post

I just installed Ubuntu 18 on my laptop. I will see if maybe we can drop the lib right into the dir and do it that way.

  • Thanks 1

Share this post


Link to post

Tbh we should do this for every dependency possible. Definitely if 4.6 is the final release of the engine unless you wish to maintain it every 2-4 years once a new LTS ships.

Share this post


Link to post

I tried Leadwerks on a new install of Ubuntu 18.04 and it worked fine, except that it can't initialize graphics because I can't get the proprietary driver installed on my laptop.

Share this post


Link to post

seem to remember you have nvidia mobile gpu or is that wrong

mobile graphic are a pain as lot of the time as the driver for full gpu dont have the mobile id in them to work

 

Share this post


Link to post

Try looking up your model with Linux in the search. Usually there is somebody else trying to do the same thing.

To clarify, you got the driver from the repo or a Deb on the internet. The Nvidia package in the repo should have worked.

Then again, the computer was designed to run Windows but Nvidia is usually good about drivers.

Share this post


Link to post

I suppose you first tried the ubuntu updater in gui and that didn't work either.Thats usual way to install.

You could try ubuntu 18.10, is not an lts version.

Share this post


Link to post

Does anyone have a comment on this, rather than on my graphics drivers?:

On 12/23/2018 at 8:46 PM, Josh said:

I tried Leadwerks on a new install of Ubuntu 18.04 and it worked fine, except that it can't initialize graphics because I can't get the proprietary driver installed on my laptop.

 

Share this post


Link to post

The program launches just fine. When you start Leadwerks the first time, graphics are not initialized until a project is created. The fact that the program starts means all required libraries are present.

Share this post


Link to post

can you not ssh in on the ubuntu 

as normal once you in you should be able to fix or check the log files /var/log

 

Share this post


Link to post
On 12/27/2018 at 2:52 PM, Josh said:

Since my Ubuntu install is now bricked I am not going to try it.

@Josh

Did you mess up your xorg.config?

Usually installing graphics drivers causes displays to get lost.

If you press Ctrl + Alt + F4 this will give you a command line login without GPU.

If you are still in Utah we can meet up some time so I can try to help you resolve it. Having an Ubuntu version of Leadwerks is important to me. 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...