quisp icon indicating copy to clipboard operation
quisp copied to clipboard

QuISP doesn't build and gives error: String index out of range: 0

Open res6idue opened this issue 2 years ago • 3 comments

QuISP doesn't build and gives error String index out of range: 0

To Reproduce This is just a simplification of the quisp wiki for Install OMNeT for MacOS and Building QuISP with OMNeT IDE

  1. Download OMNeT++6
  2. Clone quisp
  3. Go to quisp and open Version, adding // in the first line of the file
  4. Go to omnetpp-6.0 and run source setenv, ./configure, make
  5. Run omnetpp
  6. Choose quisp/ as the working directory
  7. Refuse to install samples and INET framework
  8. Go to File -> Import..., and select the General -> Existing Project into Workspace wizard
  9. Select the quisp folder as the root directory, and check the only project that appears
  10. Right-click quisp in the project explorer and click property
  11. Select Makemake tab and configure quisp's build as makemake
  12. Error happens
  13. Even if you ignore this error once, it will keep coming up every time you try to build

Expected behaviour No exceptions should happen

Screenshots Screenshot 2022-09-10 at 20 52 32 Screenshot 2022-09-10 at 20 40 54

Desktop (please complete the following information):

  • OS: macOS 12.5.1, without docker, M1
  • QuISP version 0.2.1
  • OMNeT++ version 6.0.1
  • Compiler or other build info: Apple clang version 13.1.6

res6idue avatar Sep 10 '22 11:09 res6idue

This is the same as my build problem. I haven't solved this yet though. You could use docker version if you want.

Chibikuri avatar Sep 13 '22 05:09 Chibikuri

https://bugs.eclipse.org/bugs/show_bug.cgi?id=418579

Chibikuri avatar Sep 14 '22 12:09 Chibikuri

Issue solved by

  • In the quisp root directory
    • Check that GNU/Make 4.3 exists in the path
    • Check that llvm@14 for x86_64 exists in the path
  • $ make (-j8)
  • $ omnetpp

res6idue avatar Oct 21 '22 04:10 res6idue

@res6idue Is this issue still relevant? If it is already resolved, this should be marked as closed.

Naphann avatar Feb 05 '23 15:02 Naphann

I think this issue is resolved by using the dev container. I will close it.

res6idue avatar Feb 06 '23 06:02 res6idue