ofxPof
ofxPof copied to clipboard
standalone compilation errors
Hi, First of all, thanks for your job and for sharing it. I am currently trying to compile the exampleStandalone but i encounter some errors:
Compiling exampleStandalone for Release make[1]: Entering directory '/home/zeugma/openFrameworks/apps/myApps/exampleStandalone' HOST_OS=Linux checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal libcurl glfw3 rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 with PKG_CONFIG_LIBDIR= ../../../libs/openFrameworksCompiled/project/makefileCommon/config.addons.mk:210: *** missing separator. Stop. make[1]: Leaving directory '/home/zeugma/openFrameworks/apps/myApps/exampleStandalone' make: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
I am running ubuntu 19.04. Can you give details on how to use your OF libs for linux 64bit? I have checked your releases page but i am not sure i set it up correctly. Thanks.
Hi, thanks for trying Pof!
First of all, I didn't update Pof for OF>0.9.x, so I think you could have better results using e.g OF0.9.8 (your makefileCommon/config.addons.mk seems more recent).
About the 64 libs, this is only needed for compiling Pof as a Pd external (i.e dynamic library). It won't hurt for compiling as standalone, but if you're only interested by the latter, you can skip this step in the first place.
-
Download https://github.com/Ant1r/ofxPof/releases/download/v0.1.0/OF_libs_64bit_FPIC.tar.gz, extract it, then move every folder it contains to OF_PATH/libs (overwriting the original ones). Also, as noted in the included README, you will need to update the file /libs/openFrameworksCompiled/project/linux64/config.linux64.default.mk with the included one (which only adds "PLATFORM_CFLAGS += -fPIC").
-
Then you will certainly need to download https://github.com/Ant1r/ofxPof/releases/download/v0.1.0/poco-linux64bit-fPIC-gcc5.tar.bz2, and replace OF_PATH/libs/poco folder by this new one.