ivansafrin/Polycode

Linux build failed at Linking Studio

Opened this issue · 5 comments

I switched to the latest branch hoping I can compile on Linux but I get this error.

Linking [Studio/Polycode]
/usr/bin/ld: skipping incompatible ../../lib/linux/libfreetype.a when searching for -lfreetype
/usr/bin/ld: cannot find -lfreetype
/usr/bin/ld: skipping incompatible ../../lib/linux/libphysfs.a when searching for -lphysfs
/usr/bin/ld: cannot find -lphysfs
/usr/bin/ld: skipping incompatible ../../lib/linux/libportaudio.a when searching for -lportaudio
/usr/bin/ld: cannot find -lportaudio
/usr/bin/ld: skipping incompatible ../../lib/linux/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible ../../lib/linux/libGLEW.a when searching for -lGLEW
/usr/bin/ld: skipping incompatible ../../lib/linux/liblua.a when searching for -llua
/usr/bin/ld: cannot find -llua
collect2: error: ld returned 1 exit status
Makefile:115: recipe for target 'studio' failed
make: *** [studio] Error 1

Is there a stable source code somewhere that contains the latest branch that I can compile?

Because the new goodbye_cmake branch no longer downloads the dependencies, these are all libraries that you'll have to install yourself. Two things to note is that you'll need to compile portaudio yourself, and change makefile to look for the proper lua library (I am on ubuntu and have liblua5.3 installed so I changed it to -llua5.3)

These libraries I have them set in "lib" folder using the command: git submodule init/update

Hm, when I try using the the libraries from the submodule I get different errors than you do. @fodinabor is the submodule still the recommended way to setup and compile the goodbye_cmake?

Hey,
sorry - I had my E-Mail Notifications off.. yes.. the submodule should still be the recommended way... @Murii: did you change anything on the makefile? like using explicit 32/64bit? not sure how those libs are compiled..

@fodinabor I have not. Usually I first compile the project, toy around with it then make changes like that :)