jongough / testplugin_pi

Pluing to test JSON and ODAPI
GNU General Public License v3.0
3 stars 9 forks source link

Pypilot_pi update to TP 1.0.193 #250

Closed rgleason closed 1 year ago

rgleason commented 2 years ago

Any ideas?

https://github.com/rgleason/pypilot_pi

3 Flatpak does not seem to be building, doesn't find wxWidgets I think.

  An interface source of target "pypilot_pi" has a relative path.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
  wxWidgets_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindwxWidgets.cmake:1008 (find_package_handle_standard_args)
  libs/wxservdisc/src/CMakeLists.txt:22 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/circleci/project/build/CMakeFiles/CMakeOutput.log".

Exited with code exit status 1

CircleCI received exit code 1

https://app.circleci.com/pipelines/github/rgleason/pypilot_pi/88/workflows/8ce4115e-30fe-41b2-9781-c94057fa44ab/jobs/1208


Also xenial seems to have trouble with a new library that Sean added. https://app.circleci.com/pipelines/github/rgleason/pypilot_pi/90/workflows/46a6d3a6-3349-4b44-9c32-425f842e882b/jobs/1226

/usr/bin/cmake -E cmake_link_script CMakeFiles/pypilot_pi.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -pthread -g  -Wl,-Bsymbolic -shared -Wl,-soname,libpypilot_pi.so -o libpypilot_pi.so CMakeFiles/pypilot_pi.dir/src/pypilot_pi.cpp.o CMakeFiles/pypilot_pi.dir/src/pypilot_client.cpp.o CMakeFiles/pypilot_pi.dir/src/pypilotDialog.cpp.o CMakeFiles/pypilot_pi.dir/src/GainsDialog.cpp.o CMakeFiles/pypilot_pi.dir/src/ConfigurationDialog.cpp.o CMakeFiles/pypilot_pi.dir/src/StatisticsDialog.cpp.o CMakeFiles/pypilot_pi.dir/src/pypilotClientDialog.cpp.o CMakeFiles/pypilot_pi.dir/src/pypilotUI.cpp.o CMakeFiles/pypilot_pi.dir/src/icons.cpp.o CMakeFiles/pypilot_pi.dir/src/CalibrationDialog.cpp.o CMakeFiles/pypilot_pi.dir/src/CalibrationPlot.cpp.o CMakeFiles/pypilot_pi.dir/libs/wxJSON/src/jsonreader.cpp.o CMakeFiles/pypilot_pi.dir/libs/wxJSON/src/jsonval.cpp.o CMakeFiles/pypilot_pi.dir/libs/wxJSON/src/jsonwriter.cpp.o CMakeFiles/pypilot_pi.dir/src/jsoncpp/json_reader.cpp.o CMakeFiles/pypilot_pi.dir/src/jsoncpp/json_value.cpp.o CMakeFiles/pypilot_pi.dir/src/jsoncpp/json_writer.cpp.o CMakeFiles/pypilot_pi.dir/src/plugingl/pidc.cpp.o CMakeFiles/pypilot_pi.dir/src/plugingl/pi_shaders.cpp.o CMakeFiles/pypilot_pi.dir/src/plugingl/TexFont.cpp.o CMakeFiles/pypilot_pi.dir/src/plugingl/qtstylesheet.cpp.o libs/wxservdisc/src/libwxservdisc.a -L/usr/lib/x86_64-linux-gnu -pthread -lwx_baseu-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_net-3.0 -lwx_baseu_xml-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_aui-3.0 -lwx_gtk2u_gl-3.0 /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgthread-2.0.so /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so /usr/lib/x86_64-linux-gnu/libpangoxft-1.0.so /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so /usr/lib/x86_64-linux-gnu/libbz2.so /usr/lib/x86_64-linux-gnu/libz.so 
/usr/bin/ld: libs/wxservdisc/src/libwxservdisc.a(1035.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
libs/wxservdisc/src/libwxservdisc.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/pypilot_pi.dir/build.make:634: recipe for target 'libpypilot_pi.so' failed
make[2]: *** [libpypilot_pi.so] Error 1
make[2]: Leaving directory '/home/circleci/project/build'
CMakeFiles/Makefile2:172: recipe for target 'CMakeFiles/pypilot_pi.dir/all' failed
make[1]: *** [CMakeFiles/pypilot_pi.dir/all] Error 2
make[1]: Leaving directory '/home/circleci/project/build'
Makefile:152: recipe for target 'all' failed
make: *** [all] Error 2

Exited with code exit status 2

CircleCI received exit code 2
rgleason commented 1 year ago

Old