openframeworks / openframeworks/projectGenerator

projectGenerator error : parsing ofxOpenCv addon_config.mk

Open
#228 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
90
Forks
79
Avg merge
2d 9h
Merged PRs (30d)
5

Description

I had a issue with projectGenerator on linux.
oF from git and official release v0.11.0 on arch linux.

[notice ] -----------------------------------------------
[notice ] setting OF path to: /home/icq4ever/oF
[notice ] from PG_OF_PATH environment variable
[notice ] target platform is: linux64
[notice ] updating project /home/icq4ever/oF/addons/ofxOpticalFlowFarneback/example
[ error ] Error parsing ofxOpenCv addon_config.mk
		line 128: android/arm64-v8a:
		sectionName unknown not recognized
[notice ] parsing addons.make
[ error ] Error parsing ofxOpenCv addon_config.mk
		line 128: android/arm64-v8a:
		sectionName unknown not recognized
[notice ] saving addons.make
[notice ] project updated! 
[notice ] -----------------------------------------------

pg cannot understand android/arm64-v8a sectionName?

128 android/arm64-v8a:
129     ADDON_LIBS =
130     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_dnn.a
131     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_photo.a
132     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_stitching.a
133     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_calib3d.a
134     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_features2d.a
135     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_objdetect.a
136     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_video.a
137     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_videoio.a
138     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_imgproc.a
139     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_ml.a
140     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_core.a
141     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libopencv_flann.a
142     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/libquirc.a
143     ADDON_LIBS += libs/opencv/lib/android/arm64-v8a/liblibprotobuf.a

after commentout line 128-143, it works.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the projectGenerator failure using the ofxOpenCv addon_config.mk section at line 128, especially the android/arm64-v8a header and its library entries. Trace the addon_config.mk parser to determine why that section name is rejected; done means the project updates without the parsing error while preserving the Android configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, linux
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.