B4J Question Library is declared twice.

Tim Chapman

Active Member
Licensed User
Longtime User
I uploaded my OpenAI library to my post here: https://www.b4x.com/android/forum/threads/openai-library.163668/

In doing so, I am switching from using it as a class module in my code which I removed.

Having done that, when I open the IDE, I get the error: OpenAI is declared twice. You should either remove the library reference or the code module.

I uploaded 3 files to the the post above:

The one called OpenAIUtils Works.zip functions properly when you open the IDE using the class module.

The one called OpenAIUtils.zip gives the error when I open the IDE. It uses the library which I put in my additional libraries folder.

The one called OpenAI.b4xlib is, of course, the library.

This library module is the first time I have released a library for the public, so I may have done something wrong.

Thank you in advance for the help!
 
Top