Skip to content

Update to newer C standard and make OpenCV optional in basic API#3

Open
smartass101 wants to merge 3 commits into
jsolsen:masterfrom
smartass101:master
Open

Update to newer C standard and make OpenCV optional in basic API#3
smartass101 wants to merge 3 commits into
jsolsen:masterfrom
smartass101:master

Conversation

@smartass101
Copy link
Copy Markdown

I've updated some deprecated usage of gets and va_arg and also made the OpenCV (and jpeg) optional in the basic API, so that is not necessary to have these larger libraries for the simple exf1ctrl project.

the workaround with type casting from int does not work on newer systems
The C standard (2011) does not include gets anymore.
this removes the large OpenCV dependency for simpler applications like exf1ctrl,
and therefore, simplifies the installation and usage of the library

The OpenCV API is enabled by defining EXF1API_WITH_OPENCV as done
in the exf1Opencv example
Copy link
Copy Markdown

@RoboSchmied RoboSchmied left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That works.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants