Ok, now i think i know what you want. You want to build this IDA plugin with codeblocks?
Ok, so i think the best way is to go the dev c++ way...
You have to add the paths for libraries like
/path/to/your/sdk/libgcc.wXX/
to Project->Settings->Build options->Search directories->Linker
Libraries like
ida.a
you add to Project->Settings->Build options->Linker settings->Link libraries
You can also place it combined in Project->Settings->Build options->Linker settings->Other linker options but then you have to add the "-l" for library:
-lpath/to/your/sdk/libgcc.wXX/ida.a -Wl, - dll -shared
Linker options like
-Wl, - dll -shared
are set in Project->Settings->Build options->Linker settings->Other linker options
(you can distinguish linker and compiler settings the most time by the "-Wl," part. this means linker option)
Just a note here - it's usually best to start with
../
, because msys seems to get confused
with just
/
, and tries to reference it from the root of the msys directory.
i would ignore this note...
I do not know how Under
C ++ compiler
, add:
-DWIN32 -D__NT__ -D__IDP__ -v -mrtd
this are mixed options...
-D is for defines. you can add all this to other compiler options: Project->Build options->Compiler settings->Other compiler options:
-DWIN32 -D__NT__ -D__IDP__ -v -mrtd
or you splitt the "-D" options to "#defines" Project->Build options->Compiler settings->#defines:
-v -mrtd
i don't know this options... But compiler options are always set in Project->Build options->Compiler settings->Other compiler options
I hope this helped a bit. If not i can try to write a more detailed guide, on the base of you instructions. But i can not test it because i have to IDA and i can not pay for it (it would be a cool tool...)
If you have problems compiling, please remember this link: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F and always post a full build log.
Greetings