Undefined Reference to

后端 未结 6 916
生来不讨喜
生来不讨喜 2020-12-01 06:28

When I compile my code for a linked list, I get a bunch of undefined reference errors. The code is below. I have been compiling with both of these statements:



        
6条回答
  •  清歌不尽
    2020-12-01 07:03

    I was getting this error because my cpp files was not added in the CMakeLists.txt file

提交回复
热议问题