Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
General (but related to Code::Blocks) / Re: codeblocks cbp projects for wx samples
« Last post by ollydbg on September 16, 2022, 12:02:15 pm »

EDIT

I found an old reop which is also by tim
stahta01/cb_projects_for_wxWidgets: Code::Blocks projects for building wxWidgets sample code
It was several years ago, and it use the wx-config.exe.


I think tim's this repo could be a start work base.

I see in each cbp file of this repo, it has something like:

Code
			<Target title="win_gcc">
<Option output="bin/$(TARGET_NAME)/$(PROJECT_NAME)" prefix_auto="1" extension_auto="1" />
<Option object_output=".objs/$(TARGET_NAME)" />
<Option type="0" />
<Option compiler="gcc" />
<Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="`$(WX_CONFIG) --cflags`" />
</Compiler>
<Linker>
<Add option="`$(WX_CONFIG) --libs std,ribbon`" />
</Linker>
<Environment>
<Variable name="WX_CONFIG" value="wx-config --compiler=gcc --wxcfg=$(WXCFG)" />
</Environment>
</Target>

Here, tim use the "WX_CONFIG" variable. This variable is cbp dependent, I think a better method is using the C::B's global compiler variable, such as #WXWIDGETS.WX_CONFIG

So, basically, what I need to do is:

1, remove the <Environment> section.
2, change the $(WX_CONFIG) to #WXWIDGETS.WX_CONFIG
3, add a gcv, which point the #WXWIDGETS.WX_CONFIG to the correct wx-config-msys2.exe or wx-config.exe
4, update tim's repo code in samples to the latest wx 3.2.1
62
Plugins development / Re: error alert message when using ThreadSearch Plugin
« Last post by Miguel Gimenez on September 16, 2022, 11:07:13 am »
Windows 8+ means Windows 8 and later.

The stock Windows 7 SP1 does not have the required DLL, but there is an optional KBxxxxx that installs it. I will check DrMinGW 0.9.7 on my system.

EDIT: I get problems with dependencies, the following files are not found:
Code
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
API-MS-WIN-EVENTING-PROVIDER-L1-1-0.DLL
DCOMP.DLL
GPSVC.DLL
IESHIMS.DLL
63
General (but related to Code::Blocks) / Re: JIT debugger
« Last post by ollydbg on September 16, 2022, 08:40:23 am »
Hi, everSome, the drmingw 0.9.7 is released, see here:

Release 0.9.7 jrfonseca/drmingw
64
Using Code::Blocks / Re: Using CodeBlocks to debug itself.
« Last post by ollydbg on September 16, 2022, 08:39:20 am »
Hi, everSome, some one put the similar method (calling sh/bash, and run script in the sh/bash) in the wx forum.

See here: MSYS2 wx-config from command prompt (CMD) workaround / fix
65
Plugins development / Re: error alert message when using ThreadSearch Plugin
« Last post by ollydbg on September 16, 2022, 07:59:14 am »
New releases do not support Windows 7, because they are linked to Windows 8+ DLL.

I just replace the drmingw dll files in my win7's Code::Blocks folder, and I can start C::B without any issue.

I use the dependency walker to check the exchndl.dll, and it looks good. What is the Windows 8+ DLL?

EDIT

I just tested it, and it(exchndl.dll) can correctly catch the crash from a sample program and write the RPT file. So, it works on my Windows 7 64bit.
66
Plugins development / Re: error alert message when using ThreadSearch Plugin
« Last post by Miguel Gimenez on September 16, 2022, 07:53:13 am »
New releases do not support Windows 7, because they are linked to Windows 8+ DLL.
67
Plugins development / Re: Code completion using LSP and clangd
« Last post by ollydbg on September 16, 2022, 07:50:24 am »
About the ccManagerMouseTrap220915-1.patch file.

I'm not sure, but this variable

Code
std::map<cbEditor*,bool> m_EdAutoCompMouseTraps;

The bool value is always "true"? Since I see the only code here is:
Code
m_EdAutoCompMouseTraps[ed] = true;

Also, is the code Windows related? If yes, I think the "#ifdef __WXMSW__" should also be placed in the header file around this member variable declaration.
68
Plugins development / Re: error alert message when using ThreadSearch Plugin
« Last post by ollydbg on September 16, 2022, 05:49:12 am »
Hi, the drmingw has the new release 0.9.7, and it fixes the reading call-stack issue I reported in this thread.

Release 0.9.7 jrfonseca/drmingw

So, my guess is we have to update to this release in our code::blocks svn repo?
69
Plugins development / Re: Code completion using LSP and clangd
« Last post by ollydbg on September 16, 2022, 05:29:45 am »
Quote
1) The HtmlDocumentationPopup gets stuck showing and cannot be closed.
2) The user did a double-click to select from the AutocompPopup, the HtmlDocumentationPopup got left showing and CB is frozen (and may crash).
3) The AutocompPopup and the HtmlPopup are showing, the user unfocused CB then re-focused CB and CB is frozen and must be killed.
4) The user has unChecked Documentation popup in options and now AutocompPopups cannot be scrolled.
5) The AutocompPopup only is stuck showing and cannot be closed.

Hi, Pecan, good work! I see issue5 many times randomly in my daily work, but it is hard to reproduce, I even don't know how to reproduce this issue. The popup window shown on top of every application, and even CB is not focused, the popup window is still showing. What I have to do is kill the C::B process from the task manager.

Hope your fix will solve those issues, thanks!
70
Development / Re: New UserVarManager implementation
« Last post by AndrewCot on September 16, 2022, 04:52:35 am »
An issue I just came across and it's in the existing implementation a well is that there are no errors in the log if a variable is not found due to using the wrong variable set. May be an idea to add logging of errors/warnings when variables are not found.
Pages: 1 2 3 4 5 6 [7] 8 9 10