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
externar c libraries
- Attachments
-
- settings.JPG (39.53 KiB) Viewed 8528 times
Hi Rafa,
we do not know which problem you have. Could you send us the error messages of you building error?
Mathias
we do not know which problem you have. Could you send us the error messages of you building error?
Mathias
!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.
!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.
- juergen
- Official 3rd Party Support logi.cals
- Posts: 37
- Joined: 10 Nov 2016, 14:14
- Location: St. Pölten
- Contact:
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
and the information in the logi.CAD 3 online help (http://help.logicals.com/pages/viewpage ... =266503191) doesn´t help?
Regards,
Jürgen
-
- Posts: 2
- Joined: 29 Jan 2018, 12:26
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?
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?
-
- Posts: 2
- Joined: 29 Jan 2018, 12:26
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