-
Notifications
You must be signed in to change notification settings - Fork 107
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
Could not find C++ standard library #315
Comments
It looks like the C++ includes it is looking for on Gentoo are in: /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.4/include/g++-v4 |
In fact we got Cxx working on our particular Gentoo machines (which have gcc 4.9.4) by overriding where the header files are set in initialization.jl, with: addHeaderDir(C, "/usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.4/include/g++-v4", kind = C_System) That probably gives enough information to come up with a solution for this issue, I think. |
I'm having an issue too with finding the C++ library on a centos system.
I added a println to show me the Prefixes in If I patch the following diff then everything works just fine.
I'm leaving this here to help others and since I'm not sure how to fix this issue in a robust way. |
Hi - I have the same problem too. My gcc comes from an unusual place, but I have an environment variable. Like @JonathanAnderson 's solution, I had to change
Any way somehow make this part of the build? |
@wbhart Thank you for your suggestion! It doesn't work for me, but it helped to fix the problem (dirty ugly fix). function ScanLibDirForGCCTriple(base,triple)
VersionString = "6.4.0"
Version = VersionNumber(VersionString)
GccPath = "/usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.0/"
return (Version, VersionString, GccPath)
end After that, I specified include paths, relative to incpath = Path * "/include"
push!(headers, (incpath, C_System))
push!(headers, (incpath * "/g++-v6/", C_System))
push!(headers, (incpath * "/g++-v6/x86_64-pc-linux-gnu/", C_System)) |
Fixed in #448 |
We are getting the following error when trying to use Cxx on a Gentoo system (with a Julia source tree built at a commit that is known to work elsewhere with Cxx).
I am not at all able to guess what is going on. Do you have any idea what might be causing this issue?
The text was updated successfully, but these errors were encountered: