Closed tschoonj closed 10 years ago
Dear Tom, sorry for not answering before, but I have some problem with xrmc/xraylib if I try to compile xrmc, I get an error configure: error: Package requirements (libxrl >= 3.1.0) were not met:
Requested 'libxrl >= 3.1.0' but version of xraylib is 3.0.0 If I try to update xraylib: git pull Already up-to-date.
git status On branch master Your branch is ahead of 'origin/master' by 4 commits. (use "git push" to publish your local commits)
nothing to commit, working directory clean
xraylib xraylib 3.0.0 revised February 2014 if it is up to date, why do I have v3.0.0 and not v.1.0? Thank you, bruno
On 06/25/2014 06:55 PM, Tom Schoonjans wrote:
Hi Bruno,
I have created a new device that inherits from spectrum: now one can define a spectrum using the name of an X-ray producing radionuclide (like "55Fe"), its activity and unit of activity. This is possible through a couple of new functions I added to xraylib: I am offering support for 10 commonly used radionuclides:
55 Fe 238 Pu 244 Cm 109 Cd 125 I 241 Am 153 Gd 57 Co 133 Ba 137 Cs
So for this to work, you will need to use the development version of xraylib (branch nuclide-data, will merge it later into master).
Ciao ciao,
Tom
You can merge this Pull Request by running
git pull https://github.com/tschoonj/xrmc master
Or view, comment on, or merge it at:
https://github.com/golosio/xrmc/pull/22
Commit Summary
- included XMI-MSIM 4.0 requirement in NSIS files
- support for XMI-MSIM 4.0/new manual
- new device: radionuclide
radionuclide example build fix
File Changes
- M Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-0 (2)
- M configure.ac https://github.com/golosio/xrmc/pull/22/files#diff-1 (8)
- M doc/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-2 (2)
- A doc/xrmc_6.4.5_man.pdf https://github.com/golosio/xrmc/pull/22/files#diff-3 (0)
- M examples/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-4 (3)
- A examples/radionuclide/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-5 (24)
- A examples/radionuclide/composition.dat https://github.com/golosio/xrmc/pull/22/files#diff-6 (30)
- A examples/radionuclide/detector.dat https://github.com/golosio/xrmc/pull/22/files#diff-7 (38)
- A examples/radionuclide/geom3d.dat https://github.com/golosio/xrmc/pull/22/files#diff-8 (22)
- A examples/radionuclide/input.dat https://github.com/golosio/xrmc/pull/22/files#diff-9 (25)
- A examples/radionuclide/quadric.dat https://github.com/golosio/xrmc/pull/22/files#diff-10 (43)
- A examples/radionuclide/radionuclide.dat https://github.com/golosio/xrmc/pull/22/files#diff-11 (13)
- A examples/radionuclide/run.pro https://github.com/golosio/xrmc/pull/22/files#diff-12 (9)
- A examples/radionuclide/run.sh https://github.com/golosio/xrmc/pull/22/files#diff-13 (3)
- A examples/radionuclide/sample.dat https://github.com/golosio/xrmc/pull/22/files#diff-14 (18)
- A examples/radionuclide/source.dat https://github.com/golosio/xrmc/pull/22/files#diff-15 (13)
- M nsis/xrmc-win32.nsi.in https://github.com/golosio/xrmc/pull/22/files#diff-16 (4)
- M nsis/xrmc-win64.nsi.in https://github.com/golosio/xrmc/pull/22/files#diff-17 (4)
- M src/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-18 (6)
- M src/device/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-19 (2)
- M src/device/loadnewdevice.cpp https://github.com/golosio/xrmc/pull/22/files#diff-20 (4)
- A src/radionuclide/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-21 (8)
- A src/radionuclide/loadradionuclide.cpp https://github.com/golosio/xrmc/pull/22/files#diff-22 (122)
- A src/radionuclide/radionuclide.cpp https://github.com/golosio/xrmc/pull/22/files#diff-23 (105)
- A src/radionuclide/xrmc_radionuclide.h https://github.com/golosio/xrmc/pull/22/files#diff-24 (49)
M src/xmi-msim/xrmc-xmimsim.c https://github.com/golosio/xrmc/pull/22/files#diff-25 (3)
Patch Links:
- https://github.com/golosio/xrmc/pull/22.patch
- https://github.com/golosio/xrmc/pull/22.diff
— Reply to this email directly or view it on GitHub https://github.com/golosio/xrmc/pull/22.
Dr. Bruno Golosio Università degli Studi di Sassari, Dipartimento PolComIng, Sezione di Ingegneria Informatica, Istituto di Matematica e Fisica via Piandanna 4, 07100 Sassari Tel +39 079 229587 Fax +39 079 229482
Hi Bruno,
You will first have to bring your xraylib fork up to date with my repository.
Do something like;
git pull tom master
or
git pull upstream master
I think one of these should work, if not the have a look at the .git/config file in your xraylib tree: there should be the correct reference to my repository (it has tschoonj in its name)
After doing this, run autoreconf and run configure, make and sudo make install again. Then you should be able to reinstall xrmc
Let me know if you need further assistance.
Ciao,
Tom
Op 1-jul.-2014, om 07:44 heeft golosio notifications@github.com het volgende geschreven:
Dear Tom, sorry for not answering before, but I have some problem with xrmc/xraylib if I try to compile xrmc, I get an error configure: error: Package requirements (libxrl >= 3.1.0) were not met:
Requested 'libxrl >= 3.1.0' but version of xraylib is 3.0.0 If I try to update xraylib: git pull Already up-to-date.
git status On branch master Your branch is ahead of 'origin/master' by 4 commits. (use "git push" to publish your local commits)
nothing to commit, working directory clean
xraylib xraylib 3.0.0 revised February 2014 if it is up to date, why do I have v3.0.0 and not v.1.0? Thank you, bruno
On 06/25/2014 06:55 PM, Tom Schoonjans wrote:
Hi Bruno,
I have created a new device that inherits from spectrum: now one can define a spectrum using the name of an X-ray producing radionuclide (like "55Fe"), its activity and unit of activity. This is possible through a couple of new functions I added to xraylib: I am offering support for 10 commonly used radionuclides:
55 Fe 238 Pu 244 Cm 109 Cd 125 I 241 Am 153 Gd 57 Co 133 Ba 137 Cs
So for this to work, you will need to use the development version of xraylib (branch nuclide-data, will merge it later into master).
Ciao ciao,
Tom
You can merge this Pull Request by running
git pull https://github.com/tschoonj/xrmc master
Or view, comment on, or merge it at:
https://github.com/golosio/xrmc/pull/22
Commit Summary
- included XMI-MSIM 4.0 requirement in NSIS files
- support for XMI-MSIM 4.0/new manual
- new device: radionuclide
- radionuclide example build fix
File Changes
- M Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-0 (2)
- M configure.ac https://github.com/golosio/xrmc/pull/22/files#diff-1 (8)
- M doc/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-2 (2)
- A doc/xrmc_6.4.5_man.pdf https://github.com/golosio/xrmc/pull/22/files#diff-3 (0)
- M examples/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-4 (3)
- A examples/radionuclide/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-5 (24)
- A examples/radionuclide/composition.dat https://github.com/golosio/xrmc/pull/22/files#diff-6 (30)
- A examples/radionuclide/detector.dat https://github.com/golosio/xrmc/pull/22/files#diff-7 (38)
- A examples/radionuclide/geom3d.dat https://github.com/golosio/xrmc/pull/22/files#diff-8 (22)
- A examples/radionuclide/input.dat https://github.com/golosio/xrmc/pull/22/files#diff-9 (25)
- A examples/radionuclide/quadric.dat https://github.com/golosio/xrmc/pull/22/files#diff-10 (43)
- A examples/radionuclide/radionuclide.dat https://github.com/golosio/xrmc/pull/22/files#diff-11 (13)
- A examples/radionuclide/run.pro https://github.com/golosio/xrmc/pull/22/files#diff-12 (9)
- A examples/radionuclide/run.sh https://github.com/golosio/xrmc/pull/22/files#diff-13 (3)
- A examples/radionuclide/sample.dat https://github.com/golosio/xrmc/pull/22/files#diff-14 (18)
- A examples/radionuclide/source.dat https://github.com/golosio/xrmc/pull/22/files#diff-15 (13)
- M nsis/xrmc-win32.nsi.in https://github.com/golosio/xrmc/pull/22/files#diff-16 (4)
- M nsis/xrmc-win64.nsi.in https://github.com/golosio/xrmc/pull/22/files#diff-17 (4)
- M src/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-18 (6)
- M src/device/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-19 (2)
- M src/device/loadnewdevice.cpp https://github.com/golosio/xrmc/pull/22/files#diff-20 (4)
- A src/radionuclide/Makefile.am https://github.com/golosio/xrmc/pull/22/files#diff-21 (8)
- A src/radionuclide/loadradionuclide.cpp https://github.com/golosio/xrmc/pull/22/files#diff-22 (122)
- A src/radionuclide/radionuclide.cpp https://github.com/golosio/xrmc/pull/22/files#diff-23 (105)
- A src/radionuclide/xrmc_radionuclide.h https://github.com/golosio/xrmc/pull/22/files#diff-24 (49)
- M src/xmi-msim/xrmc-xmimsim.c https://github.com/golosio/xrmc/pull/22/files#diff-25 (3)
Patch Links:
— Reply to this email directly or view it on GitHub https://github.com/golosio/xrmc/pull/22.
Dr. Bruno Golosio Università degli Studi di Sassari, Dipartimento PolComIng, Sezione di Ingegneria Informatica, Istituto di Matematica e Fisica via Piandanna 4, 07100 Sassari Tel +39 079 229587 Fax +39 079 229482 — Reply to this email directly or view it on GitHub.
Hi Bruno,
I have created a new device that inherits from spectrum: now one can define a spectrum using the name of an X-ray producing radionuclide (like "55Fe"), its activity and unit of activity. This is possible through a couple of new functions I added to xraylib: I am offering support for 10 commonly used radionuclides:
55 Fe 238 Pu 244 Cm 109 Cd 125 I 241 Am 153 Gd 57 Co 133 Ba 137 Cs
So for this to work, you will need to use the development version of xraylib (branch nuclide-data, will merge it later into master).
Ciao ciao,
Tom