Package Details: openframeworks 0.12.0-3

Git Clone URL: https://aur.archlinux.org/openframeworks.git (read-only, click to copy)
Package Base: openframeworks
Description: An open source C++ toolkit for creative coding.
Upstream URL: http://openframeworks.cc/
Keywords: coding creative dev graphics toolkit
Licenses: MIT
Submitter: marcs
Maintainer: marcs
Last Packager: marcs
Votes: 19
Popularity: 0.000028
First Submitted: 2015-09-27 13:41 (UTC)
Last Updated: 2024-03-15 11:30 (UTC)

Pinned Comments

marcs commented on 2020-01-02 12:43 (UTC) (edited on 2020-01-02 13:08 (UTC) by marcs)

I know @damir, for some reason it's a path problem with aur-helpers, it seems that if the helper saves the package in a hidden folder then the Makefile fails.

For example yay saves this package in $HOME/.cache/yay/openframeworks (which is awful IMO) and start building it. If you move the package folder to a non hidden folder (like your $HOME folder for example) then the build works.

It's a bug with OpenFrameworks, hopefully will be resolved.

For now clone this package and build it with makepkg.

Latest Comments

1 2 3 4 5 6 Next › Last »

Popolon commented on 2023-12-23 22:21 (UTC) (edited on 2023-12-23 22:51 (UTC) by Popolon)

this is strange, there are rules for linux64 and linux but only x86_64 in arch(), what about what about ARM/RISC−V ? Will try on these platforms.

The syntax at line 32 should be ==, not =, else you will do an assignment, not a test of equality:

  if [ "$ARCH" == "x86_64" ]; then

FirstAirBender commented on 2023-10-17 04:25 (UTC)

Please remove DLAGENTS. It is conflicting with user defined DLAGENTS in makepkg.conf

marcs commented on 2023-10-01 10:17 (UTC)

Working on v0.12.0, there are a few compilation errors to fix, and OF will not work on wayland, AFAIK OF doesn't still support it, there's a dependency "glfw-x11" that blocks wayland support atm.

jmcb commented on 2023-06-21 15:08 (UTC)

I'd find it convenient if you created an openframeworks-meta package that has all the dependencies in it, then this package just depends on that.

See what the matlab package is doing: https://aur.archlinux.org/packages/matlab-meta

The benefit of this is I can depend on the same stuff without having to compile the whole hting

donarturo commented on 2023-02-25 21:17 (UTC) (edited on 2023-02-25 21:23 (UTC) by donarturo)

@marcs Pull Request: https://github.com/donarturo11/openframeworks-aur

From d7d3ec8c679159a773ae9027879bd1b5b8d26754 Mon Sep 17 00:00:00 2001
From: Artur Wrona <arturwrona91@gmail.com>
Date: Sat, 25 Feb 2023 21:55:55 +0100
Subject: [PATCH] Add KerrickStaley's patch

---
 PKGBUILD | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index adc677d..9be118a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,9 +16,11 @@ install=openframeworks.install
 source=(
   "of-make-workspace"
   "https://openframeworks.cc/versions/v${pkgver}/of_v${pkgver}_linux64gcc6_release.tar.gz"
+  "https://gist.githubusercontent.com/kerrickstaley/7f8c65a27a1f4e79a942235b87c1f0c0/raw/28f7d0dd94237076f72b8eaf2e009831d7d61a5d/fix-libsndfile-error.patch"
 )
 sha256sums=('b4fc38288595df566f770018d871970fb13fb2ad4af7e9e5cddc60288f338806'
-            '9907beae6c786751470f5a55f1273280f3c240b4a93ce0c4a32c4a62b401470c')
+            '9907beae6c786751470f5a55f1273280f3c240b4a93ce0c4a32c4a62b401470c'
+            'SKIP')

 _name="of_v${pkgver}_linux64gcc6_release"

@@ -50,6 +52,8 @@ prepare() {
    JOBS="$OPTARG"
     esac
   done
+  cd ${srcdir}/${_name}
+  patch -p1 < ${srcdir}/fix-libsndfile-error.patch
 }

 build() {
-- 
2.39.2

KerrickStaley commented on 2022-07-27 02:19 (UTC) (edited on 2022-07-27 02:20 (UTC) by KerrickStaley)

I got the build error "conflicting declaration 'typedef struct sf_private_tag SNDFILE'" when trying to build this.

This issue was fixed in https://github.com/openframeworks/openFrameworks/pull/6932 which hasn't made it into the stable release.

I uploaded this change as a patch to https://gist.github.com/kerrickstaley/7f8c65a27a1f4e79a942235b87c1f0c0 . You can build with this patch by running the following commands:

makepkg --nobuild
(cd src/of_v0.11.2_linux64gcc6_release && curl https://gist.githubusercontent.com/kerrickstaley/7f8c65a27a1f4e79a942235b87c1f0c0/raw/28f7d0dd94237076f72b8eaf2e009831d7d61a5d/fix-libsndfile-error.patch | patch -p1)
makepkg --noextract

bazza commented on 2022-05-14 16:02 (UTC)

Compiling gave me this error:

Compiling projectGenerator for Release
Linking bin/projectGenerator for linux64
../sysdeps/x86_64/start.S:103: error: undefined reference to 'main'
collect2: error: ld returned 1 exit status
make[1]: *** [/home/bazza/.cache/pikaur/build/openframeworks/src/of_v0.11.2_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:405: bin/projectGenerator] Error 1
make: *** [/home/bazza/.cache/pikaur/build/openframeworks/src/of_v0.11.2_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

TheEgg commented on 2021-12-10 19:36 (UTC)

Is anyone able to build this? It fails for me both from paru and just makepkg:

Compiling projectGenerator for Release Linking bin/projectGenerator for linux64 /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/Scrt1.o:init.c:function _start: error: undefined reference to 'main' collect2: error: ld returned 1 exit status

marcs commented on 2021-06-08 12:14 (UTC)

@wercobast boost-libs is already included as a dependency by including boost