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

xeus-cpp does not work on Windows #144

Open
JohanMabille opened this issue Jun 12, 2024 · 3 comments
Open

xeus-cpp does not work on Windows #144

JohanMabille opened this issue Jun 12, 2024 · 3 comments
Labels

Comments

@JohanMabille
Copy link
Collaborator

System information

  • xeus-cpp version: v0.5
  • Operating System: Windows
  • CPU architecture (x86,arm,etc): x86_64

Description of issue

Trying to execute the first cell of the notebooks/xeus-cpp.ipynb makes the kernel restart forever (with xeus-cpp 0.5).
Trying the same thing with a local build of current main branch gives thefollowing error:

JIT session error: Symbols not found: [ __emutls_v._Init_thread_epoch, __emutls_get_address, _Init_thread_header, _Init_thread_footer, ??3@YAXPEAX_K@Z, ??_7type_info@@6B@, ?_Facet_Register@std@@YAXPEAV_Facet_base@1@@Z ]
Failed to execute via ::process:Failed to materialize symbols: { (main, { ??_R3_Iostream_error_category2@std@@8, ??_R3facet@locale@std@@8, ??_R1A@?0A@EA@ctype_base@std@@8, ?_Tidy@?$_Yarn@D@std@@AEAAXXZ, ??_R0?AV_Facet_base@std@@@8, ?widen@?$ctype@D@std@@QEBADD@Z, ?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@AEBV12@@Z, ??0system_error@std@@QEAA@AEBV01@@Z, ?_Take_contents@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAAXAEAV12@@Z, ??_R0?AVbad_alloc@std@@@8,

Commands or code executed

#include <iostream>

std::cout << "some output" << std::endl;

Expected Result

Outputs "some output" under the notebook cell.

@JohanMabille JohanMabille changed the title xeus-cpp does not work on WIndows xeus-cpp does not work on Windows Jun 12, 2024
@vgvassilev
Copy link
Contributor

Maybe we should add these symbols to the list of re-exports in CppInterOp? @mcbarton what do you think?

@github-actions github-actions bot added the Needs triage Used in auto labelling of new issues label Jun 12, 2024
@mcbarton
Copy link
Collaborator

Maybe we should add these symbols to the list of re-exports in CppInterOp? @mcbarton what do you think?

@vgvassilev The example notebook is not expected to work on Windows at the moment. This is related to the discussion we had on the failing XCpp jupyter_kernel_test tests. Exporting the symbols may work, but its expected to be a fragile solution from what I remember from the discussion.

@vgvassilev
Copy link
Contributor

Yes, fragile but the only option available now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants