lavavu / LavaVu

Lightweight, Automatable Visualisation & Analysis Viewing Utility
Other
53 stars 12 forks source link

Pip3 install fails on MacOS 10.14 #67

Closed OKaluza closed 5 years ago

OKaluza commented 5 years ago
duplicate symbol __ZN7lodepng6decodeERNSt3__16vectorIhNS0_9allocatorIhEEEERjS6_RNS_5StateERKS4_ in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __Z16lodepng_add_textP11LodePNGInfoPKcS2_ in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __Z17lodepng_add_itextP11LodePNGInfoPKcS2_S2_S2_ in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __Z17lodepng_info_swapP11LodePNGInfoS0_ in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZN7lodepng5StateaSERKS0_ in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZN7lodepng5StateC2ERKS0_ in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZN7lodepng5StateC1ERKS0_ in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol _LODEPNG_VERSION_STRING in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZTVN7lodepng5StateE in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZTSN7lodepng5StateE in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZTIN7lodepng5StateE in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZN7lodepng6encodeERNSt3__16vectorIhNS0_9allocatorIhEEEEPKhjjRNS_5StateE in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZN7lodepng6encodeERNSt3__16vectorIhNS0_9allocatorIhEEEERKS4_jjRNS_5StateE in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZN7lodepng9load_fileERNSt3__16vectorIhNS0_9allocatorIhEEEERKNS0_12basic_stringIcNS0_11char_traitsIcEENS2_IcEEEE in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  duplicate symbol __ZN7lodepng9save_fileERKNSt3__16vectorIhNS0_9allocatorIhEEEERKNS0_12basic_stringIcNS0_11char_traitsIcEENS2_IcEEEE in:

      build/temp.macosx-10.14-x86_64-3.7/src/png/lodepng.o

  ld: 103 duplicate symbols for architecture x86_64

  clang: error: linker command failed with exit code 1 (use -v to see invocation)

  error: command 'clang++' failed with exit status 1
OKaluza commented 5 years ago

@lmoresi tracking this here

OKaluza commented 5 years ago

Should be fixed in ab84aa4f10b17704c984bcb609adcbd123c29227 lodepng.cpp was included twice on mac/linux if libpng not detected

lmoresi commented 5 years ago

Confirmed - fixed.

Prof Louis Moresi

louis.moresi@unimelb.edu.aumailto:louis.moresi@unimelb.edu.au

(w) +61 3 8344 1217

(m) +61 4 0333 1413

(us) +1 505 349 4425

www.moresi.infohttp://www.moresi.info/

www.facebook.com/underworldcodehttp://www.facebook.com/underworldcode

@LouisMoresihttps://twitter.com/LouisMoresi

On 7 May 2019, 3:39 PM +1000, Owen Kaluza notifications@github.com, wrote:

Should be fixed in ab84aa4https://github.com/OKaluza/LavaVu/commit/ab84aa4f10b17704c984bcb609adcbd123c29227 lodepng.cpp was included twice on mac/linx if libpng not detected

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/OKaluza/LavaVu/issues/67#issuecomment-489915850, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADABPI23V4E5AIIVVFICBGLPUEIX7ANCNFSM4HKR3Y2Q.