Giter Site home page Giter Site logo

Comments (24)

simonbyrne avatar simonbyrne commented on June 1, 2024 2

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.

tkelman avatar tkelman commented on June 1, 2024 2

I'm a little surprised you can somehow have gcc installed but without working system headers

from rmath.jl.

simonbyrne avatar simonbyrne commented on June 1, 2024 1

@negar6 what does that have to do with this package?

from rmath.jl.

simonbyrne avatar simonbyrne commented on June 1, 2024 1

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.

simonbyrne avatar simonbyrne commented on June 1, 2024 1

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.

nalimilan avatar nalimilan commented on June 1, 2024

What OS are you using?

from rmath.jl.

cossio avatar cossio commented on June 1, 2024

@nalimilan Ubuntu 16.04.1 Desktop, 64 bit.

from rmath.jl.

nalimilan avatar nalimilan commented on June 1, 2024

Does /usr/include/math.h exist?

from rmath.jl.

simonbyrne avatar simonbyrne commented on June 1, 2024

agreed, it's a bit weird, but apparently libc-dev is only a "recommends" of gcc.

from rmath.jl.

nalimilan avatar nalimilan commented on June 1, 2024

I thought recommended packages were installed by default on Ubuntu?

from rmath.jl.

cossio avatar cossio commented on June 1, 2024

maybe build-essentials should be added as a requirement of Rmath? It should be on the documentation.

from rmath.jl.

simonbyrne avatar simonbyrne commented on June 1, 2024

from rmath.jl.

cossio avatar cossio commented on June 1, 2024

@simonbyrne Yes, installing build-essential fixes the problem.

from rmath.jl.

simonbyrne avatar simonbyrne commented on June 1, 2024

Should we add a check for this?

from rmath.jl.

cossio avatar cossio commented on June 1, 2024

@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.

tkelman avatar tkelman commented on June 1, 2024

a configure script would check for this kind of thing but bury the actual error deep in a config.log file

from rmath.jl.

simonbyrne avatar simonbyrne commented on June 1, 2024

Bites again:
https://discourse.julialang.org/t/rmath-issues/5984

We really need a good solution to this.

from rmath.jl.

simonbyrne avatar simonbyrne commented on June 1, 2024

Should also throw an error if no Xcode tools installed, see JuliaStats/Rmath-julia#23

from rmath.jl.

andreasnoack avatar andreasnoack commented on June 1, 2024

Should be fixed by #55

from rmath.jl.

negar6 avatar negar6 commented on June 1, 2024

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.

ararslan avatar ararslan commented on June 1, 2024

...or Julia at all

from rmath.jl.

negar6 avatar negar6 commented on June 1, 2024

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.

negar6 avatar negar6 commented on June 1, 2024

tnx you.

from rmath.jl.

SyamiliV avatar SyamiliV commented on June 1, 2024

I am getting this error
fatal error: audit_lib.h: No such file or directory

from rmath.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.