Page 1 of 1
externar c libraries
Posted: 02 Feb 2017, 09:40
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
Re: externar c libraries
Posted: 02 Feb 2017, 09:52
by Mathias
Hi Rafa,
we do not know which problem you have. Could you send us the error messages of you building error?
Mathias
Re: externar c libraries
Posted: 02 Feb 2017, 10:22
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.
Re: externar c libraries
Posted: 02 Feb 2017, 13:42
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
Re: externar c libraries
Posted: 29 Jan 2018, 12:30
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?
Re: externar c libraries
Posted: 29 Jan 2018, 12:33
by tekisri0609
Can you provide the new link to the problem.