# Geomerative Library error

**URL:** <https://discourse.processing.org/t/geomerative-library-error/43304>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [November 25, 2023, 7:36am UTC](https://discourse.processing.org/t/geomerative-library-error/43304 "2023-11-25T07:36:46Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![freesheida1984](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Post date:** [November 25, 2023, 7:36am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/1 "2023-11-25T07:36:46Z")

</div>

hi folks,  
I got an error after I installed “Geomerative” library for run a robot based on Arduino Uno, how can I fix the problem? the error I got is as followed:  
“more than one library is competing for this sketch” while I jusy installed Geomerative library once.

---

<div class="post-metadata">

**Author:** ![matheplica](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/matheplica/32/21035_2.png) [@matheplica](https://discourse.processing.org/u/matheplica)\
**Post date:** [November 25, 2023, 12:52pm UTC](https://discourse.processing.org/t/geomerative-library-error/43304/2 "2023-11-25T12:52:29Z")

</div>

A geomerative library import is in conflict with other needed for your sketch.  
Try to remove other library one by one and see if your sketch run.

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [November 25, 2023, 2:04pm UTC](https://discourse.processing.org/t/geomerative-library-error/43304/3 "2023-11-25T14:04:59Z")

</div>

Hi

Try to run example sketch from the library examples note that on GitHub the library contains some files for two versions

---

<div class="post-metadata">

**Author:** ![freesheida1984](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Post date:** [November 27, 2023, 2:59am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/4 "2023-11-27T02:59:24Z")

</div>

all examples which are in Geomerative library examples run without ant problem, just I could not run my code ☹

---

<div class="post-metadata">

**Author:** ![freesheida1984](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Post date:** [November 27, 2023, 3:01am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/5 "2023-11-27T03:01:37Z")

</div>

in the address I installed processing, there is just one folder for library which consists of “Geomerative” library. no other library exists ☹ I don’t know how can I fix the problem!

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [November 27, 2023, 3:27am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/6 "2023-11-27T03:27:27Z")

</div>

> [@freesheida1984](#):
>
> more than one library is competing for this sketch

It doesn’t say more than one ‘Geomerative’ library. It could be that _Geomerative_ adds another library that you already have.

Could you post the code that fails, including Arduino code if you want to use that as well? Did that error message come from Processing editor or Arduino editor?

---

<div class="post-metadata">

**Author:** ![freesheida1984](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Post date:** [November 30, 2023, 2:02am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/7 "2023-11-30T02:02:07Z")

</div>

([GitHub - DUCO2020/DUCO: a robotic system towards circuit fabrication on vertical surface](https://github.com/DUCO2020/DUCO))

---

<div class="post-metadata">

**Author:** ![freesheida1984](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Post date:** [November 30, 2023, 2:04am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/8 "2023-11-30T02:04:06Z")

</div>

I send its code in Github, could you please help me with that, I fix the problem regarding the conflict in libraries, but the processing file has some errors in the code since it composed of different files,I don’t know how can I fix it.

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [November 30, 2023, 5:53am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/9 "2023-11-30T05:53:13Z")

</div>

> I fix the problem regarding the conflict in libraries

How did you do that?

When I try to run DucoGUI.pde I get the following error message:

 ![duco2](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/e/2/e2654e1157201b9ac5e19e3d46e9e1774fe69cc2.png)

The Geomerative library is required for RShape, so it appears that throwing away SVG Export (part of Processing) is your only option and I have no idea if that is even possible.

Observation:  
There is a _fisica_ example called _Letters_ which also uses this font and generates the same error message when trying to run it. However when the two apache font import calls are REMmed out it runs without error.

I tried remming out the font calls in both of the RFont.java files found in Geomerative but the error message persisted. The only way I could get DucoGUI.pde to run was to leave out the Geomerative import, but then RShape is missing and there are other problems. I would be interested to know how you resolved the duplicate library problem.

---

<div class="post-metadata">

**Author:** ![freesheida1984](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Post date:** [November 30, 2023, 6:14am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/10 "2023-11-30T06:14:57Z")

</div>

I just change the version of processing software from 4.3 to 2.2.1  
you can try it moreover I add 3 different libraries in processing called: geomerative, diewald\_CV\_kit, controlP5

---

<div class="post-metadata">

**Author:** ![freesheida1984](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Post date:** [November 30, 2023, 6:17am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/11 "2023-11-30T06:17:02Z")

</div>

no the problem I have now is that some parts of the codes are not defined well, I don’t know how c

 ![problem](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/5/a/5a032c7dca52a0065d527870fb561ad7bfed5e60.jpeg)  
an I fix the whole?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [November 30, 2023, 7:43am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/12 "2023-11-30T07:43:11Z")

</div>

Hello @freesheida1984,

> [@freesheida1984](#):
>
> “more than one library is competing for this sketch”

I got this error with Processing 4.3 on W10

It worked for me with Processing 3.5.4 on W10 as is:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/6/4/641e59c01e428838ff2329b32ebd6d98e345d3d7.png)

The library is 3 years old so I used the version of Processing that I assumed it was developed on.

Libraries on Processing 3.5.4 that I have installed:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/7/7/774ca9726c69860fdb785aa56e59bb9f6fe17b7f.png)

`:)`

---

<div class="post-metadata">

**Author:** ![freesheida1984](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Post date:** [November 30, 2023, 7:12pm UTC](https://discourse.processing.org/t/geomerative-library-error/43304/13 "2023-11-30T19:12:22Z")

</div>

Sounds good, does the code comply without any error for you? although I installed all your libraries it gives me the following error:

 ![Capture](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/4/f/4fa8a6a15cc7ad617f5caa75e11184c03293680c.jpeg)

what about Arduino code, does it run for you as well?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [December 3, 2023, 1:20pm UTC](https://discourse.processing.org/t/geomerative-library-error/43304/14 "2023-12-03T13:20:35Z")

</div>

> [@freesheida1984](#):
>
> I installed all your libraries

Only install the ones your require. _ControlP5_ and _Geomerative_ are required from the import statements in your code.

Which version of _ControlP5_ are you using?

I always have a separate sketchbook folder for Processing 2, Processing 3 and Processing 4 to avoid any potential conflicts.

Example for P3:

![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/a/7/a78b0f84e679ce367e7ea9a2b858724b01ad64e3.png)

`:)`

---

<div class="post-metadata">

**Author:** ![freesheida1984](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@freesheida1984](https://discourse.processing.org/u/freesheida1984)\
**Post date:** [December 6, 2023, 6:01am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/15 "2023-12-06T06:01:52Z")

</div>

much appreciated, it works now 🙂  
but I have the same problem with its Arduino code as well. is it needed to change the version of Arduino IDE I use, since this code was for 3 years before? at the moment I use version 1.8.10

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [December 6, 2023, 7:16am UTC](https://discourse.processing.org/t/geomerative-library-error/43304/16 "2023-12-06T07:16:27Z")

</div>

> [@freesheida1984](#):
>
> but I have the same problem with its Arduino code as well. is it needed to change the version of Arduino IDE I use, since this code was for 3 years before?

Either IDE should work.  
You need to have the firmware and correct libraries installed.

See _Tools \> Manage libraries…_ in the either of the IDEs

This will take some effort on your part.

I just looked at the _DucoFirmware.ino_ and it states:

```auto
/**
* DUCO - CORE
* the main file to run this firmware
* Make sure you have correct hardware setup and wiring
* then this firmware works reliably
*/

```

References:

- [GitHub - DUCO2020/DUCO: a robotic system towards circuit fabrication on vertical surface](https://github.com/DUCO2020/DUCO) \< Has a comment on the library needed.
- [https://github.com/DUCO2020/DUCO/tree/master/DucoFirmware](https://github.com/DUCO2020/DUCO/tree/master/DucoFirmware)

`:)`
