phoSim make when installed issue

Issue #50 resolved
Former user created an 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)

  1. Timmy

    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.

  2. John Peterson

    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.

  3. Timmy

    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.

  4. John Peterson

    ok, thanks. we added the c++14 requirement to some of the documentation pages. thanks for your help!

  5. Log in to comment