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

Missing stdcpp.tuple in memory.d #5

Open
kassane opened this issue Jan 25, 2024 · 0 comments
Open

Missing stdcpp.tuple in memory.d #5

kassane opened this issue Jan 25, 2024 · 0 comments

Comments

@kassane
Copy link

kassane commented Jan 25, 2024

Compiler version: LDC-master (1.36.0+)
OS: ArchLinux

import stdcpp.tuple : tuple, get;

I've been trying to learn a bit more about using stdcpp based on a japanese tutorial (I couldn't find any english tutorials on stdcpp/dlang). However, I hit a bug even using the latest version of modules from this repository.

Note: The default stdcpp available by ldc2 still crashes. Then, I have replaced by #3 files for tests!

src: https://github.com/lempiji/example-cpp-d/tree/master/src/d/source

$> ldmd2 mylib.o -L-L$PWD/stdcpp -L-lstdc++ -betterC -Istdcpp/source -i app.d     
/home/kassane/ldcup/ldc2-08cc8408-linux-x86_64/bin/../import/core/stdcpp/memory.d(132): Error: unable to read module `tuple`
/home/kassane/ldcup/ldc2-08cc8408-linux-x86_64/bin/../import/core/stdcpp/memory.d(132):        Expected 'stdcpp/tuple.d' or 'stdcpp/tuple/package.d' in one of the following import paths:
import path[0] = stdcpp/source
import path[1] = /home/kassane/ldcup/ldc2-08cc8408-linux-x86_64/bin/../import
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

1 participant