Search found 355 matches

by stahta01
Mon Mar 02, 2020 12:41 am
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference Errors
Replies: 24
Views: 737

Re: Undefined Reference Errors

Just did some googling and windres is likely raising this error; so, trying other options for resource compiler is worth trying. What MSys2 MinGW returns $ wx-config --rescomp windres --include-dir C:/msys64/mingw64/include/wx-3.0 --define __WIN32__ --define __GNUWIN32__ --define WX_CPU_AMD64 I am g...
by stahta01
Sun Mar 01, 2020 5:20 pm
Forum: Compiler / Linking / IDE Related
Topic: Missing DLLs while cross-compiling
Replies: 4
Views: 268

Re: Missing DLLs while cross-compiling

You need to copy the DLLs to the exe folder.
Or, add the path of the DLLs to the PATH.

Tim S.
by stahta01
Sun Mar 01, 2020 3:46 am
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference Errors
Replies: 24
Views: 737

Re: Undefined Reference Errors

Here what a text editor shows is in resource.rc: aaaa ICON "wx/msw/std.ico" #include "wx/msw/wx.rc" The "aaaa" part is suspicious. Should this be there? Removing it resulted in a "No such file or directory" error. The "aaaa" part is normal. The "-F pe-x86-64" resource option got the error: ||=== Bu...
by stahta01
Sat Feb 29, 2020 11:48 pm
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference Errors
Replies: 24
Views: 737

Re: Undefined Reference Errors

I would look at resource.rc for problems.

Edit: I have no idea if adding resource compiler option of "-m64" will fix the issue but it is worth trying.
Edit2: -m64 is not valid for the resource compiler.
Edit3: "-F pe-x86-64" option might work.


Tim S.
by stahta01
Sat Feb 29, 2020 6:20 am
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference Errors
Replies: 24
Views: 737

Re: Undefined Reference Errors

Just looked at all the wxWidgets samples. And, the samples artprov and widgets use WXDLLIMPEXP_FWD_CORE to forward declare classes. The only one to use WXDLLIMPEXP_BASE is xti and it only uses it in a few places. So, remove the WXDLLIMPEXP_ macros who should not be WXDLLIMPEXP_FWD_ macros and rebuil...
by stahta01
Sat Feb 29, 2020 5:41 am
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference Errors
Replies: 24
Views: 737

Re: Undefined Reference Errors

I still have the wxWidgets library is still compiled with SHARE=1. WXDLLIMPEXP_ADV has been changed to WXDLLIMPEXP_CORE. The use of WXDLLIMPEXP_CORE is necessary wherever I derive a class from a wxWidgets class. All wxWidgets classes are declared with WXDLLIMPEXP_CORE, so I must do the same when I ...
by stahta01
Sat Feb 29, 2020 12:07 am
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference Errors
Replies: 24
Views: 737

Re: Undefined Reference Errors

Remove the use of WXDLLIMPEXP_ADV from all of your code; if you are not writing an DLL you should have no WXDLLIMPEXP_ in your code!

Tim S.
by stahta01
Fri Feb 28, 2020 3:22 am
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference Errors
Replies: 24
Views: 737

Re: Undefined Reference Errors

You have looked at "C:\Software\Designer\src\JunctionCap.cpp|332" to see what the method being called is, right?

Tim S.
by stahta01
Fri Feb 28, 2020 12:52 am
Forum: Compiler / Linking / IDE Related
Topic: Conan Paket strange error
Replies: 14
Views: 473

Re: Conan Paket strange error

Have you tried using a single file version of helloworld as from https://docs.wxwidgets.org/trunk/overview_helloworld.html to see if it also has the problem? If yes, could you see if the samples/minimal/minimal.cpp has the problem. I now know enough about conan to try to see if I can duplicate the e...
by stahta01
Fri Feb 28, 2020 12:24 am
Forum: Compiler / Linking / IDE Related
Topic: Conan Paket strange error
Replies: 14
Views: 473

Re: Conan Paket strange error

I had to enable case sensitive under Windows 7 to get past the "expat" library case issue. How to enable case sensitive under Windows 7; reboot is required after change. From https://cygwin.com/cygwin-ug-net/using-specialnames.html If you really want case-sensitivity in Cygwin, you can switch it on ...
by stahta01
Thu Feb 27, 2020 3:58 am
Forum: Compiler / Linking / IDE Related
Topic: Conan Paket strange error
Replies: 14
Views: 473

Re: Conan Paket strange error

NOTE: The patch below was *not* needed. Figured out a patch that got the build to go farther. No idea if this will help you or not. Code written by others on cmake/conan websites. Note: I changed to using CONAN_IN_LOCAL_CACHE because of a issue I read about. I also change the download URL. MSys2 now...
by stahta01
Wed Feb 26, 2020 11:02 pm
Forum: Compiler / Linking / IDE Related
Topic: Conan Paket strange error
Replies: 14
Views: 473

Re: Conan Paket strange error

I can not get conan to work under MSys2 (Windows 7 64 bit).
So, I am going to give up trying to help in this thread.

Edit: It appeared to be downloading a lot of stuff and I have a slow Internet connection. So, I gave up.

Tim S.
by stahta01
Wed Feb 26, 2020 6:57 pm
Forum: Compiler / Linking / IDE Related
Topic: Conan Paket strange error
Replies: 14
Views: 473

Re: Conan Paket strange error

And, your "conanfile.py" is using wxWidgets version 3.1.2?

Tim S.
by stahta01
Wed Feb 26, 2020 5:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Conan Paket strange error
Replies: 14
Views: 473

Re: Conan Paket strange error

You do realize that your git repo has no source code in it, right?

Tim S.
by stahta01
Wed Feb 26, 2020 3:24 am
Forum: Compiler / Linking / IDE Related
Topic: Errors compiling wxWidget3.1.3 with Borland C++ 5.5
Replies: 6
Views: 269

Re: Errors compiling wxWidget3.1.3 with Borland C++ 5.5

I just tried building a recent git master and I gave up on "src\stc\scintilla\lexers\LexEDIFACT.cxx". Error E2356 ..\..\src\stc\scintilla\lexers\LexEDIFACT.cxx 118: Type mismatch in redeclaration of '__stdcall LexerEDIFACT::Lex(unsigned int,int,int,IDocument *)' Error E2344 ..\..\src\stc\scintilla\l...