User forums > Help

Compiler Toolchain Setting seems to be ignored in Version 20.03

<< < (4/7) > >>

patraxbi:
That "full comand" was already on. I pressed rebuild and that build log  is the same: ( I compiled the hello world program. Could it be from my computer?)
g++.exe  -o bin\Debug\test1.exe obj\Debug\main.o   
g++.exe: error: obj\Debug\main.o: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
The problem is that the compiler doesn't create the main.o file and I can't see why

stahta01:

--- Quote from: patraxbi on April 30, 2020, 08:33:57 pm ---That "full comand" was already on. I pressed rebuild and that build log  is the same: ( I compiled the hello world program. Could it be from my computer?)
g++.exe  -o bin\Debug\test1.exe obj\Debug\main.o   
g++.exe: error: obj\Debug\main.o: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
The problem is that the compiler doesn't create the main.o file and I can't see why

--- End quote ---

If that is the full rebuild log then your CB Project is bad!!!!

Is there a reason you told the project to not build the source file?

Edit: My guess is you did not rebuild the project and the Antivirus is causing the problem.
But, you could delete the "default.conf" file under "%APPDATA%\CodeBlocks" in case you realy did a full rebuild to delete a possibly bad configuration file. (Do this when Code::Blocks is not running) The next start of Code::Blocks will recreate the configuration file.

Tim S.

patraxbi:
I didn't tell the project to not build the source file. that's the problem. it won't build it. I reinstalled code blocks 4 times already. I choosed the console project, I haven't made a modification and
hit build & run on the hello world program. So... how could I tell my project to build the source file ? I've never encountered such thing and I'm still learning programming. I barely know some OOP so I wouldn't have a reason to mess up with the settings

patraxbi:
I don't think is the antivirus. I have Bitdefender Total Security for almost one year and never did such thing. I'm gonna try find the ""%APPDATA%\CodeBlocks"" file

stahta01:
So, you never used rebuild or did a clean and then a build.
I go with the anti-virus being the cause.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version