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

New application: "undefined reference to 'init_unit_test_suite(int, char**)'" #143

Closed
BeatrizMOliveira opened this issue Feb 21, 2017 · 9 comments

Comments

@BeatrizMOliveira
Copy link

I tried adding new applications to the project. Now I get this error:
screenshot 2017-02-21 12 10 38

@magnific0
Copy link
Member

Hi @BeatrizMOliveira,
That seems like it is unrelated to your application. So just to be sure, can you push your code to your private repository and invite me.
Jacco

@magnific0
Copy link
Member

@BeatrizMOliveira, just a quick follow up: are you confident the error comes from compiling only your application? Instead of pushing to GitHub you can also post your MyApplication/CMakeLists.txt and the top part of your application that contains all the #include statements in the issue here.
From the looks of it, the error is caused by an application trying to use Boost unit test framework code (e.g. #include<boost/test/unit_test.hpp> without properly linking the library).

@BeatrizMOliveira
Copy link
Author

CMakeLists.txt
#include <Tudat/SimulationSetup/tudatSimulationHeader.h>

@DominicDirkx
Copy link
Member

There doesn't seem to be any new application in the CMakeLists.

Which steps did you take to try to add an application to the project?

@BeatrizMOliveira
Copy link
Author

I removed the comments from the entries for the Solution (after creating a file with the name)

@BeatrizMOliveira
Copy link
Author

I think it's been solved.

@magnific0
Copy link
Member

Great to hear! What was the solution?

@magnific0 magnific0 changed the title Adding new applications New application: "undefined reference to 'init_unit_test_suite(int, char**)'" Feb 22, 2017
@BeatrizMOliveira
Copy link
Author

Honestly, I don't know. Importing a new instance of the application to clean up the code and I stopped getting the error.

@magnific0
Copy link
Member

Alright, great! I'm closing the issue then.

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

3 participants