Hello again,
I am experiencing the following difficulty.
So I have the above mentioned header and cpp files that define
the class ArrayMaker on top of that I wrote a small main connected
to this class that simply excecute its function:
main.cpp:
#include ArrayMaker.h
#include iostream
using
Ok, this did solve my problem.
Now I will proceed with trying to connect a big c++ project with julia and
see what happens there, in the very optimistic case where I proceed without
any problems I will let you know just for reference, otherwise I will
return with
the new errors and mistakes I
what is shown here:
arr = @cxx maker-fillArr() (where fillArr is supposed to return an array)
So, I am not sure what is going wrong here...
On Wednesday, July 22, 2015 at 9:33:00 AM UTC+2, Kostas
Tavlaridis-Gyparakis wrote:
Any help/further suggestions please?
On Tuesday, July 21, 2015 at 3
Any help/further suggestions please?
On Tuesday, July 21, 2015 at 3:27:10 PM UTC+2, Kostas Tavlaridis-Gyparakis
wrote:
Hello again,
Unfortunately and let me apologize in advance I still find myself confused
on how to make things
work properly.
Here are the symbolic links. I believe
Hello again,
Unfortunately and let me apologize in advance I still find myself confused
on how to make things
work properly.
Here are the symbolic links. I believe with some simple changes to Cxx,
the need for these
will disappear, but for now there's where it searches.
Hello,
Once again I really appreciate all the effort you put and the help you
provide.
I assume that since you made things work properly now we do havea working
solution.
Yet again as I am not really good with programming in general sth things I
still
unfortunately need to ask on how to follow
+2, Jeff Waller wrote:
On Friday, July 17, 2015 at 1:44:41 PM UTC-4, Kostas Tavlaridis-Gyparakis
wrote:
Hello,
Just to be sure that I am understanding correctly what your proposal.
You suggest I should:
1) Completely uninstall Julia
2) Recompile the source code (i.e. run make
)`
- build a single package by running its `deps/build.jl` script
On Saturday, July 18, 2015 at 11:35:32 PM UTC+2, Jeff Waller wrote:
On Saturday, July 18, 2015 at 5:24:33 AM UTC-4, Kostas
Tavlaridis-Gyparakis wrote
Hello,
Just to be sure that I am understanding correctly what your proposal.
You suggest I should:
1) Completely uninstall Julia
2) Recompile the source code (i.e. run make)
3) Then try using julia from the source code build cxx package
4) Then perform the make install and link the version of
:
On Monday, July 13, 2015 at 11:36:34 AM UTC-4, Kostas Tavlaridis-Gyparakis
wrote:
Ok, my current Julia version (that I installed via running the source
code) is:
*Version 0.4.0-dev+5841 (2015-07-07 14:58 UTC)*So, what should I do
different so that -I flag gets the proper value
*Related, what's in the directory /home/kostav/julia/usr/lib*When I run
the following command:
g++ -o test main.cpp -Wl,-rpath,/home/kostav/julia/usr/lib -I
/home/kostav/julia/src -I /home/kostav/julia/usr/include -I
/home/kostav/julia/src/support -L/home/kostav/julia/usr/lib -ljulia
Hello again,
I am running Julia Version 0.4.0-dev+5841 (installed from source code)
and currently run Ubuntu 15.04.
I am trying to write a julia file that will call some c++ classes and
functions, where inside
these functions some other Julia functions will be used and I face some
errors.
Let
Hello thanks a lot for your answer.
You assumed correctly I do use version 0.4.
If I got right your proposal about the linking error is to use
the command jl_inti(JULIA_INIT_DIR) as shown in this
http://julia.readthedocs.org/en/latest/manual/embedding/#example
example and use a makefile where I
Any ideas on how to fix the compile error: julia.h: No such file or
directory #include julia.h compilation terminated.?
This is the problem, or part of it anyway. That file lives under
`julia/contrib` in a source build.
Hmm this should be bundled into all 0.4, oh oh.
Thanks a lot, that fixed this error, but now it returns me the same error
that I get when I just run the compile command
in terminal:
fatal error: julia.h: No such file or directory #include julia.h
compilation terminated.
On Monday, July 13, 2015 at 4:34:24 PM UTC+2, Jeff Waller wrote:
at 10:54:57 AM UTC-4, Kostas Tavlaridis-Gyparakis
wrote:
Any ideas on how to fix the compile error: julia.h: No such file or
directory #include julia.h compilation terminated.?
Yea of course. This is a result of the -I flag having the wrong value.
There was a space of time
Hello again,
I am writing to this post, as I face some more problems with trying to link
Julia functions with C++ code.
The thing is that I changed my current Julia version, I installed Julia
running the source code as I wanted
to install the Cxx package as well.
So, I just went to run the
don't have julia installed.
Any idea on how to proceed with this?
On Friday, July 10, 2015 at 1:17:53 AM UTC+2, Kostas Tavlaridis-Gyparakis
wrote:
* I was missing cmake now this problem is solved.
Hopefully the build will work properly now!
On Friday, July 10, 2015 at 12:58:12 AM UTC+2, Kostas
/usr/bin/julia` and `julia/usr/bin/julia-debug` do exist.
What else could I try?
Run one of them?
bar@baz:~/julia$ /home/kostav/julia/usr/bin/julia
On Fri, Jul 10, 2015 at 10:50 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
Thanks a lot for pointing out
haven't read the entire thread here, but if you're in the top-level
julia source directory and have built julia from source, the binary is
located in ./usr/bin/julia .
On Friday, July 10, 2015 at 7:19:53 AM UTC-7, Kostas Tavlaridis-Gyparakis
wrote:
Any suggestions pls???
On Friday, July 10
into which you can enter expressions for evaluation.
(Errors related to libraries might be caused by old, incompatible libraries
sitting around in your PATH. In that case, try moving the julia
directory earlier in the PATH).
2015-07-10 11:33 GMT-03:00 Kostas Tavlaridis-Gyparakis
kostas.t
Any suggestions pls???
On Friday, July 10, 2015 at 11:04:58 AM UTC+2, Kostas Tavlaridis-Gyparakis
wrote:
Finally manage to run make command with no errors.
Yet again after this I perform make test and everything seems to be fine.
Then I run make install and once its finished, I try to run
at 4:57:51 PM UTC+2, Isaiah wrote:
Also both 'julia/usr/bin/julia` and `julia/usr/bin/julia-debug` do exist.
What else could I try?
Run one of them?
bar@baz:~/julia$ /home/kostav/julia/usr/bin/julia
On Fri, Jul 10, 2015 at 10:50 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com
the Make.inc file
already is). The `LLVM_VER=svn` line directs it to use the svn version of
llvm.
On Tue, Jul 7, 2015 at 11:59 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
Ok, thank you pointing that out.
So, I need to uninstall my current version and install using
* I was missing cmake now this problem is solved.
Hopefully the build will work properly now!
On Friday, July 10, 2015 at 12:58:12 AM UTC+2, Kostas Tavlaridis-Gyparakis
wrote:
Thanks a lot once again.
So after fixing this a few more errors I am stacked with the following
error msg:
Making
it to use the svn version of
llvm.
On Tue, Jul 7, 2015 at 11:59 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
Ok, thank you pointing that out.
So, I need to uninstall my current version and install using the source
files.
Just two questions really noob ones
LLVM-svn
On Tue, Jul 7, 2015 at 11:33 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
Hello,
I am running the following version of Julia:
Julia Version 0.4.0-dev+5809
Commit b414076* (2015-07-06 15:38 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU
Hello,
I am running the following version of Julia:
Julia Version 0.4.0-dev+5809
Commit b414076* (2015-07-06 15:38 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz
WORD_SIZE: 64
BLAS: libopenblas (NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY
must evaluate your .jl file
defining the module first, then to get a reference to the module do:
`jl_value_t* mod = jl_eval_string(MyModName);
Then you can pass mod as the argument to `jl_get_function`.
On Tue, Jun 30, 2015 at 10:16 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com
, 2015 at 10:54 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
Sorry but I am not sure what you mean and how to *evaluate your .jl
file defining the module first*?
(I am really new to Julia so maybe the question sounds really stupid,
sorry for that)
On Tuesday
module -- that's not what you want, because
the module containing your function is created when you eval yourfile.jl)
On Tue, Jun 30, 2015 at 11:47 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
Ok, so first of all thanks a lot for all the help so far.
So, now I try
So, finally issue was solved by this answer here
http://stackoverflow.com/questions/31051038/eclipse-c-having-trouble-with-including-a-file-with-extension-ji
.
On Thursday, June 25, 2015 at 3:33:45 PM UTC+2, Kostas Tavlaridis-Gyparakis
wrote:
But, sys.ji does exist in my folder of the path
On Monday, June 22, 2015 at 9:03:31 AM UTC-4, Kostas Tavlaridis-Gyparakis
wrote:
Hello,
I am trying to embed Julia in C++ but I currently face some sort of
issues.
I am trying to follow the instructions shown here
http://julia.readthedocs.org/en/latest/manual/embedding/.
First things first, I
casualty of
https://github.com/JuliaLang/julia/pull/11640
On Wednesday, June 24, 2015 at 10:39:40 AM UTC-4, Kostas
Tavlaridis-Gyparakis wrote:
Νο, unfortunately it's not that.
I just gave to the project the name juli I forgot to type the a and
didn't bother correct it aftewrards, so
I did download the 0.4 nightbuilt which includes the above mentioned files
in the proper location, but now Eclipse is throwing me a different
error I can not sort out how to overcome. When I try to run a small cpp
file with a few julia comands Eclipse is compiling the file but when I
try to run
, is it?
On Wednesday, June 24, 2015, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
Didn't manage to make the code run. I am really wondering what I am
missing here...
On Wednesday, June 24, 2015 at 3:59:47 PM UTC+2, Isaiah wrote:
I guess this is still a distro
(/home/kostas/workspace/juli/Debug/../lib/x86_64-linux-gnu/
julia/)
On Wed, Jun 24, 2015 at 9:38 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
I am simply trying to run the first example attached in the embedding
documantation which is the following block of code
with the embedding example in the source:
https://github.com/JuliaLang/julia/blob/master/examples/embedding.c
On Wed, Jun 24, 2015 at 9:05 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
I did download the 0.4 nightbuilt which includes the above mentioned
files
Hello,
I am trying to embed Julia in C++ but I currently face some sort of issues.
I am trying to follow the instructions shown here
http://julia.readthedocs.org/en/latest/manual/embedding/.
First things first, I run Ubuntu 15.04 and my Julia version is v. 0.3.2
(it's the
version that is
UTC+2, Kostas Tavlaridis-Gyparakis
wrote:
Ok, I'll proceed with the upgrades tomorrow and let you know.
Thanks a lot for all the help so far hope tomorrow I will finally have
JuMP working.
On Monday, June 15, 2015 at 8:22:34 PM UTC+2, Tony Kelman wrote:
I see. I'm a little surprised
at 10:20:03 AM UTC-7, Kostas Tavlaridis-Gyparakis
wrote:
I downloaded and extracted the version that you put in the link, but for
some reason now, when I run
Julia on terminal the pck command doesn't seem to work.
This is the msg I get when I try to use any command related with pkd
.
On Sunday, June 14, 2015 at 7:16:46 AM UTC-7, Kostas Tavlaridis-Gyparakis
wrote:
Ok fixed that one, but now I have another installation problem,
I receive the following error:
/bin/sh: 2: cmake: not found
make[1]: *** [libgit2/build/Makefile] Error 127
make: *** [julia-deps] Error 2
Once I do
deleting your ~/.julia directory and reinstalling the packages
you need.
On Saturday, June 13, 2015 at 3:11:16 PM UTC+2, Kostas
Tavlaridis-Gyparakis wrote:
Here is the outcome of Pkg.status():
Pkg.status()
5 required packages:
- CPLEX 0.0.9
- Docile
, June 14, 2015 at 4:03:35 PM UTC+2, Kostas Tavlaridis-Gyparakis
wrote:
Ok, so after deleting all the julia files from my laptop
and downloading the latest version from github (
git clone git://github.com/JuliaLang/julia.git
), when I try to run make in the terminal after a huge run of 50
nearly a year ago. Not sure
how this came to be installed, but you'll need to update to 0.3.0 release
or later.
On Jun 14, 2015 2:38 PM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
The output of versioninfo() is the following:
Julia Version 0.3.0-rc1+54
Commit
, June 13, 2015 04:45:12 AM Kostas Tavlaridis-Gyparakis wrote:
When i run update after I install Dolice there is nothing new:
Pkg.update()
INFO: Updating METADATA...
INFO: Computing changes...
INFO: No packages to install, update or remove
How can I update from terminal
Pkg.add(Docile)
INFO: Nothing to be done
INFO: METADATA is out-of-date — you may not have the latest version of
Docile
INFO: Use `Pkg.update()` to get the latest versions of your packages
On Saturday, June 13, 2015 at 9:09:26 AM UTC+2, Kostas Tavlaridis-Gyparakis
wrote:
Here is the output I
UTC-4, Kostas Tavlaridis-Gyparakis
wrote:
Hello,
I am really new to Julia and not the best programmer mysefl.
I run linux mint 16 and I installed julia via terminal (sudo apt-get
install julia ).
Then when I run Julia on my terminal, while the JuMP package is installed
sth that I believe
: Cloning cache of Docile from
git://github.com/MichaelHatherly/Docile.jl.git
INFO: Installing Docile v0.1.0
On Saturday, June 13, 2015 at 11:57:58 AM UTC+2, Svaksha wrote:
On Sat, Jun 13, 2015 at 9:44 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com javascript: wrote:
Only problem
: Computing changes...
INFO: Cloning cache of Docile from git://
github.com/MichaelHatherly/Docile.jl.git
INFO: Installing Docile v0.1.0
On Saturday, June 13, 2015 at 11:57:58 AM UTC+2, Svaksha wrote:
On Sat, Jun 13, 2015 at 9:44 AM, Kostas Tavlaridis-Gyparakis
kostas.t...@gmail.com wrote
:
Might not be related, but your Docile package is way out of date. It's
currently at 0.5.6, and you appear to be running 0.1.0.
On Saturday, June 13, 2015 at 3:36:39 AM UTC-5, Kostas
Tavlaridis-Gyparakis wrote:
Pkg.add(Docile)
INFO: Nothing to be done
INFO: METADATA is out-of-date — you may
Hello,
I am really new to Julia and not the best programmer mysefl.
I run linux mint 16 and I installed julia via terminal (sudo apt-get
install julia ).
Then when I run Julia on my terminal, while the JuMP package is installed
sth that I believe the following two commands on my terminal
52 matches
Mail list logo