Spark Dev: app code was invalid

No, @suda, I haven’t set up cli yet. Are you saying that’s what I need to do? Can I also get the code/ram usage report with cli?

Yeah it shows info about text/data/bss segments. Let me know if your code compiles with CLI.

@suda, I set up CLI and compiled the original 12-file directory. It showed a “multiple definition” linker error. Turns out I had declared an array in a header file which was included in 2 cpp files. The error was easy to fix, and I’m happy to have the linker memory report as well.

It would be really nice if Dev would report “linker error” rather than “app code was invalid” :stuck_out_tongue_winking_eye:.

So my problem is fixed, THANKS to all who helped!
Ray

1 Like