I don't know how I can help you.
You are clearly making basic errors, but you are only explaining what you think you have done, which is flailing around trying everything you can think of.
Make a small dummy project with just some fake functions, and post that. I can't help you if you won't show me what you are working on, and not very good at describing it.