Search found 548 matches

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

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: 222

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: 577

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: 522

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: 88413

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: 88413

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: 88413

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: 88413

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: 3237

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: 6771

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: 1936

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: 1805

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: 2004

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...
by stahta01
Fri Nov 10, 2023 10:49 pm
Forum: Compiler / Linking / IDE Related
Topic: Checking if wxWidgets was compiled with EGL or GLX support?
Replies: 4
Views: 3618

Re: Checking if wxWidgets was compiled with EGL or GLX support?

Look at wxUSE_GLCANVAS_EGL in wx/setup.h would be my guess.

Tim S.
by stahta01
Sun Oct 15, 2023 6:30 pm
Forum: Compiler / Linking / IDE Related
Topic: How to set up Code::Blocks to run wxWidgets on Mac?
Replies: 2
Views: 2417

Re: How to set up Code::Blocks to run wxWidgets on Mac?

I'm using an M1 MacBook Pro, and while I can build my wxWidgets app from the terminal using g++ \`wx-config --cxxflags\` -o ./program \*.cpp \`wx-config --libs` and run it with./program, I cannot get Code::Blocks to compile and run my program. I've tried adding the wx-config statements as compiler ...