Skip to content

Undefined referencies of domain #22

Open
@luchete80

Description

@luchete80

/usr/bin/ld: CMakeFiles/gpuweldform.dir/main.cpp.o: in function main': main.cpp:(.text+0x1ec): undefined reference to SPH::Domain::Kernel_Set(Kernels_Type const&)'
/usr/bin/ld: CMakeFiles/gpuweldform.dir/main.cpp.o: in function SPH::Domain::WholeVelocity()': main.cpp:(.text._ZN3SPH6Domain13WholeVelocityEv[_ZN3SPH6Domain13WholeVelocityEv]+0x2a8): undefined reference to SPH::EOS(unsigned long const&, double const&, double const&, double const&, double const&)'
/usr/bin/ld: CMakeFiles/gpuweldform.dir/main.cpp.o: in function SPH::Domain::Solve(double, double, double, char const*, unsigned long)': main.cpp:(.text._ZN3SPH6Domain5SolveEdddPKcm[_ZN3SPH6Domain5SolveEdddPKcm]+0x20e): undefined reference to SPH::Domain::StartAcceleration(Vector const&)'
/usr/bin/ld: main.cpp:(.text._ZN3SPH6Domain5SolveEdddPKcm[_ZN3SPH6Domain5SolveEdddPKcm]+0x2f0): undefined reference to SPH::Domain::ClearNbData()' /usr/bin/ld: main.cpp:(.text._ZN3SPH6Domain5SolveEdddPKcm[_ZN3SPH6Domain5SolveEdddPKcm]+0x605): undefined reference to SPH::Domain::PrimaryComputeAcceleration()'
/usr/bin/ld: main.cpp:(.text._ZN3SPH6Domain5SolveEdddPKcm[_ZN3SPH6Domain5SolveEdddPKcm]+0x64b): undefined reference to SPH::Domain::LastComputeAcceleration()' /usr/bin/ld: main.cpp:(.text._ZN3SPH6Domain5SolveEdddPKcm[_ZN3SPH6Domain5SolveEdddPKcm]+0xa2e): undefined reference to SPH::Domain::AdaptiveTimeStep()'
/usr/bin/ld: main.cpp:(.text._ZN3SPH6Domain5SolveEdddPKcm[_ZN3SPH6Domain5SolveEdddPKcm]+0xab0): undefined reference to SPH::Domain::ClearNbData()' /usr/bin/ld: CMakeFiles/gpuweldform.dir/main.cpp.o: in function SPH::Domain::YZPlaneCellsNeighbourSearch(int)':
main.cpp:(.text._ZN3SPH6Domain27YZPlaneCellsNeighbourSearchEi[_ZN3SPH6Domain27YZPlaneCellsNeighbourSearchEi]+0x24): undefined reference to `omp_get_thread_num'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/gpuweldform.dir/build.make:100: src/gpuweldform] Error 1
make[1]: *** [CMakeFiles/Makefile2:135: src/CMakeFiles/gpuweldform.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions