Thursday, 15 April 2010

compilation - Why won't codeblocks use my project options? -



compilation - Why won't codeblocks use my project options? -

i did what's needed, right click on project name, click build options... select append target options project options (i tried utilize project options only).

thing is, have define , compiler flags set when compiles doesn't show them on command line.

mingw32-g++.exe -l"c:\documents , settings\zirgon\bureau\gserver\projects\miniupnpc" -o ..\..\bin\gserver2.exe obj\release\adler32.o obj\release\blocksort.o obj\release\bz2compress.o obj\release\bzlib.o obj\release\cencryption.o obj\release\cfilequeue.o obj\release\cfilesystem.o obj\release\clog.o obj\release\compress.o obj\release\cpluginmanager.o obj\release\crc32.o obj\release\crctable.o obj\release\csettings.o obj\release\csocket.o obj\release\cstring.o obj\release\ctranslationmanager.o obj\release\cupnp.o obj\release\cwordfilter.o obj\release\decompress.o obj\release\deflate.o obj\release\gzclose.o obj\release\gzlib.o obj\release\gzread.o obj\release\gzwrite.o obj\release\huffman.o obj\release\infback.o obj\release\inffast.o obj\release\inflate.o obj\release\inftrees.o obj\release\iutil.o obj\release\main.o obj\release\md5.o obj\release\randtable.o obj\release\taccount.o obj\release\tlevel.o obj\release\tlevelbaddy.o obj\release\tlevelboardchange.o obj\release\tlevelchest.o obj\release\tlevelhorse.o obj\release\tlevelitem.o obj\release\tlevellink.o obj\release\tlevelsign.o obj\release\tmap.o obj\release\tnpc.o obj\release\tplayer.o obj\release\tplayerlogin.o obj\release\tplayernc.o obj\release\tplayerprops.o obj\release\tplayerrc.o obj\release\trees.o obj\release\tserver.o obj\release\tserverlist.o obj\release\tweapon.o obj\release\uncompr.o obj\release\zutil.o -lws2_32 -liphlpapi

there should -o3, -g , -dno_boost in there.

you have messed project settings. seek re-creating project file time not adjust way options handled. if still messes re-install codeblocks!

by default release , debug. create sure command line checking right one. setting options on release , going debug build?

compilation codeblocks

No comments:

Post a Comment