X-CUBE-BLE1 Applications Compilation Issues with MDK-ARM - stm32

I am trying to compile X-Cube-Ble1 SensorDemo Application using MDK-ARM.
The path of the project is
STM32CubeExpansion_BLE1_V2.5.1\Projects\Multi\Applications\SensorDemo\MDK-ARM\STM32L053R8-Nucleo
but I am getting following compilation errors even though the files are present in the respective directories. I have not made any changes to the applications.
I just unzipped the X-Cube-Ble1 and tried to compile the applications provided in the zip.
Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'SensDemo_L053R8_NUCLEO'
assembling startup_stm32l053xx.s...
compiling main.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\Src\main.c: 0 warnings, 1 error
compiling bluenrg_interface.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\Src\bluenrg_interface.c: 0 warnings, 1 error
compiling clock.c...
..\..\Src\clock.c(39): error: #5: cannot open source input file "clock.h": No such file or directory
#include "clock.h"
..\..\Src\clock.c: 0 warnings, 1 error
compiling sensor_service.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\Src\sensor_service.c: 0 warnings, 1 error
compiling cube_hal_l0.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\Src\cube_hal_l0.c: 0 warnings, 1 error
compiling stm32xx_it.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\Src\stm32xx_it.c: 0 warnings, 1 error
compiling stm32l0xx_nucleo.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\..\..\..\..\Drivers\BSP\STM32L0xx_Nucleo\stm32l0xx_nucleo.c: 0 warnings, 1 error
compiling stm32_bluenrg_ble.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\..\..\..\..\Drivers\BSP\X-NUCLEO-IDB04A1\stm32_bluenrg_ble.c: 0 warnings, 1 error
compiling system_stm32l0xx.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\Src\system_stm32l0xx.c: 0 warnings, 1 error
compiling stm32l0xx_hal.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal.c: 0 warnings, 1 error
compiling stm32l0xx_hal_adc.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_adc.c: 0 warnings, 1 error
compiling stm32l0xx_hal_adc_ex.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_adc_ex.c": No such file or directory
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_adc_ex.c: 0 warnings, 1 error
compiling stm32l0xx_hal_cortex.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_cortex.c": No such file or directory
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_cortex.c: 0 warnings, 1 error
compiling stm32l0xx_hal_dma.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_dma.c: 0 warnings, 1 error
compiling stm32l0xx_hal_flash.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_flash.c": No such file or directory
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_flash.c: 0 warnings, 1 error
compiling stm32l0xx_hal_flash_ex.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_flash_ex.c": No such file or directory
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_flash_ex.c: 0 warnings, 1 error
compiling stm32l0xx_hal_gpio.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_gpio.c: 0 warnings, 1 error
compiling stm32l0xx_hal_pwr.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_pwr.c: 0 warnings, 1 error
compiling stm32l0xx_hal_pwr_ex.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_pwr_ex.c": No such file or directory
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_pwr_ex.c: 0 warnings, 1 error
compiling stm32l0xx_hal_rcc.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rcc.c: 0 warnings, 1 error
compiling stm32l0xx_hal_rcc_ex.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rcc_ex.c": No such file or directory
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rcc_ex.c: 0 warnings, 1 error
compiling stm32l0xx_hal_spi.c...
..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h(148): error: #5: cannot open source input file "stm32l053xx.h": No such file or directory
#include "stm32l053xx.h"
..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_spi.c: 0 warnings, 1 error
compiling hci.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\hci.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\hci.c: 0 warnings, 1 error
compiling bluenrg_gap_aci.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_gap_aci.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_gap_aci.c: 0 warnings, 1 error
compiling bluenrg_gatt_aci.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_gatt_aci.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_gatt_aci.c: 0 warnings, 1 error
compiling bluenrg_hal_aci.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_hal_aci.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_hal_aci.c: 0 warnings, 1 error
compiling bluenrg_l2cap_aci.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_l2cap_aci.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_l2cap_aci.c: 0 warnings, 1 error
compiling bluenrg_utils_small.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_utils_small.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_utils_small.c: 0 warnings, 1 error
compiling bluenrg_itf_template.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\Interface\bluenrg_itf_template.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\Interface\bluenrg_itf_template.c: 0 warnings, 1 error
compiling gp_timer.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\utils\gp_timer.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\utils\gp_timer.c: 0 warnings, 1 error
compiling list.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\utils\list.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\utils\list.c: 0 warnings, 1 error
compiling osal.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\utils\osal.c": No such file or directory
..\..\..\..\..\..\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\utils\osal.c: 0 warnings, 1 error
"STM32L053R8_NUCLEO\SensorDemoProject.axf" - 16 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:03

Related

Pljava/postgresql Installation error -fatal error: 'stdio.h' file not found

[INFO] --- pljava-pgxs:2-SNAPSHOT:scripted-goal (build-shared-object) # pljava-so ---
[INFO] Using compiling/linking rules for Mac OS X
clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk' [-Wmissing-sysroot]
clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk' [-Wmissing-sysroot]
In file included from /Users/deeps/Documents/Pega/pljava/pljava/pljava-so/src/main/c/ExecutionPlan.c:15:
In file included from /Library/PostgreSQL/14/include/postgresql/server/postgres.h:46:
/Library/PostgreSQL/14/include/postgresql/server/c.h:59:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^~~~~~~~~
1 error generated.

using legacy librealsense in qtcreator and cmake

I want to setup qt-creator for developing legacy librealsense in ubuntu16.04. I want to use CMake. I have librealsense installed on my system and the header files are in the "/usr/local/include" and the "librealsense.so" file is in the "/usr/local/lib". so I've created a simple CPP project with CMakeLists.txt and main.cpp files. my files are as follow:
main.cpp file:
#include <iostream>
#include <librealsense/rs.hpp>
int main()
{
rs::context ctx;
std::cout << "Hello World!" << std::endl;
return 0;
}
CMakeLists.txt file:
cmake_minimum_required(VERSION 2.8)
project(realsense_r200)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
find_library(librealsense REQUIRED)
add_executable(${PROJECT_NAME} "main.cpp")
target_link_libraries(${PROJECT_NAME} ${librealsense_LIBRARY})
target_include_directories(${PROJECT_NAME} PRIVATE ${librealsense_INCLUDE_DIR})
there are two problems:
find_library(), can't find the librealsense and in the CMake cache list, in front of librealsense, I get NOT_FOUND.
to solve the first problem I added the "librealsense.so" path manually in the cache list. so I have no errors in the generation of make files. but how can I set it up to find the path automatically?
when I try to build my project I have undefined reference errors to some methods as below:
CMakeFiles/realsense_r200.dir/main.cpp.o: In function `rs_apply_depth_control_preset(rs_device*, int)':
main.cpp:(.text+0x61d): undefined reference to `rs_set_device_options'
CMakeFiles/realsense_r200.dir/main.cpp.o: In function `rs_apply_ivcam_preset(rs_device*, rs_ivcam_preset)':
main.cpp:(.text+0x734): undefined reference to `rs_reset_device_options_to_default'
main.cpp:(.text+0x7d1): undefined reference to `rs_set_device_options'
main.cpp:(.text+0x869): undefined reference to `rs_set_device_options'
main.cpp:(.text+0x8ba): undefined reference to `rs_set_device_options'
CMakeFiles/realsense_r200.dir/main.cpp.o: In function `rs::error::error(rs_error*)':
main.cpp:(.text._ZN2rs5errorC2EP8rs_error[_ZN2rs5errorC5EP8rs_error]+0x2a): undefined reference to `rs_get_error_message'
main.cpp:(.text._ZN2rs5errorC2EP8rs_error[_ZN2rs5errorC5EP8rs_error]+0x74): undefined reference to `rs_get_failed_function'
main.cpp:(.text._ZN2rs5errorC2EP8rs_error[_ZN2rs5errorC5EP8rs_error]+0x9b): undefined reference to `rs_get_failed_function'
main.cpp:(.text._ZN2rs5errorC2EP8rs_error[_ZN2rs5errorC5EP8rs_error]+0x102): undefined reference to `rs_get_failed_args'
main.cpp:(.text._ZN2rs5errorC2EP8rs_error[_ZN2rs5errorC5EP8rs_error]+0x129): undefined reference to `rs_get_failed_args'
main.cpp:(.text._ZN2rs5errorC2EP8rs_error[_ZN2rs5errorC5EP8rs_error]+0x190): undefined reference to `rs_free_error'
CMakeFiles/realsense_r200.dir/main.cpp.o: In function `rs::context::context()':
main.cpp:(.text._ZN2rs7contextC2Ev[_ZN2rs7contextC5Ev]+0x30): undefined reference to `rs_create_context'
CMakeFiles/realsense_r200.dir/main.cpp.o: In function `rs::context::~context()':
main.cpp:(.text._ZN2rs7contextD2Ev[_ZN2rs7contextD5Ev]+0x1c): undefined reference to `rs_delete_context'
CMakeFiles/realsense_r200.dir/build.make:94: recipe for target 'realsense_r200' failed
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/realsense_r200.dir/all' failed
Makefile:83: recipe for target 'all' failed
collect2: error: ld returned 1 exit status
make[2]: *** [realsense_r200] Error 1
make[1]: *** [CMakeFiles/realsense_r200.dir/all] Error 2
make: *** [all] Error 2
18:32:02: The process "/usr/bin/cmake" exited with code 2.
Error while building/deploying project realsense_r200 (kit: Desktop)
When executing step "CMake Build"
as you see in the CMakeLists.txt file I've linked the "librealsense.so" file to the executable, why I get these errors and how can I solve it?
thanks for your help!!!
#
Edited Part
I changed my cmake file as below:
new CMake file:
cmake_minimum_required(VERSION 2.8)
project(realsense_r200)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
find_library(REALSENSE librealsense)
find_package(Threads)
add_executable(${PROJECT_NAME} "main.cpp")
target_link_libraries(${PROJECT_NAME} ${REALSENSE} ${CMAKE_THREAD_LIBS_INIT})
the undefined errors have gone, but I have new errors as below:
/usr/local/lib/librealsense.so: undefined reference to `std::thread::_State::~_State()#GLIBCXX_3.4.22'
/usr/local/lib/librealsense.so: undefined reference to `typeinfo for std::thread::_State#GLIBCXX_3.4.22'CMakeFiles/realsense_r200.dir/build.make:95: recipe for target 'realsense_r200' failed
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/realsense_r200.dir/all' failed
Makefile:83: recipe for target 'all' failed
/usr/local/lib/librealsense.so: undefined reference to `std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())#GLIBCXX_3.4.22'
collect2: error: ld returned 1 exit status
make[2]: *** [realsense_r200] Error 1
make[1]: *** [CMakeFiles/realsense_r200.dir/all] Error 2
make: *** [all] Error 2
23:35:55: The process "/usr/bin/cmake" exited with code 2.
Error while building/deploying project realsense_r200 (kit: Desktop)
When executing step "CMake Build"

How can I solve a "do_compile ERROR" when building a Yocto recipe with Toaster?

everytime I want to build the rpi-basic-image I get the following error:
DEBUG: Executing shell function do_compile
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
Using /home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source as source for kernel
CHK include/generated/utsrelease.h
CC scripts/mod/devicetable-offsets.s
In file included from /home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/include/linux/compiler.h:54:0,
from /home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/include/uapi/linux/stddef.h:1,
from /home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/include/linux/stddef.h:4,
from /home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/include/uapi/linux/posix_types.h:4,
from /home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/include/uapi/linux/types.h:13,
from /home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/include/linux/types.h:5,
from /home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/include/linux/mod_devicetable.h:11,
from /home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/scripts/mod/devicetable-offsets.c:2:
/home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/include/linux/compiler-gcc.h:121:30: fatal error: linux/compiler-gcc6.h: No such file or directory
#include gcc_header(__GNUC__)
^
compilation terminated.
/home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[4]: *** [scripts/mod/devicetable-offsets.s] Error 1
/home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/scripts/Makefile.build:403: recipe for target 'scripts/mod' failed
make[3]: *** [scripts/mod] Error 2
/home/dennis/poky/build-toaster-3/tmp/work-shared/raspberrypi2/kernel-source/Makefile:555: recipe for target 'scripts' failed
make[2]: *** [scripts] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/dennis/poky/build-toaster-3/tmp/work/raspberrypi2-poky-linux-gnueabi/linux-raspberrypi/1_4.1.21+gitAUTOINC+ff45bc0e89-r0/temp/log.do_compile.11315)
Does anybody know how to solve it and what's the reason for it?
Thanks
This has been noticed on the yocto#yoctoproject.org mailing list.
Seems to be resolved with a patch, but I did not test it- I'm only forwarding the conversation and hoping this will help.
Last mail from the thread:
http://article.gmane.org/gmane.linux.embedded.yocto.general/30168/match=gcc+6.1+raspi
Patch used: http://article.gmane.org/gmane.linux.embedded.yocto.general/30093/

CMake cannot find include libpq-fe.h

I'm trying to build a program which requieres libpq-fe.h include file.
This file is in E:\MinGW\msys\1.0\local\pgsql\include
In my CMakeLists.txt I have:
cmake_minimum_required(VERSION 3.0)
# declare project
PROJECT(localscp)
set(pg_SOURCE_DIR /usr/local/pgsql)
INCLUDE_DIRECTORIES(
"E:/MinGW/msys/1.0/local/psql/include"
)
# declare executables
ADD_EXECUTABLE(localscp localscp.cc)
TARGET_LINK_LIBRARIES(localscp
dl pthread z pq)
When I do cmake . I get:
-- Configuring done
-- Generating done
-- Build files have been written to: E:/informemedico/localscp
When I do mingw32-make I get:
[ 50%] Building CXX object CMakeFiles/localscp.dir/localscp.cc.obj
E:\informemedico\localscp\localscp.cc:24:22: fatal error: libpq-fe.h: No such file or directory compilation terminated.
CMakeFiles\localscp.dir\build.make:62: recipe for target 'CMakeFiles/localscp.dir/localscp.cc.obj' failed
mingw32-make[6]: *** [CMakeFiles/localscp.dir/localscp.cc.obj] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/localscp.dir/all' failed
mingw32-make[5]: *** [CMakeFiles/localscp.dir/all] Error 2
makefile:82: recipe for target 'all' failed
mingw32-make[4]: *** [all] Error 2
Why the compiler can't find that include file?.

how to upload linkr button

when I install plg.linkr_button.upgrade-any-to-2.3.7.zip & uplad file it gives error Install plugin error & this message
/home/abc/tmp/install_4d0239a35bd0f/plg.linkr_button/linkr_button.php to /home/abc/plugins/editors-xtd/linkr_button.php
OR when I upload super installer directly then it gives this error
Warning: LinkrInstaller::require_once(/home/abc/administrator/components/com_linkr/defines.php) [function.require-once]: failed to open stream: No such file or directory in /home/abc/administrator/components/com_linkr/install.linkr.php on line 207
Fatal error: LinkrInstaller::require_once() [function.require]: Failed opening required '/home/abc/administrator/components/com_linkr/defines.php' (include_path='.:/usr/local/lib/php') in /home/abc/administrator/components/com_linkr/install.linkr.php on line 207
Either the update is meesed up or you do not have permission to read the uploaded file.