User forums > General (but related to Code::Blocks)
How to develop graphic programs using codeblocks?
stahta01:
Turn on Full Compiler Logging and maybe you can see your problem or some else can see it.
--- Quote ---Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
--- End quote ---
Tim S.
liklstar:
--- Quote from: stahta01 on August 12, 2010, 03:41:35 pm ---Turn on Full Compiler Logging and maybe you can see your problem or some else can see it.
--- Quote ---Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
--- End quote ---
Tim S.
--- End quote ---
D:\WorkingArea\Graphic\z-buffer\main.c|3|graphics.h: No such file or directory|
mingw32-gcc.exe: compiler: No such file or directory
mingw32-gcc.exe: logging=full command line: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 31 warnings
compiler search directories :c:\MinGW\bin
linker :d:\workingarea\graphic\z_buffer
link library :GRAPGICS.LIB
and GRAPHICS.LIB is already in linker directory!
oBFusCATed:
--- Quote from: liklstar on August 12, 2010, 03:29:21 pm ---Now, I don't think C::B can link Turbo C's non-standard library to the target code unless you told me how to resolve this trouble!
--- End quote ---
You're not reading what you've been told to read...
And you still think that C::B is compiler/linker!
stahta01:
--- Quote from: liklstar on August 12, 2010, 04:01:40 pm ---mingw32-gcc.exe: logging=full command line: No such file or directory
--- End quote ---
The above line implies a level of ignorance too large for me to help.
Bye
Tim S.
PS: I think your new thread will fail without someone to help you on-site
http://forums.codeblocks.org/index.php/topic,13083.0.html
liklstar:
--- Quote from: stahta01 on August 12, 2010, 05:13:17 pm ---
--- Quote from: liklstar on August 12, 2010, 04:01:40 pm ---mingw32-gcc.exe: logging=full command line: No such file or directory
--- End quote ---
The above line implies a level of ignorance too large for me to help.
Bye
Tim S.
PS: I think your new thread will fail without someone to help you on-site
http://forums.codeblocks.org/index.php/topic,13083.0.html
The following is the detail information, help me please!
-------------- Build: Debug in z-buffer ---------------
mingw32-gcc.exe -Wall -std=c99 -g -std=c99 compiler logging="full command line" -IC:\MinGW\bin -IC:\MinGW\bin -c D:\WorkingArea\Graphic\z-buffer\main.c -o obj\Debug\main.o
D:\WorkingArea\Graphic\z-buffer\main.c:3:22: graphics.h: No such file or directory
D:\WorkingArea\Graphic\z-buffer\main.c:61: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `calcabcd':
D:\WorkingArea\Graphic\z-buffer\main.c:77: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: At top level:
D:\WorkingArea\Graphic\z-buffer\main.c:132: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `buildPT':
D:\WorkingArea\Graphic\z-buffer\main.c:150: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: At top level:
D:\WorkingArea\Graphic\z-buffer\main.c:153: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c:162: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `buildET':
D:\WorkingArea\Graphic\z-buffer\main.c:194: warning: implicit declaration of function `getch'
D:\WorkingArea\Graphic\z-buffer\main.c:202: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: At top level:
D:\WorkingArea\Graphic\z-buffer\main.c:249: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `insertedgepair':
D:\WorkingArea\Graphic\z-buffer\main.c:273: warning: suggest parentheses around assignment used as truth value
D:\WorkingArea\Graphic\z-buffer\main.c:282: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: In function `findcolor':
D:\WorkingArea\Graphic\z-buffer\main.c:294: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: At top level:
D:\WorkingArea\Graphic\z-buffer\main.c:298: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `deleteedgepair':
D:\WorkingArea\Graphic\z-buffer\main.c:321: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: At top level:
D:\WorkingArea\Graphic\z-buffer\main.c:343: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `pairleftedge':
D:\WorkingArea\Graphic\z-buffer\main.c:359: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: At top level:
D:\WorkingArea\Graphic\z-buffer\main.c:362: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `pairrightedge':
D:\WorkingArea\Graphic\z-buffer\main.c:377: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: At top level:
D:\WorkingArea\Graphic\z-buffer\main.c:380: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `deletecurrentedgepair':
D:\WorkingArea\Graphic\z-buffer\main.c:387: warning: `return' with no value, in function returning non-void
D:\WorkingArea\Graphic\z-buffer\main.c:395: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: At top level:
D:\WorkingArea\Graphic\z-buffer\main.c:398: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `setva':
D:\WorkingArea\Graphic\z-buffer\main.c:426: warning: control reaches end of non-void function
D:\WorkingArea\Graphic\z-buffer\main.c: At top level:
D:\WorkingArea\Graphic\z-buffer\main.c:430: warning: return type defaults to `int'
D:\WorkingArea\Graphic\z-buffer\main.c: In function `main':
D:\WorkingArea\Graphic\z-buffer\main.c:434: error: `VGA' undeclared (first use in this function)
D:\WorkingArea\Graphic\z-buffer\main.c:434: error: (Each undeclared identifier is reported only once
D:\WorkingArea\Graphic\z-buffer\main.c:434: error: for each function it appears in.)
D:\WorkingArea\Graphic\z-buffer\main.c:434: error: `VGAHI' undeclared (first use in this function)
D:\WorkingArea\Graphic\z-buffer\main.c:456:2: warning: "/*" within comment
D:\WorkingArea\Graphic\z-buffer\main.c:463: warning: suggest explicit braces to avoid ambiguous `else'
D:\WorkingArea\Graphic\z-buffer\main.c:483:2: warning: "/*" within comment
D:\WorkingArea\Graphic\z-buffer\main.c:485: warning: implicit declaration of function `registerbgidriver'
D:\WorkingArea\Graphic\z-buffer\main.c:485: error: `EGAVGA_driver' undeclared (first use in this function)
D:\WorkingArea\Graphic\z-buffer\main.c:486: warning: implicit declaration of function `initgraph'
D:\WorkingArea\Graphic\z-buffer\main.c:487: warning: implicit declaration of function `setbkcolor'
D:\WorkingArea\Graphic\z-buffer\main.c:487: error: `GREEN' undeclared (first use in this function)
D:\WorkingArea\Graphic\z-buffer\main.c:488: warning: implicit declaration of function `setcolor'
D:\WorkingArea\Graphic\z-buffer\main.c:488: error: `YELLOW' undeclared (first use in this function)
D:\WorkingArea\Graphic\z-buffer\main.c:489: warning: implicit declaration of function `clrscr'
D:\WorkingArea\Graphic\z-buffer\main.c:495: warning: implicit declaration of function `putpixel'
D:\WorkingArea\Graphic\z-buffer\main.c:435: warning: unused variable `p'
D:\WorkingArea\Graphic\z-buffer\main.c:436: warning: unused variable `ep'
D:\WorkingArea\Graphic\z-buffer\main.c:538: warning: statement with no effect
mingw32-gcc.exe: compiler: No such file or directory
mingw32-gcc.exe: logging=full command line: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
8 errors, 36 warnings
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version