Search found 364 matches

by stahta01
Fri Jul 03, 2020 11:22 am
Forum: Compiler / Linking / IDE Related
Topic: libSM dependency
Replies: 3
Views: 63

Re: libSM dependency

I did see a location in the configure where it tests if the sm library is required to run test code.
The compiler might change whether the test code in configure return yes or no.

Tim S.
by stahta01
Thu Jul 02, 2020 5:18 pm
Forum: Compiler / Linking / IDE Related
Topic: libSM dependency
Replies: 3
Views: 63

Re: libSM dependency

I see no where in code that agrees with your theory of GCC version making a different.

But, I do see the configure option "--enable-detect_sm" that implies that X windows might make a difference.

Tim S.
by stahta01
Tue Jun 30, 2020 11:14 pm
Forum: Compiler / Linking / IDE Related
Topic: Why does WX compile to different structures in Linux and Windows?
Replies: 3
Views: 89

Re: Why does WX compile to different structures in Linux and Windows?

You are wrong! You are using the wrong wx/setup.h under widows because the right one is under the lib folder.
You are using the one that the wxTeam provided because too many MSVC users are to ignorant to use the correct location.

TIm S.
by stahta01
Sun Jun 28, 2020 10:52 pm
Forum: Compiler / Linking / IDE Related
Topic: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
Replies: 32
Views: 408

Re: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory

You two do realize that one is using "MONOLITHIC=0" and the other is using "MONOLITHIC=1", right? I suggest you both decide which one is being used!! Edit: I have never been able to switch the value of MONOLITHIC without a full delete of the wxWidgets folder and extract a fresh copy of files. Tim S.
by stahta01
Fri Jun 26, 2020 2:27 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiler errors after #include <wx/wx.h>
Replies: 3
Views: 155

Re: Compiler errors after #include <wx/wx.h>

Including "wx/msw/wrapwin.h" as the first include should fix your problem.

Tim S.
by stahta01
Thu Jun 25, 2020 1:07 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiler errors after #include <wx/wx.h>
Replies: 3
Views: 155

Re: Compiler errors after #include <wx/wx.h>

Please list all the headers included before you included <wx/wx.h> ? One of them likely is causing the problem! NOTE: This is a common problem on MS Windows. The main ones to cause the problems like this are: commctrl.h use instead wx/msw/wrapcctl.h commdlg.h use instead wx/msw/wrapcdlg.h shlobj.h u...
by stahta01
Sun Jun 21, 2020 7:40 am
Forum: Compiler / Linking / IDE Related
Topic: Non-Unicode/MBCS wxWidgets build for Visual Studio [How we solved it]
Replies: 9
Views: 336

Re: Non-Unicode/MBCS wxWidgets build for Visual Studio [How we solved it]

https://stackoverflow.com/questions/3298569/difference-between-mbcs-and-utf-8-on-windows UTF8 is not able to be supported by MBCS because MBCS assumes at most two bytes per character. I would wonder how long MBCS would be supported officially by Windows 10 or unofficially by wxWidgets in your case....
by stahta01
Tue Jun 09, 2020 6:44 pm
Forum: Compiler / Linking / IDE Related
Topic: vcpkg - wxWidgets
Replies: 3
Views: 134

Re: vcpkg - wxWidgets

From https://vcpkg.readthedocs.io/en/latest/about/faq/ Q: "How do I use different versions of a library on one machine?" The way I read the answer is they expect the user to rename the edited package; but, this is a wild guess on my part. You really should ask your vcpkg question on a site where it ...
by stahta01
Tue Jun 09, 2020 7:28 am
Forum: Compiler / Linking / IDE Related
Topic: vcpkg - wxWidgets
Replies: 3
Views: 134

Re: vcpkg - wxWidgets

I have never used vcpkg!

Did you try "-DwxUSE_STL=OFF"?

Tim S.
by stahta01
Tue May 26, 2020 6:48 pm
Forum: Compiler / Linking / IDE Related
Topic: [SOLVED] Just can't get it to work..
Replies: 8
Views: 295

Re: Just can't get it to work..

search directories > compiler > C:\Program Files (x86)\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswu search directories > linker > C:\Program Files (x86)\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib search directories > linker > C:\Program Files (x86)\CodeBlocks\wxWidgets-3.0.5\include search directories >...
by stahta01
Wed May 13, 2020 1:26 am
Forum: Compiler / Linking / IDE Related
Topic: Cannot compile from source with g++-9 or Clang on MAC OS Catalina
Replies: 7
Views: 306

Re: Cannot compile from source with g++-9 or Clang on MAC OS Catalina

Sorry , but i think you didn't understand me. My aim is not de compile or use wxWidgets. My aim is to fix my mac compilers since they bring weir errors. http://www.catb.org/~esr/faqs/smart-questions.html Be sensitive in choosing where you ask your question. You are likely to be ignored, or written ...
by stahta01
Sun May 10, 2020 8:12 pm
Forum: Compiler / Linking / IDE Related
Topic: Undefined reference to wxHtmlWindowMouseHelper
Replies: 11
Views: 380

Re: Undefined reference to wxHtmlWindowMouseHelper

But I am curious - why do you need to use an undocumented class in your program? He likely did not; that wxHtmlWindowMouseHelper class is a helper class that is needed to use the documented class of wxHtmlWindow. From wx/htmlwin.h wxHtmlWindow() : wxHtmlWindowMouseHelper(this) { Init(); } Tim S.
by stahta01
Sun May 10, 2020 6:36 pm
Forum: Compiler / Linking / IDE Related
Topic: Undefined reference to wxHtmlWindowMouseHelper
Replies: 11
Views: 380

Re: Undefined reference to wxHtmlWindowMouseHelper

Did you link to the correct library?
What compiler are you using?
NOTE: Code::Blocks is not a compiler!

Post the linker error with the linker command from the build log window.

Tim S.
by stahta01
Wed Apr 29, 2020 11:02 pm
Forum: Compiler / Linking / IDE Related
Topic: CodeBlocks and WxWidgets
Replies: 14
Views: 564

Re: CodeBlocks and WxWidgets

Looks like poor packaging.

These files likely should not have the trailing ".3" on them.

Code: Select all

libwx_baseu_unofficial3_net-3.1.so.3
libwx_baseu_unofficial3_xml-3.1.so.3
libwx_baseu_unofficial3-3.1.so.3
Edit: Since these are Codelite packages you might ask on their website.

Tim S.
by stahta01
Wed Apr 29, 2020 7:15 pm
Forum: Compiler / Linking / IDE Related
Topic: CodeBlocks and WxWidgets
Replies: 14
Views: 564

Re: CodeBlocks and WxWidgets

You can post the output of wx-config command.

Code: Select all

wx-config --list
Tim S.