Code Monkey home page Code Monkey logo

Comments (1)

schrmh avatar schrmh commented on June 8, 2024

Repo needs to be cloned with the --recursive flag:
git clone --recursive https://github.com/dnasdw/bclimtool

But then I get this after running make within the build directory:

[  9%] Building CXX object src/CMakeFiles/bclimtool.dir/bclim.cpp.o
[ 18%] Building CXX object src/CMakeFiles/bclimtool.dir/bclimtool.cpp.o
[ 27%] Building CXX object src/CMakeFiles/bclimtool.dir/__/dep/libsundaowen/sdw_crc32.cpp.o
[ 36%] Building CXX object src/CMakeFiles/bclimtool.dir/__/dep/libsundaowen/sdw_dir.cpp.o
[ 45%] Building CXX object src/CMakeFiles/bclimtool.dir/__/dep/libsundaowen/sdw_file.cpp.o
[ 54%] Building CXX object src/CMakeFiles/bclimtool.dir/__/dep/libsundaowen/sdw_main.cpp.o
[ 63%] Building CXX object src/CMakeFiles/bclimtool.dir/__/dep/libsundaowen/sdw_module.cpp.o
[ 72%] Building CXX object src/CMakeFiles/bclimtool.dir/__/dep/libsundaowen/sdw_shell.cpp.o
[ 81%] Building CXX object src/CMakeFiles/bclimtool.dir/__/dep/libsundaowen/sdw_string.cpp.o
[ 90%] Building CXX object src/CMakeFiles/bclimtool.dir/__/dep/libsundaowen/sdw_type.cpp.o
[100%] Linking CXX executable ../../bin/Release/bclimtool
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(png.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngerror.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngget.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngmem.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngread.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngrio.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngrtran.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngrutil.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngset.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngtrans.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngwrite.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngwutil.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngwio.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/zlib/lib/linux_x86_64/libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/zlib/lib/linux_x86_64/libz.a(deflate.o): relocation R_X86_64_32S against symbol `zcalloc' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/zlib/lib/linux_x86_64/libz.a(inflate.o): relocation R_X86_64_32S against symbol `zcalloc' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/zlib/lib/linux_x86_64/libz.a(inftrees.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/zlib/lib/linux_x86_64/libz.a(inffast.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/zlib/lib/linux_x86_64/libz.a(trees.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/zlib/lib/linux_x86_64/libz.a(zutil.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: /home/duda/bclimtool/dep/libpng/lib/linux_x86_64/libpng16.a(pngmem.c.o): warning: relocation against `memset@@GLIBC_2.2.5' in read-only section `.text'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [src/CMakeFiles/bclimtool.dir/build.make:241: ../bin/Release/bclimtool] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/bclimtool.dir/all] Fehler 2
make: *** [Makefile:136: all] Fehler 2

Will try this now: jabcode/jabcode#19

Edit: Well, yeah I executed cmake .. instead of cmake -DUSE_DEP=OFF .. but with the flag the errors related to libpng16 don't appear.
Closing this issue now.

from bclimtool.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.