externar c libraries

Topics about the Software of Revolution Pi
Post Reply
rafa
Posts: 6
Joined: 30 Jan 2017, 09:08

externar c libraries

Post by rafa »

Hello,

I'm trying integrated external libraries for use c-blocks.
I want to use libmysqlclient.a for save data into a database but I have a building error.
I installed this library in revPi using apt-get install libmysqlclient-dev and I included the Library paths and library name in the settings. (see attached file)

I don't know what are I doing wrong.

Thanks.
Rafa
Attachments
settings.JPG
settings.JPG (39.53 KiB) Viewed 8529 times
User avatar
Mathias
Posts: 130
Joined: 29 Nov 2016, 10:46

Re: externar c libraries

Post by Mathias »

Hi Rafa,

we do not know which problem you have. Could you send us the error messages of you building error?

Mathias
rafa
Posts: 6
Joined: 30 Jan 2017, 09:08

Re: externar c libraries

Post by rafa »

!ENTRY com.logicals.buildservice 4 0 2017-02-02 10:21:12.803
!MESSAGE The application for the PLC cannot be created. Check the views "Error Log" and "Problems" for more information.
!STACK 0
com.logicals.ptk.ninja.PlatformToolkitCodeGenerationException: An error occurred during compiling or linking the code image (error code: 1).
at com.logicals.ptk.ninja.PlatformToolkitNinjaCodeBuilder.generateCode(PlatformToolkitNinjaCodeBuilder.java:70)
at com.logicals.ptk.ninja.PlatformToolkitNinja.generateCode(PlatformToolkitNinja.java:45)
at com.logicals.buildservice.BuildProgramJob.generateCodeImage(BuildProgramJob.java:354)
at com.logicals.buildservice.BuildProgramJob.generateCodeImageSubJob(BuildProgramJob.java:289)
at com.logicals.buildservice.BuildProgramJob.performBuildTasks(BuildProgramJob.java:152)
at com.logicals.buildservice.BuildProgramJob.run(BuildProgramJob.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY com.logicals.targetproxy 4 0 2017-02-02 10:21:12.837
!MESSAGE The code image could not be created.
User avatar
juergen
Official 3rd Party Support logi.cals
Posts: 37
Joined: 10 Nov 2016, 14:14
Location: St. Pölten
Contact:

Re: externar c libraries

Post by juergen »

Dear Rafa,

and the information in the logi.CAD 3 online help (http://help.logicals.com/pages/viewpage ... =266503191) doesn´t help?

Regards,
Jürgen
tekisri0609
Posts: 2
Joined: 29 Jan 2018, 12:26

Re: externar c libraries

Post by tekisri0609 »

ERROR:
com.logicals.ptk.ninja.PlatformToolkitCodeGenerationException: An error occurred during compiling or linking the code image (error code: 1).
at com.logicals.ptk.ninja.PlatformToolkitNinjaCodeBuilder.generateCode(PlatformToolkitNinjaCodeBuilder.java:85)
at com.logicals.ptk.ninja.PlatformToolkitNinja.generateCode(PlatformToolkitNinja.java:47)
at com.logicals.buildservice.BuildProgramJob.generateCodeImage(BuildProgramJob.java:303)
at com.logicals.buildservice.BuildProgramJob.generateCodeImageSubJob(BuildProgramJob.java:234)
at com.logicals.buildservice.BuildProgramJob.performBuildTasks(BuildProgramJob.java:152)
at com.logicals.buildservice.BuildProgramJob.lambda$0(BuildProgramJob.java:68)
at com.logicals.common.performance.MeasuringInstrument.measureSupplier(MeasuringInstrument.java:102)
at com.logicals.buildservice.BuildProgramJob.run(BuildProgramJob.java:51)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

The link provided is not working. Can you please explain how to troubleshoot this?
tekisri0609
Posts: 2
Joined: 29 Jan 2018, 12:26

Re: externar c libraries

Post by tekisri0609 »

Can you provide the new link to the problem.
juergen wrote: 02 Feb 2017, 13:42 Dear Rafa,

and the information in the logi.CAD 3 online help (http://help.logicals.com/pages/viewpage ... =266503191) doesn´t help?

Regards,
Jürgen
Post Reply