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

core/bitop.d not copied #17

Closed
dsimcha opened this issue Nov 12, 2011 · 1 comment
Closed

core/bitop.d not copied #17

dsimcha opened this issue Nov 12, 2011 · 1 comment

Comments

@dsimcha
Copy link

dsimcha commented Nov 12, 2011

On two different boxes (a Ubuntu 10.4 box and a Debian Testing box), I've successfully built and installed LDC. However, when I try to compile hello, world, I get:

$ ldmd2 test.d
/usr/local/include/d/phobos/std/array.d(15): Error: module bitop is in file 'core/bitop.d' which cannot be read

This is because bitop.d/bitop.di is never copied to the include directory by the install system. When I copy it there manually, the problem is solved.

@bioinfornatics
Copy link
Contributor

thanks for your feedback for fix it we need run this command:

$ sed -i "81a \ \ \ \ file(COPY \${RUNTIME_DIR}/src/core/bitop.d DESTINATION \${PROJECT_BINARY_DIR}/import/core/ )" runtime/CMakeLists.txt

dnadlinger pushed a commit to dnadlinger/ldc that referenced this issue Dec 4, 2011
…on to cmake script and fixed 'make install'
redstar pushed a commit that referenced this issue Sep 27, 2014
Temporarily switch freebsd64 bit to the stub gc
timotheecour pushed a commit to timotheecour/ldc that referenced this issue Dec 13, 2017
timotheecour pushed a commit to timotheecour/ldc that referenced this issue Dec 13, 2017
…t location to determine the Clang module for a decl.

0d43a79 was wrong, and can be reverted because it was trying to fix the location of extern C decls which are skipped anyway by DeclReferencer (as a workaround until Clang 3.7).

This fixes the Qt5 demo compilation against Qt 5.2.1 (ldc-developers#17).
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