Solved Link Error
-
Hello I'm having link errors. The code and error messages are listed below.
I think that's a simple code and I use similar codes elsewhere without any problems.
Help please! -
Run the debugger, set a good breakpoint, and look at your local variables. The nature of this error leads me to believe that you are attempting to access memory that does not exist or hasn't been properly allocated.
Let me know what you get in terms of local values. Also, post the header files for Target and TableInit, if you don't mind.
-
@MasterBlade Looks like you forgot to add TableInit cpp file to your project. Please show your pro file.
-
@devDawg Debugging will not help here as the app cannot be linked, so build fails and there is nothing to debug.
-
@jsulm said in Link Error:
@MasterBlade Looks like you forgot to add TableInit cpp file to your project. Please show your pro file.
The pro file seems alright to me.
-
@MasterBlade Delete build folder, run qmake and build
-
@jsulm said in Link Error:
@MasterBlade Delete build folder, run qmake and build
I'm sorry but which is build folder?
-
@MasterBlade On the left side click on "Projects" then you will see
-
@jsulm said in Link Error:
@MasterBlade On the left side click on "Projects" then you will see
Problem solved! Thanks for the help!