Amrvis icon indicating copy to clipboard operation
Amrvis copied to clipboard

Amrvis 3D Compilation Error

Open shivajimedida opened this issue 6 years ago • 4 comments

Hi,

I am seeing the following error when trying to compile the 3D version of Amrvis. I have a compiled version of volpack library at the same directory level as amrex and Amrvis.

../volpack/libvolpack.a(vp_renderC.o):(.data.rel.ro+0x20): undefined reference to VPCompAC1NB' ../volpack/libvolpack.a(vp_renderC.o):(.data.rel.ro+0x30): undefined reference to VPCompAC1NB' collect2: error: ld returned 1 exit status Make.rules:47: recipe for target 'amrvis3d.gnu.ex' failed make: *** [amrvis3d.gnu.ex] Error 1

Thanks

shivajimedida avatar Mar 09 '20 15:03 shivajimedida

Could you try

make DIM=3 XTRLIBS=-Wl,--unresolved-symbols=ignore-all

WeiqunZhang avatar Mar 09 '20 16:03 WeiqunZhang

Hi Weiqun, thanks for the suggestion. It's still showing the same error with the additional flags.

shivajimedida avatar Mar 09 '20 16:03 shivajimedida

I just ran into this issue on a new Ubuntu20 installation. My guess is some ubuntu package is missing as it works on every other Ubuntu20 system I've encountered that is configured with the full CCSE list. But I can't figure out which one.

ajnonaka avatar Jan 11 '22 19:01 ajnonaka

Did you rebuild volpack on the new machine?

WeiqunZhang avatar Jan 11 '22 19:01 WeiqunZhang