build of urbanlightscape fails on 32-bit

You think you have found a bug? Let us know about it.
Post Reply
User avatar
ibka
Posts: 158
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

build of urbanlightscape fails on 32-bit

Post by ibka »

I am trying to build urbanlightscape on Salix xfce 14.1 32-bit but it fails.
First it fails on boost, boost is a dependencies.

After installing boost it fails with this:

Code: Select all

In file included from src/indii/illum/gui/../model/../../krig/EdgeDistanceMap.hpp:21:0,
                 from src/indii/illum/gui/../model/../../krig/SimpleKriger.hpp:16,
                 from src/indii/illum/gui/../model/IllumModel.hpp:17,
                 from src/indii/illum/gui/IllumDocument.hpp:16,
                 from src/indii/illum/gui/IllumWindow.hpp:16,
                 from src/indii/illum/gui/IllumApp.cpp:15:
/usr/lib/gcc/i486-slackware-linux/4.8.2/include/xmmintrin.h:31:3: error: #error "SSE instruction set not enabled"
 # error "SSE instruction set not enabled"
   ^
In file included from src/indii/illum/gui/../model/../../krig/SimpleKriger.hpp:16:0,
                 from src/indii/illum/gui/../model/IllumModel.hpp:17,
                 from src/indii/illum/gui/IllumDocument.hpp:16,
                 from src/indii/illum/gui/IllumWindow.hpp:16,
                 from src/indii/illum/gui/IllumApp.cpp:15:
src/indii/illum/gui/../model/../../krig/EdgeDistanceMap.hpp:62:3: error: '__m128' does not name a type
   __m128 threshold(const __m128 x, const __m128 k);
   ^
src/indii/illum/gui/../model/../../krig/EdgeDistanceMap.hpp:76:8: error: '__m128' does not name a type
 inline __m128 indii::EdgeDistanceMap::threshold(const __m128 x, const __m128 k) {
        ^
src/indii/illum/gui/IllumApp.cpp: In member function 'virtual void indii::IllumApp::splash()':
src/indii/illum/gui/IllumApp.cpp:27:19: warning: unused variable 'splash' [-Wunused-variable]
   wxSplashScreen* splash = new wxSplashScreen(Splash(_img_illum_splash),
                   ^
make: *** [src/indii/illum/gui/IllumApp.o] Error 1
fakeroot -- sh urbanlightscape.SlackBuild Failed
There is no problem on 64-bit
Image
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: build of urbanlightscape fails on 32-bit

Post by gapan »

Confirmed. There is something wrong with the slackbuild. Try this:

Code: Select all

cd /usr/src/slapt-src/graphics/urbanlightscape
sudo vi urbanlightscape.SlackBuild
go to lines 44 and 47 and change them to:

Code: Select all

SLKCFLAGS="-O2 -march=native"
save and exit and then:

Code: Select all

sudo sh ./urbanlightscape.SlackBuild
and the package should be built and you can install it with:

Code: Select all

sudo spkg /tmp/urbanlightscape-*.txz
Worked for me at least...
Image
Image
User avatar
ibka
Posts: 158
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: build of urbanlightscape fails on 32-bit

Post by ibka »

Before i noticed your answer, i found another way yesterday to get it to compile.
I added -msse to that lines
Image
Post Reply