Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to loadTotalModelFromObj #8

Closed
quyanqiu opened this issue Jul 15, 2019 · 2 comments
Closed

undefined reference to loadTotalModelFromObj #8

quyanqiu opened this issue Jul 15, 2019 · 2 comments

Comments

@quyanqiu
Copy link

Hi,guys,when I compile your code in CentOS7,at the final link step it said:

undefined reference to "loadTotalModelFromObj"
undefined reference to "loadModelColorFromObj"
undefined reference to "loadTotalDataFromJson"
undefined reference to "loadCocoPlusRegressor"
undefined reference to "writeFrameParam"
undefined reference to "readFramParam"

do you know how to fix that?

@xiangdonglai
Copy link
Collaborator

The functions are all there:

void LoadTotalModelFromObj(TotalModel &totalm, const std::string &path)

void writeFrameParam(const std::string filename, const smpl::SMPLParams& frame_params)

You might want to make sure those files are correctly added to the library and compiled

file(GLOB SOURCES "src/*.cpp")

@quyanqiu
Copy link
Author

actually other function in simple.cpp and totalModel.cpp can be linked successfully,only these six function can not be found reference,that's so weired

@quyanqiu quyanqiu closed this as completed Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants