User forums > General (but related to Code::Blocks)
Just wondering...
Larek Robinson:
Okay, what don't you understand? And no, I don't know how to compiler things from the command line...... I don't wanna sound like a complete idiot... but can someone teach me?
Anyways, my problem is this:
•I have a C++ program. I want to build and run it.
•I press 'F9' and nothing happens.
•I try to build it under the 'build' tab... nothing happens/
•no matter what I try to do, my project will NOT build.
••I can save my work, and do anything but build it.
What I've done to troubleshoot:
•uninstall/reinstall
•reboot my computer
I don't know how to make it work...
Jenna:
Make sure the compiler installation directory and the executables are set correctly in "Setup -> Compiler and debugger -> [the compiler yous use] -> Toolchain executables"
and that you are allowed to create executables in the output directory (the last can be a problem on win7 :evil: ).
Larek Robinson:
Creating an executable is not a problem. I'm in a different class right now, but i'll check it out when I get in class tomorrow. Thanks Jens.
Larek Robinson:
Well good news and bad news.
Good:I can now build a project.
Bad : every time it builds, I get this error:
--- Code: ---ld.exe||cannot find -lbgi|
||=== Build finished: 1 errors, 0 warnings ===|
--- End code ---
It does this for every project.... how would one fix this problem?
>.>
((off topic: I feel like such an idiot for asking some questions that are probably easily answered, so please don't give me crap about this, nobody has yet, but I've tried elswhere, and had noting but crap thrown in my face...))
stahta01:
--- Quote from: Larek Robinson on November 18, 2010, 04:55:46 pm ---Well good news and bad news.
Good:I can now build a project.
Bad : every time it builds, I get this error:
--- Code: ---ld.exe||cannot find -lbgi|
||=== Build finished: 1 errors, 0 warnings ===|
--- End code ---
It does this for every project.... how would one fix this problem?
>.>
((off topic: I feel like such an idiot for asking some questions that are probably easily answered, so please don't give me crap about this, nobody has yet, but I've tried elswhere, and had noting but crap thrown in my face...))
--- End quote ---
1. Do you need the Library "bgi"
If no, then remove it from the Linker or Maybe the Compiler Options in the Project or the Compiler and Debugger settings
If yes, verify the library is installed. Verify the correct path to the library is in the Linker Options.
If not installed, install it.
If you do NOT know if it is installed; asked for help on the site that supports your Compiler; this site does NOT support any compilers!
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version