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

MSVC CMake Debug (x64) builds cannot run due to sigc++ #4658

Open
fluffyfreak opened this issue Aug 5, 2019 · 6 comments

Comments

@fluffyfreak
Copy link
Contributor

commented Aug 5, 2019

Observed behaviour

Use CMake to generate Visual Studio 2019 project
Open it and choose Debug x64
Build All
...
Once built attempt to run the Pioneer project,
It will stall on https://github.com/pioneerspacesim/pioneer/blob/master/src/Pi.cpp#L524 and if it ever progresses beyond it then it must take at least 10 minutes on a high-end machine but I've never waited that long...

This makes it much harder to debug under MSVC since we cannot run a full Debug build

Expected behaviour

That it works like it used too.

Steps to reproduce

see above

My pioneer version (and OS):
Windows 10, Visual Studio 2019

@pcercuei

This comment has been minimized.

Copy link
Contributor

commented Aug 5, 2019

Does it hang in the connect(), or in the ptr_fun()?

@fluffyfreak

This comment has been minimized.

Copy link
Contributor Author

commented Aug 7, 2019

I think it's in the connect()

EDIT: It seems to construct the iterator ok, but after that I can't step in any further, probably gone into the DLL and that's all I can find out so far.

@pcercuei

This comment has been minimized.

Copy link
Contributor

commented Aug 7, 2019

I know that on Windows you can have Release and Debug DLLs, should we use a Debug DLL for use with the debug build of Pioneer then?

@fluffyfreak

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2019

@pcercuei I have the horrible feeling this is why the sigcpp static lib exists(/ed) because I was never able to resolve it any other way.

@pcercuei

This comment has been minimized.

Copy link
Contributor

commented Aug 8, 2019

I guess you can switch back to using the static library, yeah.

@fluffyfreak

This comment has been minimized.

Copy link
Contributor Author

commented Aug 8, 2019

@pcercuei the PR(s) I've just submitted shouldn't change anything for now, just remove the old Visual Studio projects except for vs2019. That one should work again and the CMake generated project should still use the DLLs.

I'll work to get everything resolved eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.