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
I don't know if this helps, but we have been also learning the basics of
Cxx. See here @ovainola implementation of a simple library:
https://github.com/JuliaFEM/MiniBall.jl/blob/master/src/MiniBall.jl
On Saturday, August 1, 2015 at 5:00:41 PM UTC+3, Kostas
Tavlaridis-Gyparakis wrote:
Hello
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
Specifically I think this will not work because of the following:
double ArrayMaker::ArrayMak(int iNum, float fNum) {
jl_init(JULIA_INIT_DIR);
jl_atexit_hook();
return sol;
}
}
What this is doing it starting up a 2nd julia engine inside of the original
julia engine,
Hello again,
After following the above mentioned instructions of Jeff managed to make
Cxx working properly in the julia version
installed via (make install), yet again the original problem persists.
Just to remind you:
I have the following c++ class:
1) cpp.file:
#include ArrayMaker.h
#include
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.
So I built and installed Cxx and then attempted to use it with embedded
Julia and was successful. The tricky part is pretty tricky especially for
someone not familiar how the whole thing is laid out, I've put most of
what I did in this gist
https://gist.github.com/waTeim/ec622a0630f220e6b3c3
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
Symbolic links to link which files though?
Sorry if the questions I raise are already answered by the git, I just
failed to understand it properly so that's
why I come back with these questions now.
I've added a listing of the entire directory structure
Hello again and thanks a lot for the suggestions.
Thing is, I went back to the source version of Julia where Cxx is already
built and
runs properly, so there wasn't much for me to do, I run in terminal also
the command of:
addHeaderDir(/home/kostav/julia/src/)
Then proceeded again with make
So, in case it will be of any help to you here is the exact message I
receive:
julia Pkg.build(Cxx)
INFO: Building Cxx
Tuning for julia installation at: /home/kostav/Julian/julia-f428392003/bin
BuildBootstrap.Makefile:2:
/home/kostav/Julian/julia-f428392003/bin/../../deps/Versions.make: No such
On Saturday, July 18, 2015 at 5:24:33 AM UTC-4, Kostas Tavlaridis-Gyparakis
wrote:
Hello again and thanks a lot for the suggestions.
Thing is, I went back to the source version of Julia where Cxx is already
built and
runs properly, so there wasn't much for me to do, I run in terminal also
You are still picking up the f42... version.
On Jul 18, 2015 6:41 PM, Kostas Tavlaridis-Gyparakis
kostas.tavlari...@gmail.com wrote:
So, in case it will be of any help to you here is the exact message I
receive:
julia Pkg.build(Cxx)
INFO: Building Cxx
Tuning for julia installation at:
Yea I think what you're seeing is that Cxx needs to use the source tree
for example Make.inc only exists in the source tree while embedding
assumes the installed tree.
How to reconcile this the best way I'm not sure yet. I myself found Cxx
interesting enough to try, but the build failed a
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
Somehow your setup has regressed here. Cxx.jl was loading fine in your
original email, so go back to that version and call:
addHeaderDir(/home/kostav/julia/src/)
because that is where julia.h lives.
On Fri, Jul 17, 2015 at 1:44 PM, Kostas Tavlaridis-Gyparakis
kostas.tavlari...@gmail.com wrote:
Some notes
I think a gist might be better and then we can annotate and stuff in place.
Google groups is just a mailing
list and is bad for extended debugging info don't worry about it too much
just a suggestion.
1)
jl_value_t * ret = jl_call2(func, argument, argument2);
sol =
18 matches
Mail list logo