Recent Posts

Pages: 1 ... 4 5 6 7 8 [9] 10
81
Help / Re: Unable to find / create exe file?
« Last post by Warren_W_W on October 21, 2020, 07:41:20 pm »
Solved.
82
Thx for the info, I didn't know of the "#", . You have been very helpful! Learning is fundamental.
83
Help / Re: Unable to build multiple files project. Checking for existence......
« Last post by BlueHazzard on October 21, 2020, 04:34:21 pm »
Check if you have added your file to the compiling target:
Project->Properties->Build targets->Select a build target on the left->Check if all files have a check mark in "Build target files"
the same for the second target on the left
84
Help / Re: Unable to build multiple files project. Checking for existence......
« Last post by kuasimikua on October 21, 2020, 03:41:43 pm »
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Code: [Select]
C:\Users\seng\Desktop\C Projects\C15P3\bin\Debug\C15P3.exe
I suggest only using ASCII without any spaces in the path.

So, I would suggest renaming "C Projects" to  "C_Projects".

Some compilers has issues with spaces in the path.

Tim S.

Hi Sir, thank you for the help and response. I have changed the folder name accordingly but problem still persists.

I am running Code::Blocks version 20.03 The compiler I use is GNU GCC Compiler. gcc (MinGW.org GCC Build-20200227-1) 9.2.0

Description of problem: Mentioned in 1st post

Build log:
Code: [Select]

-------------- Clean: Debug in CC15P3 (compiler: GNU GCC Compiler)---------------

Cleaned "CC15P3 - Debug"

-------------- Build: Debug in CC15P3 (compiler: GNU GCC Compiler)---------------

Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).



Crash report: NIL, just repeatedly prompts me that project has not been built. Attached is an image of the prompt.

I have already tried ...
-Restarting computer and codeblocks
-Excluding folder from anti virus scans
... but none of them worked.
85
Using Code::Blocks / Re: Virtual folders in workspace?
« Last post by BlueHazzard on October 21, 2020, 11:13:32 am »
Have you tried it? It should work just fine. Create the virtual folder and drag the files into it
86
We can nit provide a screenshot or log output for every step... It is different on every machine you are running the code. The only thing that is the same on all is the line "Hello World"
You will encounter MANY incomplete tutorials and programming directions on your way to learn programming. Use the internet, use google to search for the error messages and the solutions. This will help you to understand the issues and learn A LOT.  The programming world is to fast and to complex most of the time to make a 1 to 1 explanation that works and looks the same for longer than 1 year....
But you can improve the wiki if you want. The login should be the same is in this forum here. If not please report.
Thank you!

Also, for the next time you ask in the forum for help and post some code or error messages or logging messages, please use the "#" symbol in the forum editor to encapsulate your log or code. If you post simply the text it is quite difficult to read your posts and differentiate between code/log/error message and your text...
87
Help / Re: Unable to find / create exe file?
« Last post by BlueHazzard on October 21, 2020, 11:04:46 am »
You have to add the line
Code: [Select]
#include <climits>at the beginning of your code.

Google is your friend
88
Help / Re: Unable to build multiple files project. Checking for existence......
« Last post by stahta01 on October 21, 2020, 08:40:51 am »
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Code: [Select]
C:\Users\seng\Desktop\C Projects\C15P3\bin\Debug\C15P3.exe
I suggest only using ASCII without any spaces in the path.

So, I would suggest renaming "C Projects" to  "C_Projects".

Some compilers has issues with spaces in the path.

Tim S.
89
General (but related to Code::Blocks) / Re: Gurobi in Code::Blocks
« Last post by nenin on October 21, 2020, 07:30:25 am »
Thanks for your replies.

Sorry, I just added all the libraries and failed.
I didn't know it doesn't provide support for MinGW.
*****

Is that means I can't use Gurobi with Code Block ?
Theoretically if Gurobi  supplis dlls, you can try to link dlls, not libs, directly to you project. GCC can do it. But even in case of the successful linking there may be a lot of the other issues for c++ library.
90
Help / Unable to build multiple files project. Checking for existence......
« Last post by kuasimikua on October 21, 2020, 06:34:49 am »
Hi all, basically I am able to build my multiple file project but when I try to run it in codeblocks it says that It seems the project has not been built yet, do you want to build it now. If i click yes, t he same prompt just keeps reappearing. Here is the build log.

-------------- Build: Debug in C15P3 (compiler: GNU GCC Compiler)---------------

Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).


-------------- Run: Debug in C15P3 (compiler: GNU GCC Compiler)---------------

Checking for existence: C:\Users\seng\Desktop\C Projects\C15P3\bin\Debug\C15P3.exe


However, using command prompt to run the makefile and run the .exe file created works. I have tried googling around and added my C projects folder to the exclusions for my antivirus but the problem still exists. Any help would be greatly appreciated, am new to C and learning it using KNKING's book. :)
Pages: 1 ... 4 5 6 7 8 [9] 10