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

switch_to_fiber_emulation does not work properly #1250

Closed
hkaiser opened this Issue Sep 6, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@hkaiser
Member

hkaiser commented Sep 6, 2014

When using the new cmake build system with MSVC, the switch_to_fiber_emulation does not work properly, the object file is not generated and included into the project. This can be reproduced by setting HPX_SWAP_CONTEXT_EMULATION=On which will cause linker errors.

@hkaiser hkaiser added this to the 0.9.9 milestone Sep 6, 2014

@sithhell sithhell closed this in d15a464 Sep 8, 2014

@hkaiser

This comment has been minimized.

Show comment
Hide comment
@hkaiser

hkaiser Sep 8, 2014

Member

Now I'm seeing:

2>LINK : error LNK2001: unresolved external symbol switch_to_fiber
2>D:/Devel/hpx/build/All.vc12/Debug/lib/hpx_serializationd.lib : fatal error LNK1120: 1 unresolved externals

i.e. the hpx_serialization library tries to link against it (that's probably a /export:switch_to_fiber which gets added to the linker command line of this module).

Member

hkaiser commented Sep 8, 2014

Now I'm seeing:

2>LINK : error LNK2001: unresolved external symbol switch_to_fiber
2>D:/Devel/hpx/build/All.vc12/Debug/lib/hpx_serializationd.lib : fatal error LNK1120: 1 unresolved externals

i.e. the hpx_serialization library tries to link against it (that's probably a /export:switch_to_fiber which gets added to the linker command line of this module).

@hkaiser hkaiser reopened this Sep 8, 2014

sithhell added a commit that referenced this issue Sep 8, 2014

@hkaiser

This comment has been minimized.

Show comment
Hide comment
@hkaiser

hkaiser Sep 8, 2014

Member

Fixed now, thanks!

Member

hkaiser commented Sep 8, 2014

Fixed now, thanks!

@hkaiser hkaiser closed this Sep 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment