0

我不断收到这个错误,我不知道如何解决这个问题.... gcc 编译器是 64 位的...... .o 文件也是 64 位的......关于解决这个问题的任何想法?

LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM

make[1]: Nothing to be done for `tcl'.

make[2]: Nothing to be done for `tcl'.

Undefined symbols for architecture x86_64:

  "SMAMaterial::SMAMaterial(int, double, double, double, double, double, double)", referenced from:
      TclModelBuilderUniaxialMaterialCommand(void*, Tcl_Interp*, int, char const**, Domain*) in libOpenSees.a(TclModelBuilderUniaxialMaterialCommand.o)

"SuperelasticSMA::SuperelasticSMA(int, double, double, double, double, double, double, double, double, double, double, double)", referenced from:
      TclModelBuilderUniaxialMaterialCommand(void*, Tcl_Interp*, int, char const**, Domain*) in libOpenSees.a(TclModelBuilderUniaxialMaterialCommand.o)

ld: symbol(s) not found for architecture x86_64

collect2: error: ld returned 1 exit status

make[1]: *** [tcl] Error 1

make: *** [all] Error 2

如果我查看 TclModelBuilderUniaxisMaterialCommand.o 那么错误是:

SMA�Warning insufficient arguments
�Want: uniaxialMaterialSMA  tag  E  eps_L  sig_AS_s  sig_AS_f  sig_SA_s  sig_SA_f��������warning invalid uniaxialMaterial SMA tag�warning invalid E
�uniaxialMaterial SMA: �warning invalid eps_L
�warning invalid sig_AS_s
�warning invalid sig_AS_f
�warning invalid sig_SA_s
�warning invalid sig_SA_f
�SuperelasticSMA�������Want: uniaxialMaterial SuperelasticSMA tag? elasticStiffness? positiveYieldStress? positiveUnloadingStress? positiveStrainHardeningRatio?�������                                       { positiveSecondYieldStrain? } {positiveSecondStrainHardeningRatio?}�����WARNING invalid uniaxialMaterial SuperelasticSMA tag����WARNING invalid elasticStiffness
�������uniaxiaMaterial SuperelasticSMA: �������WARNING invalid positiveYieldStress
����WARNING invalid positiveUnloadingStress
��������WARNING invalid positiveStrainHardeningRatio
���WARNING invalid positiveSecondYieldStrain
������WARNING invalid positiveSecondStrainHardeningRatio
�����WARNING invalid negativeYieldStress
����WARNING invalid negativeUnloadingStress
��������WARNING invalid negativeStrainHardeningRatio
���WARNING invalid negativeSecondYieldStrain
������WARNING invalid negativeSecondStrainHardeningRatio

我在 PC 上使用 Visual Basic 编译时使用了这些相同的代码,但我在 Mac 上再次执行此操作时遇到了这些问题。

想法?

4

0 回答 0