KratosMultiphysics / Kratos

Kratos Multiphysics (A.K.A Kratos) is a framework for building parallel multi-disciplinary simulation software. Modularity, extensibility and HPC are the main objectives. Kratos has BSD license and is written in C++ with extensive Python interface.
https://kratosmultiphysics.github.io/Kratos/
Other
1.05k stars 246 forks source link

[Windows] Compilation ERROR #8030

Closed AlejandroCornejo closed 3 years ago

AlejandroCornejo commented 3 years ago

Hi all,

I've updated the master and some errors arised:

test_nurbs_curve.obj : error LNK2001: sÝmbolo externo "public: virtual void __cdecl Kratos::ConstitutiveLaw::CalculateMaterialResponse(class boost::numeric::ublas::vector<double,class boost::numeric::ub las::unbounded_array<double,class std::allocator > > const &,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int64,int64>,class boost::numer ic::ublas::unbounded_array<double,class std::allocator > > const &,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator > > &,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int64,int64>,class boost::numeric::ublas::unbounded_array<double,class std::allocator > > &,class Kratos::ProcessInfo const &,class Kratos::Properties const &,class Kratos::Geometry<class Kratos::Node<3,class Kratos::Dof > > const &,class boost::numeric::ublas::vector<double,class b oost::numeric::ublas::unbounded_array<double,class std::allocator > > const &,bool,int,bool)" (?CalculateMaterialResponse@ConstitutiveLaw@Kratos@@UEAAXAEBV?$vector@NV?$unbounded_array@NV?$alloca tor@N@std@@@ublas@numeric@boost@@@ublas@numeric@boost@@AEBV?$matrix@NU?$basic_row_major@_K_J@ublas@numeric@boost@@V?$unbounded_array@NV?$allocator@N@std@@@234@@456@AEAV3456@AEAV7456@AEBVProcessInfo@2@AE BVProperties@2@AEBV?$Geometry@V?$Node@$02V?$Dof@N@Kratos@@@Kratos@@@2@0_NH7@Z) sin resolver [D:\KRATOS_MULTIPHYSICS\Kratos\build\Release\kratos\KratosCore.vcxproj]

mapping_variables.obj : error LNK2001: sÝmbolo externo "public: virtual void __cdecl Kratos::ConstitutiveLaw::CalculateMaterialResponse(class boost::numeric::ublas::vector<double,class boost::numeric::u blas::unbounded_array<double,class std::allocator > > const &,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int64,int64>,class boost::nume ric::ublas::unbounded_array<double,class std::allocator > > const &,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator >

&,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int64,int64>,class boost::numeric::ublas::unbounded_array<double,class std::allocator > &,class Kratos::ProcessInfo const &,class Kratos::Properties const &,class Kratos::Geometry<class Kratos::Node<3,class Kratos::Dof > > const &,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator > > const &,bool,int,bool)" (?CalculateMaterialResponse@ConstitutiveLaw@Kratos@@UEAAXAEBV?$vector@NV?$unbounded_array@NV?$alloc ator@N@std@@@ublas@numeric@boost@@@ublas@numeric@boost@@AEBV?$matrix@NU?$basic_row_major@_K_J@ublas@numeric@boost@@V?$unbounded_array@NV?$allocator@N@std@@@234@@456@AEAV3456@AEAV7456@AEBVProcessInfo@2@A EBVProperties@2@AEBV?$Geometry@V?$Node@$02V?$Dof@N@Kratos@@@Kratos@@@2@0_NH7@Z) sin resolver [D:\KRATOS_MULTIPHYSICS\Kratos\build\Release\kratos\KratosCore.vcxproj]

etc... Any ideas? thx

RiccardoRossi commented 3 years ago

vicente recemtly.removed something that was deprecated in the cl...maybe that is the reason

On Wed, Dec 23, 2020, 3:21 PM Alejandro Cornejo Velázquez < notifications@github.com> wrote:

Hi all,

I've updated the master and some errors arised:

test_nurbs_curve.obj : error LNK2001: sÝmbolo externo "public: virtual void __cdecl Kratos::ConstitutiveLaw::CalculateMaterialResponse(class boost::numeric::ublas::vector<double,class boost::numeric::ub las::unbounded_array<double,class std::allocator > > const &,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int64,int64>,class boost::numer ic::ublas::unbounded_array<double,class std::allocator > > const &,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator > > &,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int64,int64>,class boost::numeric::ublas::unbounded_array<double,class std::allocator > > &,class Kratos::ProcessInfo const &,class Kratos::Properties const &,class Kratos::Geometry<class Kratos::Node<3,class Kratos::Dof > > const &,class boost::numeric::ublas::vector<double,class b oost::numeric::ublas::unbounded_array<double,class std::allocator > > const &,bool,int,bool)" (?CalculateMaterialResponse@ConstitutiveLaw @Kratos@@UEAAXAEBV?$vector@NV?$unbounded_array@NV?$alloca tor@N@std@@@uBLAS https://github.com/uBLAS@numeric@boost@@@uBLAS https://github.com/uBLAS@numeric@boost@@AEBV?$matrix@NU ?$basic_row_major@_K_J@ublas@numeric@boost@@v https://github.com/v ?$unbounded_array@NV?$allocator@N@std@@@234 https://github.com/234@@456 https://github.com/456@AEAV3456@AEAV7456@AEBVProcessInfo@2@AE BVProperties@2@AEBV?$Geometry@V?$Node@$02V?$Dof@N@Kratos@@@kratos https://github.com/kratos@@@2 https://github.com/2@0_NH7@Z) sin resolver [D:\KRATOS_MULTIPHYSICS\Kratos\build\Release\kratos\KratosCore.vcxproj]

mapping_variables.obj : error LNK2001: sÝmbolo externo "public: virtual void __cdecl Kratos::ConstitutiveLaw::CalculateMaterialResponse(class boost::numeric::ublas::vector<double,class boost::numeric::u blas::unbounded_array<double,class std::allocator > > const &,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int64,int64>,class boost::nume ric::ublas::unbounded_array<double,class std::allocator > > const &,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator >

&,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned int64,int64>,class boost::numeric::ublas::unbounded_array<double,class std::allocator > &,class Kratos::ProcessInfo const &,class Kratos::Properties const &,class Kratos::Geometry<class Kratos::Node<3,class Kratos::Dof > > const &,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator > > const &,bool,int,bool)" (?CalculateMaterialResponse@ConstitutiveLaw @Kratos@@UEAAXAEBV?$vector@NV?$unbounded_array@NV?$alloc ator@N@std@@@uBLAS https://github.com/uBLAS@numeric@boost@@@uBLAS https://github.com/uBLAS@numeric@boost@@AEBV?$matrix@NU ?$basic_row_major@_K_J@ublas@numeric@boost@@v https://github.com/v ?$unbounded_array@NV?$allocator@N@std@@@234 https://github.com/234@@456 https://github.com/456@AEAV3456@AEAV7456@AEBVProcessInfo@2@A EBVProperties@2@AEBV?$Geometry@V?$Node@$02V?$Dof@N@Kratos@@@kratos https://github.com/kratos@@@2 https://github.com/2@0_NH7@Z) sin resolver [D:\KRATOS_MULTIPHYSICS\Kratos\build\Release\kratos\KratosCore.vcxproj]

etc... Any ideas? thx

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/KratosMultiphysics/Kratos/issues/8030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5PWEODEGJKIA6ZLOBYOIDSWH4HRANCNFSM4VHBPDDQ .

philbucher commented 3 years ago

Have you tried a clean compilation?

AlejandroCornejo commented 3 years ago

Have you tried a clean compilation?

Doing it just in case!!

AlejandroCornejo commented 3 years ago

Have you tried a clean compilation?

As most of the cases you were right ;) now it compiles for some weird reason