Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Build CodeBlocks using Microsoft Visual C++

<< < (2/10) > >>

Loaden:

--- Quote from: xunxun1982 on April 06, 2011, 03:22:08 am ---Yes, scrollingdialog.cpp is really compiled, but in my surprise, CodeBlocks.lib doesn't contain any wxDialogHelper's symbol.

--- End quote ---
I am think so, but I can't find the reason.
In V2, I am using /OPT:NOREF and /OPT:NOICF, But not work too.

Loaden:

--- Quote from: ollydbg on April 06, 2011, 03:36:00 am ---@loaden
someone has used a msvc compiler to build the codeblocks, he just released it on sourceforge. Sorry I can't find the link now.

--- End quote ---
OK, I try search now.

xunxun:
I try to change CodeBlocks.lib(dynamic lib) to static lib and add /ignore:4006 /ignore:4221 to linker option.
The LNK1189 error comes out : The limit of 65535 objects or members in a library has been exceeded.

Loaden:

--- Quote from: xunxun1982 on April 06, 2011, 04:08:55 am ---I try to change CodeBlocks.lib(dynamic lib) to static lib and add /ignore:4006 /ignore:4221 to linker option.
The LNK1189 error comes out : The limit of 65535 objects or members in a library has been exceeded.


--- End quote ---
We can't build the SDK to static lib, because there have many plugins need the SDK.
Now I find a reason, that we need make it import.
like:
class DLLIMPORT wxDialogHelper
{

xunxun:

--- Quote from: Loaden on April 06, 2011, 04:26:24 am ---
--- Quote from: xunxun1982 on April 06, 2011, 04:08:55 am ---I try to change CodeBlocks.lib(dynamic lib) to static lib and add /ignore:4006 /ignore:4221 to linker option.
The LNK1189 error comes out : The limit of 65535 objects or members in a library has been exceeded.


--- End quote ---
We can't build the SDK to static lib, because there have many plugins need the SDK.
Now I find a reason, that we need make it import.
like:
class DLLIMPORT wxDialogHelper
{

--- End quote ---

That's right. I have found it just now.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version