Comments (24)
Try:
sudo apt-get install build-essential
(tip from https://forums.linuxmint.com/viewtopic.php?t=161241#p830537)
Then in Julia:
Pkg.build("Rmath")
from rmath.jl.
I'm a little surprised you can somehow have gcc installed but without working system headers
from rmath.jl.
@negar6 what does that have to do with this package?
from rmath.jl.
Again, why are you asking here? This is an issue tracker about a completely unrelated package in a completely different language. Might I suggest you try https://www.mathworks.com/matlabcentral/
from rmath.jl.
However I would suggest that you look into using https://github.com/JuliaImages/Images.jl: I've found it to be much more pleasant to use than Matlab.
from rmath.jl.
What OS are you using?
from rmath.jl.
@nalimilan Ubuntu 16.04.1 Desktop, 64 bit.
from rmath.jl.
Does /usr/include/math.h
exist?
from rmath.jl.
agreed, it's a bit weird, but apparently libc-dev
is only a "recommends" of gcc
.
from rmath.jl.
I thought recommended packages were installed by default on Ubuntu?
from rmath.jl.
maybe build-essentials
should be added as a requirement of Rmath
? It should be on the documentation.
from rmath.jl.
from rmath.jl.
@simonbyrne Yes, installing build-essential
fixes the problem.
from rmath.jl.
Should we add a check for this?
from rmath.jl.
@simonbyrne I think you should either install it, or raise an error somewhere more informative, that actually says what is missing and how to solve it.
from rmath.jl.
a configure script would check for this kind of thing but bury the actual error deep in a config.log file
from rmath.jl.
Bites again:
https://discourse.julialang.org/t/rmath-issues/5984
We really need a good solution to this.
from rmath.jl.
Should also throw an error if no Xcode tools installed, see JuliaStats/Rmath-julia#23
from rmath.jl.
Should be fixed by #55
from rmath.jl.
why????
mex -largeArrayDims -O jpeg_read.c
Building with 'MinGW64 Compiler (C)'.
Error using mex
D:\Program Files\MATLAB\R2018a\bin\jpeg_read.c:52:20: fatal error: jerror.h: No such file
or directory
compilation terminated.
from rmath.jl.
...or Julia at all
from rmath.jl.
i have matlab 2018 a and want to work by jpeg toolbox.it's necessary to use c compiler so added int by add on.and jpegtbx v 1.4 in project path. but after executing "mex -largeArrayDims -O jpeg_read.c", this error displayed:"D:\Program Files\MATLAB\R2018a\bin\jpeg_read.c:52:20: fatal error: jerror.h: No such file
or directory
compilation terminated."
after this, downloaded .h file and saved it in extern/ include.but now i have these ERRORSSSSSSSS:
Error using mex
C:\Users\NeGaR\AppData\Local\Temp\mex_5140922162360_6152\jpeg_read.obj:jpeg_read.c:(.text+0x2b3):
undefined reference to jpeg_std_error' C:\Users\NeGaR\AppData\Local\Temp\mex_5140922162360_6152\jpeg_read.obj:jpeg_read.c:(.text+0x2f5): undefined reference to
jpeg_destroy_decompress'
C:\Users\NeGaR\AppData\Local\Temp\mex_5140922162360_6152\jpeg_read.obj:jpeg_read.c:(.text+0x327):
undefined reference to jpeg_CreateDecompress' C:\Users\NeGaR\AppData\Local\Temp\mex_5140922162360_6152\jpeg_read.obj:jpeg_read.c:(.text+0x336): undefined reference to
jpeg_stdio_src'
C:\Users\NeGaR\AppData\Local\Temp\mex_5140922162360_6152\jpeg_read.obj:jpeg_read.c:(.text+0x349):
undefined reference to jpeg_save_markers' C:\Users\NeGaR\AppData\Local\Temp\mex_5140922162360_6152\jpeg_read.obj:jpeg_read.c:(.text+0x356): undefined reference to
jpeg_read_header'
C:\Users\NeGaR\AppData\Local\Temp\mex_5140922162360_6152\jpeg_read.obj:jpeg_read.c:(.text+0xafd):
undefined reference to jpeg_read_coefficients' C:\Users\NeGaR\AppData\Local\Temp\mex_5140922162360_6152\jpeg_read.obj:jpeg_read.c:(.text+0xcda): undefined reference to
jpeg_finish_decompress'
C:\Users\NeGaR\AppData\Local\Temp\mex_5140922162360_6152\jpeg_read.obj:jpeg_read.c:(.text+0xce2):
undefined reference to `jpeg_destroy_decompress'
collect2.exe: error: ld returned 1 exit status
:((((((
from rmath.jl.
tnx you.
from rmath.jl.
I am getting this error
fatal error: audit_lib.h: No such file or directory
from rmath.jl.
Related Issues (20)
- Cannot build with 32-bit Julia on 64-bit linux HOT 5
- Can not build on Ubuntu 16.04 64x HOT 2
- Issue intalling Rmath -- "nmath.h" not found" HOT 1
- Cannot build Rmath - could not create SSL/TLS secure channel HOT 2
- Problem building Rmath on macOS HOT 2
- Fix warnings in Julia v0.7 HOT 2
- Pkg not building in mac HOT 1
- Missing make, gcc dependencies HOT 3
- setSeed() function required for R's random number generator HOT 1
- Warning when using Distributions package HOT 4
- Package compatibility caps
- build uses deprecated API of BinaryProvider
- Julia 1.5 libc.musl, could not load libRmath-julia.so HOT 10
- make build fails with below error HOT 1
- TagBot trigger issue HOT 2
- Rmath jll for Apple Silicon needed HOT 2
- GPL/MIT licensing issue HOT 6
- `qpois` can return non-integral values on some platforms HOT 4
- Precompiling Rmath error HOT 6
- `qbinom` gives incorrect answers at very small values HOT 2
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 rmath.jl.