Dear Chris,<br><br>Thank you very much for your email and response. That was very kind.. I didnt actually expect to get a respond. Thank God I have managed to fix the problems with the help of a friend so all is well now. I have also made progress with my project as ginac is soo powerful with regard to manipulating matrices.
<br>Once again thank you for your help.<br>Regards<br>Neofytos.<br><br><br><div><span class="gmail_quote">On 6/14/06, <b class="gmail_sendername">Chris Dams</b> <<a href="mailto:C.Dams@science.ru.nl">C.Dams@science.ru.nl
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Dear Neofytos,<br><br>On Sat, 10 Jun 2006, Neofytos Mylona wrote:<br>
<br>> I have installed the CLN library in the following directory:<br>><br>> /homes/nm305/MSc_project/code/call1/cln<br>><br>> and ginac in<br>><br>> /homes/nm305/MSc_project/code/call1/ginac<br><br><br>
Yes, this is all very possible although I would not recommend it. The unix<br>directory structure has generally header files in an include-directory,<br>executables in a bin-directory, libraries in a lib-directory. A problem
<br>with the approach that you seem to be taking is that the directories you<br>name will all separately get include/lib/bin-directories. If you decide to<br>stay with this approach you will have to make sure that the installed
<br>files will be found. In particular, it will be quite usefull to add the<br>directories /homes/...whatever.../cln/bin and<br>/homes/...whatever.../ginac/bin to your path. That way the executable<br>cln-config and ginac-config can be found. Personally, I make the prefix of
<br>packages that I install into my home directory always the home-directory<br>itself. In that case I simply get subdirs bin, lib, include and so on in<br>my homedir and I only once need to make sure that they get found.
<br><br>> I have my project code in<br>><br>> /homes/nm305/MSc_project/code<br>><br>> inside my code i add<br>><br>> #include /homes/nm305/MSc_project/code/call1/ginac/include/ginac/ginac.h<br><br>Firstly, this needs quotes (") around the filename. Secondly, this is not
<br>such a good idea. What if you move your code to someplace else? Then you<br>will have to change all those includes. To solve this you could, inside<br>your makefile, make use of ginac-config. Try typing "ginac-config
<br>--cppflags" at the prompt and see what happens. The flags that you see<br>need to be used when compiling. Then you should also use #include<br><ginac/ginac.h>. There also is the --libs option. If you have this, the
<br>only thing you should need is setting your LD_LIBRARY_PATH to include the<br>places where the cln and ginac libraries are installed. Below I note that<br>you alreadly did this for the cln library but you will also need to add
<br>the dir of the ginac library.<br><br>> setenv LD_LIBRARY_PATH /homes/nm305/MSc_Project/code/call1/cln/lib<br><br>Good luck,<br>Chris<br><br>_______________________________________________<br>GiNaC-devel mailing list
<br><a href="mailto:GiNaC-devel@ginac.de">GiNaC-devel@ginac.de</a><br><a href="https://www.cebix.net/mailman/listinfo/ginac-devel">https://www.cebix.net/mailman/listinfo/ginac-devel</a><br></blockquote></div><br>