i try a new project of GUI >gtk i am failed i can't know why,can anybody help me? thanks in advance.
in compiler: cc1.exe F:\cy\Dev-Cpp\myp\gtk1\cc1.exe unrecognized option `-fnative-struct' F:\cy\Dev-Cpp\myp\gtk1\Makefile.win [Build Error] [main.o] Error 1
in compile log: Compiler: Default compiler Building Makefile: "F:\cy\Dev-Cpp\myp\gtk1\Makefile.win" Executing make... make.exe -f "F:\cy\Dev-Cpp\myp\gtk1\Makefile.win" all gcc.exe -c main.c -o main.o -I"F:/cy/Dev-Cpp/include" -I"F:\cy\Dev-Cpp\\include\gtk-2.0" -I"F:\cy\Dev-Cpp\\include\gtkdeps-2.0" -I"F:\cy\Dev-Cpp\\lib\gtk-2.0\include" -I"F:\cy\Dev-Cpp\\include\atk-1.0" -I"F:\cy\Dev-Cpp\\include\pango-1.0" -I"F:\cy\Dev-Cpp\\include\glib-2.0" -I"F:\cy\Dev-Cpp\\lib\glib-2.0" -I"F:\cy\Dev-Cpp\\lib\glib-2.0\include" -fnative-struct
cc1.exe: unrecognized option `-fnative-struct'
make.exe: *** [main.o] Error 1
Execution terminated
Remove -fnative-struct option and add -mms-bitfields That will compile your program
Log in to post a comment.
i try a new project of GUI >gtk
i am failed
i can't know why,can anybody help me?
thanks in advance.
in compiler:
cc1.exe F:\cy\Dev-Cpp\myp\gtk1\cc1.exe
unrecognized option `-fnative-struct'
F:\cy\Dev-Cpp\myp\gtk1\Makefile.win
[Build Error] [main.o] Error 1
in compile log:
Compiler: Default compiler
Building Makefile: "F:\cy\Dev-Cpp\myp\gtk1\Makefile.win"
Executing make...
make.exe -f "F:\cy\Dev-Cpp\myp\gtk1\Makefile.win" all
gcc.exe -c main.c -o main.o -I"F:/cy/Dev-Cpp/include" -I"F:\cy\Dev-Cpp\\include\gtk-2.0" -I"F:\cy\Dev-Cpp\\include\gtkdeps-2.0" -I"F:\cy\Dev-Cpp\\lib\gtk-2.0\include" -I"F:\cy\Dev-Cpp\\include\atk-1.0" -I"F:\cy\Dev-Cpp\\include\pango-1.0" -I"F:\cy\Dev-Cpp\\include\glib-2.0" -I"F:\cy\Dev-Cpp\\lib\glib-2.0" -I"F:\cy\Dev-Cpp\\lib\glib-2.0\include" -fnative-struct
cc1.exe: unrecognized option `-fnative-struct'
make.exe: *** [main.o] Error 1
Execution terminated
Remove
-fnative-struct option
and add
-mms-bitfields
That will compile your program