Lỗi it seems that flie hasnot been built yet năm 2024

Why does this happen repeatedly? I have a suspicion my installation of Cygwin has something to do with this, though the toolchain executables for GCC all point to those in the CodeBlocks directory...

Cheers,

Mark

« Last Edit: March 03, 2012, 09:13:32 pm by mark1977 »

Logged

Here is my build log: Checking for existence: C:\Users\mark\codes\CKat2\bin\Debug\CKat2.exe Executing: "C:\Program Files [x86]\CodeBlocks/cb_console_runner.exe" "C:\Users\mark\codes\CKat2\bin\Debug\CKat2.exe" [in C:\Users\mark\codes\CKat2\.] Process terminated with status -1073741510 [0 minutes, 4 seconds]

No this is not your build log

Logged

[most of the time I ignore long posts] [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Right, but that's the problem, because it won't let me build. So all I can do is tell you what is underneath the tab "Build Log", which is what I gave above

Logged

« Last Edit: March 02, 2012, 04:46:22 pm by stahta01 »

Logged

C Programmer working to learn more about C++ and Git. On Windows 7 64 bit and Windows 10 64 bit. -- When in doubt, read the CB WiKi FAQ. //wiki.codeblocks.org

Thanks Tim, here you go:

-------------- Clean: Debug in CKat2 ---------------

Cleaned "CKat2 - Debug"

-------------- Build: Debug in CKat2 ---------------

g++.exe      -c C:/Users/mark/codes/CKat2/HydroLa/CPP/KHadvect.cpp -o obj/Debug/HydroLa/CPP/KHadvect.o
Execution of 'g++.exe      -c C:/Users/mark/codes/CKat2/HydroLa/CPP/KHadvect.cpp -o obj/Debug/HydroLa/CPP/KHadvect.o' in 'C:\Users\mark\codes\CKat2' failed.
Nothing to be done.

Logged

Step 1. Verify the command "g++.exe" exists in the Compiler bin folder. Step 1b get g++ version "g++.exe -v" Step 2. Using the OS Command line [cmd.exe] try the CB command to verify it works. NOTE: Set the path to the correct compiler bin folder before doing step 2.

NOTE: If using CygWin change the g++.exe to the REAL exe name instead of a link file.

Tim S.

« Last Edit: March 02, 2012, 08:59:45 pm by stahta01 »

Logged

C Programmer working to learn more about C++ and Git. On Windows 7 64 bit and Windows 10 64 bit. -- When in doubt, read the CB WiKi FAQ. //wiki.codeblocks.org

Thanks Tim.

The problem was I was using Cygwin for debug and GCC for release. When I viewed the Project's compiler though [under Project->Build Options], it showed GCC [and I mistakenly assumed it would be showing my current build target's compiler]. Cheers for the help.

Logged

jeorge_kabbi

Step 1. Verify the command "g++.exe" exists in the Compiler bin folder.

Step 1b get g++ version "g++.exe -v" Step 2. Using the OS Command line [cmd.exe] try the CB command to verify it works. NOTE: Set the path to the correct compiler bin folder before doing step 2.

NOTE: If using CygWin change the g++.exe to the REAL exe name instead of a link file.

Tim S.

for me , g++ was not present. i installed it and it just worked! thank you

Logged

Hello, i have the same problems just now. I built a new project, and whenever a new file is written, it says repeatly :"...not built...". Then, I deleted the test.f inside the fortran sources folder, and everything works now.

Logged

Running in Linux Mint 17.3. I found g++ wasn't installed. I installed it, and for good measure told code::blocks to reset the compiler to the defaults and it still doesn't seem to compile [i.e. I still get this message].

Any and all help appreciated.

Logged

Running in Linux Mint 17.3. I found g++ wasn't installed. I installed it, and for good measure told code::blocks to reset the compiler to the defaults and it still doesn't seem to compile [i.e. I still get this message]. Any and all help appreciated.

Please make new thread asking for help! Please post a full rebuild log in that thread!

Edit: This thread has [SOLVED] in the title; because of this, I ignored looking at it for several hours.

Chủ Đề