Comments (5)
I just found that running sbt with Java 7 resolved a different back trace. Might not be the same problem, but did note that you were using Java 8.
from scala-native.
The problem was indicated in the error is at ScalaNativePluginInternal.scala:61
which is
nativeClang := file(Process(Seq("which", "clang++")).lines_!.head),
Well, I didn't have anything for which to find.
When I fixed this by linking my /usr/lib/llvm-3.6/bin/clang++ to /usr/bin/clang++
I got to the next error ;^)
from scala-native.
Anyone know how to make sbt "fail gracefully" in the middle of creating projectSettings the way that ScalaNativePluginInternal does? An error message here would be nice ;^)
By the way, did I say how COOL THIS PROJECT IS!?!
from scala-native.
I solved this problem. You have to install llvm, clang and gc first.
I did it by this instruction. It's written for mac so you need to install all via apt-get.
from scala-native.
Getting things build on Linux a bit complicated at the moment, @andreaTP's docker script is the easiest way to do it semi-automatically right now. We're currently working on making it easier. I've gathered all the common issues people are hitting in #102 , follow that ticket for updates.
from scala-native.
Related Issues (20)
- javalib AbstractSet#equals does restrict matches to only other Sets.
- Javalib `Set.scala` is missing a number of methods.
- [docs] request - remove `$` from commands for copy pasting HOT 5
- 0.6.n issue: java.util.Random should inherit from j.u.RandomGenerator. HOT 1
- All four javalib *Stream#skip methods report wrong starting expectedSize
- sbt test fails when setting `.withOptimize(false)` in nativeConfig HOT 4
- Does Scala and/or Scala Native allow examining presence of @Deprecated in generated code?
- Unit test error: java.util.NoSuchElementException: key not found: Local(5) HOT 6
- Convert Ptr[CDouble] to Ptr[Byte] HOT 1
- Platform runtime metrics HOT 1
- Missing definitions on java.lang.Character.UnicodeBlock.* HOT 4
- UnixProcess#getInputStream returns InputStream that blocks reading untill some buffer is filled HOT 9
- Building Scala Native 0.5.4 project on Termux HOT 7
- Add Support for AtomicDouble HOT 11
- Unicode character in CString literal causes compile error HOT 1
- Implement ConcurrentLinkedDeque HOT 7
- "Out of heap space grow heap" error after migration to v0.5.5 HOT 10
- Unreachable exception when conpilen dotty-cps-async tests with enabled stacktraces
- Slow performance of Game of Life benchmark HOT 1
- Problems with lazy val in trait on Scala Native 0.5.5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scala-native.