Compilation without modifications
Compilation without modifications
Hi,
I've installed MCUXpresso, i can build OPENGD77 but i can't modify the source code for testing purposes.
For example :
In the \firmware\source\dmr_codec\codec.c
i modify some line, i add
testing=6;
without type definition.
i create errors syntax in the codec.c but the compilation is always OK, no error messages, as if the compiler did not read the source file.
What is the solution to recompile all the sources ? and the compiler stops if there is syntax errors?
Regards,
Erick
I've installed MCUXpresso, i can build OPENGD77 but i can't modify the source code for testing purposes.
For example :
In the \firmware\source\dmr_codec\codec.c
i modify some line, i add
testing=6;
without type definition.
i create errors syntax in the codec.c but the compilation is always OK, no error messages, as if the compiler did not read the source file.
What is the solution to recompile all the sources ? and the compiler stops if there is syntax errors?
Regards,
Erick
Re: Compilation without modifications
Where are you adding that line? I have just tried it and I get the expected errors when compiling.
There are several conditional sections in that file. If you enter your change in an inactive section (grey background) it won't be seen.
There are multiple ways to start the compile, I usually click on the 'Project' menu then select 'Build Project'
Build progress is shown in the Console window. Errors in the Problems window.
Colin G4EML
There are several conditional sections in that file. If you enter your change in an inactive section (grey background) it won't be seen.
There are multiple ways to start the compile, I usually click on the 'Project' menu then select 'Build Project'
Build progress is shown in the Console window. Errors in the Problems window.
Colin G4EML
Re: Compilation without modifications
I added a wrong #include
and garbage after #include
I use :
Project-Clean
Start a build immediately-Build the entire workspace
and garbage after #include
I use :
Project-Clean
Start a build immediately-Build the entire workspace
- Attachments
-
- pic3.jpg (23.32 KiB) Viewed 513 times
-
- pic2.jpg (24.69 KiB) Viewed 513 times
-
- pic1.jpg (46.77 KiB) Viewed 513 times
Re: Compilation without modifications
and to open the project i choose :
File-Open File
and select the .project in the OpenGD77 directory :
File-Open File
and select the .project in the OpenGD77 directory :
- Attachments
-
- code2.jpg (6.9 KiB) Viewed 507 times
Re: Compilation without modifications
You won't see any error in the 'Building Workspace' dialogue.
You need to watch the Console output which is normally displayed at the bottom of the screen.
Errors will also be indicated by a red X on the file in the left hand project explorer window.
Colin G4EML
You need to watch the Console output which is normally displayed at the bottom of the screen.
Errors will also be indicated by a red X on the file in the left hand project explorer window.
Colin G4EML
Re: Compilation without modifications
thank you very much, i found !