Author Topic: Undefined reference (SOLVED)  (Read 18440 times)

Offline jury

  • Multiple posting newcomer
  • *
  • Posts: 18
Re: Undefined reference
« Reply #15 on: May 15, 2021, 04:12:32 pm »
Just for the reference.
I managed to build this project. I used Meld to check out differences between the files cmake generated for Code::Blocks (cmake with -G "CodeBlocks - Unix Makefiles") and files generated by cmake in command line and besides a lot of differences regarding Code::Blocks I found out that in CMakeCache.txt for CB there is this libpython2.7a used and in CMakeCache.txt generated in command line there is libpython2.7.so
I changed this .a to .so and the project builds fine.
Thanks all for help.