Search found 550 matches

by stahta01
Sun Apr 14, 2024 6:25 pm
Forum: Compiler / Linking / IDE Related
Topic: #include issue in vscode on Linux
Replies: 9
Views: 134

Re: #include issue in vscode on Linux

If you do have to use the unofficial wx release, you need to set the include path.
This is what web search returned. No idea if it is correct.
https://stackabuse.com/bytes/troublesho ... n-vs-code/

Tim S.
by stahta01
Sat Apr 13, 2024 3:37 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiler error after upgrading to latest minGW
Replies: 7
Views: 197

Re: Compiler error after upgrading to latest minGW

Post a full compiler re-build log.
Post the full path to the compiler you are trying to use.
If you are *not* trying to use the compiler under the CB installation then it is best to install and use an CB without the MINGW compiler installed under it.

Tim S.
by stahta01
Sat Mar 09, 2024 8:27 pm
Forum: Platform Related Issues
Topic: Where is the library comes from
Replies: 6
Views: 3977

Re: Where is the library comes from

I would do a full clean of the application and see if the problem still exists.

Tim S.
by stahta01
Thu Mar 07, 2024 9:32 pm
Forum: Platform Related Issues
Topic: Where is the library comes from
Replies: 6
Views: 3977

Re: Where is the library comes from

Code: Select all

/home/igor/wxWidgets/buildGTK/wx-config --libs
What does the above return?
by stahta01
Thu Feb 08, 2024 5:27 am
Forum: Compiler / Linking / IDE Related
Topic: Visual Studio Intellisense not working, error with wx/any.h
Replies: 13
Views: 4661

Re: Visual Studio Intellisense not working, error with wx/any.h

Hi, It is strongly suggested by wx devs to not use wx containers and instead use STD ones. Unless you are working with the really old code base (wx2.4 - 2.6 - 2./8). All new programs should use std::vector<>. Thank you. I believe wxAny was introduced in 2.9, it would be hard to use it in 2.8 and ol...
by stahta01
Fri Jan 26, 2024 4:42 pm
Forum: Compiler / Linking / IDE Related
Topic: Embercadero DevC++ & wxWidgets-3.2.4
Replies: 2
Views: 4133

Re: Embercadero DevC++ & wxWidgets-3.2.4

Does the OP understand that to build 64 bit programs require an 64 bit compiler toolchain? And, to compile 32 bit programs require an 32 bit toolchain; note in theory and 64 bit toolchain can compile 32 bit programs; but, wxWidgets programs are more complex than what can normally be done that way. W...
by stahta01
Mon Jan 22, 2024 1:21 am
Forum: Compiler / Linking / IDE Related
Topic: Error in using wxSocket
Replies: 42
Views: 120927

Re: Error in using wxSocket

From wx/event.h // In good old pre-C++17 times we could just static_cast the event handler, // defined in some class deriving from wxEvtHandler, to the "functype" which is // a type of wxEvtHandler method. But with C++17 this doesn't work when the // handler is a noexcept function, so we n...
by stahta01
Sat Jan 20, 2024 1:05 am
Forum: Compiler / Linking / IDE Related
Topic: Error in using wxSocket
Replies: 42
Views: 120927

Re: Error in using wxSocket

Remove "wsock32" and add "ws2_32" as the library needed.

Tim S.
by stahta01
Mon Jan 15, 2024 6:51 am
Forum: Compiler / Linking / IDE Related
Topic: Error in using wxSocket
Replies: 42
Views: 120927

Re: Error in using wxSocket

In Code::Blocks, Look at the build log instead of looking at the build messages to see the compiler commands.
by stahta01
Sun Jan 07, 2024 10:30 pm
Forum: Compiler / Linking / IDE Related
Topic: Error in using wxSocket
Replies: 42
Views: 120927

Re: Error in using wxSocket

The OP might need to include "wx/msw/wrapwin.h" before most if not all other includes. Including "wx/wx.h" and "wx/wxprec.h" before wrapwin.h should be safe. This header needs to be included before "windows.h". The above is a educated guess of something to try...
by stahta01
Mon Dec 25, 2023 3:41 pm
Forum: Compiler / Linking / IDE Related
Topic: Fix Fix MSVC project properties
Replies: 4
Views: 7502

Re: Fix Fix MSVC project properties

The project name is "propertieshanders" (note the missing "L"). Maybe that's the issue? C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(1216,5): warning MSB8012: TargetPath (C:\Users\Igor\OneDrive\Documents\dbhand...
by stahta01
Mon Dec 18, 2023 6:05 am
Forum: Compiler / Linking / IDE Related
Topic: Can wxart2D be used with with wx >3.0?
Replies: 4
Views: 13457

Re: Can wxart2D be used with with wx >3.0?

FYI: The wxart2d only mentions 2.9 version of wxWidgets that I could find https://www.wxart2d.org/
by stahta01
Fri Dec 01, 2023 11:44 pm
Forum: Compiler / Linking / IDE Related
Topic: Arch Linux Issues when compiling application through a maekfile and codeblocks
Replies: 4
Views: 5967

Re: Arch Linux Issues when compiling application through a maekfile and codeblocks

When trying to build an Code::Blocks custom makefile project, it often helps to make sure the makefile works from the command line. This will avoid possible Code::Blocks issues. Once you get the makefile to work, I would see if the Code::Blocks custom makefile project works. Edit: The above assumes ...
by stahta01
Sat Nov 18, 2023 7:16 pm
Forum: Compiler / Linking / IDE Related
Topic: Leopard Undefined symbols wx 3.0.4
Replies: 2
Views: 5581

Re: Leopard Undefined symbols wx 3.0.4

Remove the "--enable-monolithic" configure option it is not well tested and it is almost always not a good idea to use it for static builds.

Tim S.
by stahta01
Mon Nov 13, 2023 1:43 am
Forum: Compiler / Linking / IDE Related
Topic: wxAUI
Replies: 5
Views: 4472

Re: wxAUI

What causes a program to compile and run without issues in IDE but not recognise the wxmsw32ud_core/aui when you try to run the compile exe from the project folder? For the Code::Blocks IDE, the problem can be solved by copying the DLLs (for Windows) to the same folder the exe is in. CB IDE adds th...