Author |
Message |
Topic: Function used but not defined |
TTM
Replies: 22
Views: 57690
|
Forum: General CCS C Discussion Posted: Thu Feb 10, 2022 6:22 am Subject: Function used but not defined |
Yes it does have the rights.
Again, compilation process works fine for any other source code files not having these specifics built in function |
Topic: Function used but not defined |
TTM
Replies: 22
Views: 57690
|
Forum: General CCS C Discussion Posted: Thu Feb 10, 2022 4:44 am Subject: Function used but not defined |
You do have a path even in Linux, and they do have a library for the
actual code here.
It is $PATH in Linux.
Yeah of course :-)
What I meant is that the path doesn't need to be specifically set ... |
Topic: Function used but not defined |
TTM
Replies: 22
Views: 57690
|
Forum: General CCS C Discussion Posted: Thu Feb 10, 2022 4:40 am Subject: Function used but not defined |
I bet 'set_tris_b()' is a reserved word and YOU can't make up a function with the same name ???
Well, not a reserved keyword (as if, then, etc ..) but a "built in function".
If ... |
Topic: Function used but not defined |
TTM
Replies: 22
Views: 57690
|
Forum: General CCS C Discussion Posted: Wed Feb 09, 2022 2:34 pm Subject: Function used but not defined |
Hello everyone,
Thanks for looking into this with so much passion :-)
So again I'M USING A LINUX VERSION, so I do not have a DLL or whatever path to setup. And more than this, running the comma ... |
Topic: Function used but not defined |
TTM
Replies: 22
Views: 57690
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2022 2:15 pm Subject: Function used but not defined |
I realise it is dependant on the PATH variable correctly locating the
include files and DLL's for the processor involved. It won't compile
unless this is the case.
Thanks Ttelmah for your rep ... |
Topic: Function used but not defined |
TTM
Replies: 22
Views: 57690
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2022 2:10 pm Subject: Function used but not defined |
the error msg means the 'order' of the functions and main() is wrong.
main() is trying to use a function, yet is doesn't exist.
.
Thanks temtronic,
I don't think the "order" is the ... |
Topic: Function used but not defined |
TTM
Replies: 22
Views: 57690
|
Forum: General CCS C Discussion Posted: Tue Feb 08, 2022 5:29 am Subject: Function used but not defined |
Hello there,
I'm using Linux version of PCM Compiler Ver. 5.105
Each time I'm trying to use some specific function of the PCM compiler, like input_b(), set_tris_a() etc, the linker says :
Err ... |
|