Building on Linux

Get help with installing and running the Cafu Engine here. This forum is also for general questions and discussion of all aspects regarding the Cafu Engine.
User avatar
arfur9
Posts: 69
Joined: 2017-02-25, 18:57
Location: uk
Contact:

Building on Linux

Postby arfur9 » 2017-03-01, 11:42

I'm compiling Cafu on Linux Mint but I'm getting the following error
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.1
DISTRIB_CODENAME=serena
DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena"

Code: Select all

/usr/bin/ld: cannot find -lfbxsdk-static
collect2: error: ld returned 1 exit status
scons: *** [build/linux2/g++/release/CaWE/CaWE] Error 1
scons: building terminated because of errors.


The FBXSDK version I used is fbx20171_fbxsdk_linux

I mainly use this laptop as a back up so it was more just to have a matching version to my pc

Code: Select all

~/Cafu $ dir ExtLibs/fbx
FBX_SDK_Online_Documentation.html  lib      ReadmeCFS.txt
include               License.txt   samples
 ~/Cafu $ git log -1
commit 7eba8b48a58db585ec2d3b3c9cab6daa252399a9
Author: Carsten Fuchs <carsten.fuchs@cafu.de>
Date:   Sat Feb 18 22:28:05 2017 +0100

    FBX SDK: Upgrade to 2017.1.
User avatar
Carsten
Site Admin
Posts: 2130
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: Building on Linux

Postby Carsten » 2017-03-02, 10:55

I just pushed another commit that should fix this (tested under Ubuntu 16.04 LTS).
Please run git pull and try again. :up:
Best regards,
Carsten
User avatar
arfur9
Posts: 69
Joined: 2017-02-25, 18:57
Location: uk
Contact:

Re: Building on Linux

Postby arfur9 » 2017-03-02, 12:06

It appears to of compiled fine, I've quickly tested the world editor and that seems to work ok
thanks for the quick response :)
User avatar
arfur9
Posts: 69
Joined: 2017-02-25, 18:57
Location: uk
Contact:

Re: Building on Linux

Postby arfur9 » 2017-03-02, 18:58

Hi, just a quick update, this problem is still there, but I got it working again changing the cpp file:
viewtopic.php?f=6&t=1863&p=6907&hilit=svGame#p6907

Edit
I think I mentioned it, but I'll say it again I also had to do the alteration for windows to :)
User avatar
Carsten
Site Admin
Posts: 2130
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: Building on Linux

Postby Carsten » 2017-03-02, 21:50

Woah, I thought that I had fixed this earlier, but just figured out that I had initially committed the fix to a different branch, probably with the intention to cherry-pick it to master later.
Done now, the next git pull will cover it. :cheesy:
Best regards,
Carsten
User avatar
arfur9
Posts: 69
Joined: 2017-02-25, 18:57
Location: uk
Contact:

Re: Building on Linux

Postby arfur9 » 2017-03-02, 23:16

Thanks I'll update over the weekend :)

Return to “Cafu Engine Support and Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests