Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Cant build simple hello world dll

<< < (2/2)

MortenMacFly:

--- Quote from: mighter on May 13, 2008, 09:09:15 pm ---I tried linking with libcodeblocks.a and libwxscintilla.a and also put the directory it's in in the search directory, But it still doesn't work. Is that what you meant to link against?

--- End quote ---
Not really. There are 2 possibilities:
1.) Compile C::B completely yourself, remove any references to 08.02. Then you can (and should) use libcodeblocks.a and libwxscintilla.a.
2.) Use C::B 08.02 with the sources of 08.02. Then you have to use codeblocks.dll to link against. Don't forget to remove any referbnces to SVN sources, then.

For clarification: This all applies to MinGW only. That's the only supported compiler for building C::B plugins (not other applications). With MinGW (GCC) you can link against static libraries (*.a) and dynamic libraries (*.so/*.DLL) just fine.

Probably you should decide which way to go and then post your project here for inspection.

MortenMacFly:

--- Quote from: Seronis on May 14, 2008, 07:44:56 am ---I cant stand using it, but in its favor a majority of its issues is from programs written for XP being used on it.  You just need to use software written specifically for Vista compatibility and you're good.

--- End quote ---
I have only very few applications written especially for Vista (these are e.g. applications which needed an adoption of the driver model or alike). Mostly if an application does not run under Vista in my opinion it's grab. Vista just forces what all dev's should have been taken care of at XP already. The idea is good but if devs are just too damn lazy/dumb to implement the right API instead of an "easy work-around" I don't wonder why those applications don't run on Vista. They actually shouldn't have run on XP, too IMHO. So - my personal opinion: If you realise an application not working under Vista but under XP - wipe it off... it's useless and most likely even dangerous. I did exactly that (I am still working with XP at work) and I can live with it very well.

mighter:
After linking to codeblocks.dll and changing 'codeblocks' in linker options to src\devel\libcodeblocks.a it built fine :D. Thank you for all of your help!

Navigation

[0] Message Index

[*] Previous page

Go to full version