atilaneves/cmake-ide

cmake-ide--idb-file-to-obj: Wrong type argument, hash-table-p, nil

Closed this issue · 2 comments

image

stumbled upon this problem.
what are the reasons for this problem?

dlyr commented

Hi, it seems that the compile_commands.json was not generated. It happens to me when cmake failed (look in the cmake buffer if anything went right, or run cmake in terminal in a separate build dir)
By the way, could you simple copy paste text rather than a screen shot ? I think it's a best practice.
++ dlyr

For people finding this via google: more likely the actual problem was an existing in-source build. See my fix in #185). If it was a cmake failure, there should have been a message after "finished running cmake".