phoSim make when installed issue
when I install Phosim following the instruction, ./configure was finished, and then, I type make and run. The following error was occured:
make[1]: *[main.o] error 1 make[1]: Leavingdirectory '/home/mengxiaodi/downloads/phosim-phosim_release/source/raytrace' mv: 无法获取‘raytrace'文件状态(stat)(cannot get 'raytrace' file stat):have no such file or directory make[1]: [all] error 1
But actually, I can find raytrace folder. It would be appreciate if you can help me solve this problem.
Comments (6)
-
-
The problem was solved. And the problem is my gcc version was too low.
And my statements was not adequate, before that is g++ error.
So after gcc updated, the problem was solved.
Now I can enjoy Phosim. Thank you so much.
-
thanks. do you know what gcc you were using that didn’t work. I can write a requirement for that in the installation instructions, but we weren’t aware of any issue with an older gcc so far.
-
As is shown in the picture above, my Ubuntu version was 14.04 and gcc version was 4.8.5, the problen was this gcc version is not support c++14, and just support c++11. So g++: error: unrecognized command line option ‘-std=c++14’ was occured as shown over the red line.
Take this opportunity, I updated my ubuntu version and gcc version is updated with the system.
Then make successfully.
I think the key point is the g++ error and I did not mention this before.
Hope I said it clear and it is helpful. Thanks.
-
ok, thanks. we added the c++14 requirement to some of the documentation pages. thanks for your help!
-
- changed status to resolved
closing
- Log in to comment
i think you may be missing part of the download then. there should be a folder called source/raytrace. see if you can redownload it, and hopefully it will be there.
try the download page:
https://bitbucket.org/phosim/phosim_release/downloads/?tab=tags
and then use the newest one v5.1.4
You should be able to see this directory before even you do configure.