Search found 418 matches

by stahta01
Tue Feb 23, 2021 11:32 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets and codelite build problem
Replies: 38
Views: 604

Re: wxWidgets and codelite build problem

PB: You appear to be right; but, I remember being told otherwise in the past.
All that I have found is parts require the copyright notice (like most BSD lic. code) does to be included.

Tim S.
by stahta01
Mon Feb 22, 2021 8:20 pm
Forum: Compiler / Linking / IDE Related
Topic: Link error
Replies: 1
Views: 79

Re: Link error

With GCC, the order of the libraries matter.
No idea with Visual Studio, with GCC I would add the library a second time at the end of the library list and see if that fixes the issue.
If yes, then very likely an library order issue or circular library depends issue.

Tim S.
by stahta01
Sun Feb 14, 2021 4:34 pm
Forum: Compiler / Linking / IDE Related
Topic: wxChart as custom control
Replies: 2
Views: 157

Re: wxChart as custom control

Have you asked this question on the codelite forum? If not, why not?

https://forums.codelite.org/

Tim S.
by stahta01
Thu Feb 11, 2021 2:51 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets and codelite build problem
Replies: 38
Views: 604

Re: wxWidgets and codelite build problem

Static link of GCC runtime library normally requires the product if released to the public to be open source and LGPL or GPL licensed.

Tim S.
by stahta01
Thu Feb 11, 2021 1:24 am
Forum: Platform Related Issues
Topic: wxMediaCtrl crash on NVIDIA
Replies: 11
Views: 594

Re: wxMediaCtrl crash on NVIDIA

This may be a stupid remark or question; but, are you trying to display using the NVIDIA card? Or are you trying to run the code on the NVIDIA card?

The second should fail unless you used an special compiler; and, I doubt that wxWidgets code is supported being ran on a most video cards!

Tim S.
by stahta01
Thu Feb 04, 2021 6:25 pm
Forum: Compiler / Linking / IDE Related
Topic: How to setup Glut with wxWidgets using project file?
Replies: 4
Views: 132

Re: How to setup Glut with wxWidgets using project file?

Google says you need to link to "glut32"; it might be correct.

Tim S.
by stahta01
Wed Feb 03, 2021 11:42 pm
Forum: Compiler / Linking / IDE Related
Topic: How to setup Glut with wxWidgets using project file?
Replies: 4
Views: 132

Re: How to setup Glut with wxWidgets using project file?

Post the full re-build log so we can see the errors that you seem to be getting.
NOTE: Errors are important to read to solve any build problem!

Tim S.
by stahta01
Tue Feb 02, 2021 3:41 pm
Forum: Compiler / Linking / IDE Related
Topic: Make error during linking on cygwin
Replies: 18
Views: 313

Re: Make error during linking on cygwin

If you are using an ArchLinux based distro, I suggest looking into MSys2 an CygWin fork. ArchLinux uses the pacman package manager and if you use the some package manager on both Linux and Windows it would be easier to maintain. But, not really sure installing MSys2 is worth it if you are not using ...
by stahta01
Tue Feb 02, 2021 3:17 pm
Forum: Compiler / Linking / IDE Related
Topic: Make error during linking on cygwin
Replies: 18
Views: 313

Re: Make error during linking on cygwin

So, you really have no reason to use Cygwin; I suggest installing an normal MinGW64 GCC compiler toolchain and building using the normal method of makefile.gcc instead of configure. Edit: The use of native Cygwin GCC does allow little code change in network socket applications; this would be a real ...
by stahta01
Tue Feb 02, 2021 1:21 pm
Forum: Compiler / Linking / IDE Related
Topic: Make error during linking on cygwin
Replies: 18
Views: 313

Re: Make error during linking on cygwin

$ which g++ /usr/bin/g++ $ g++ --version g++ (GCC) 7.4.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. NOTE: Native cygwin GCC can not build wxMS...
by stahta01
Tue Feb 02, 2021 1:09 pm
Forum: Compiler / Linking / IDE Related
Topic: Make error during linking on cygwin
Replies: 18
Views: 313

Re: Make error during linking on cygwin

Are you saying you are not allowed to run "Cygwin Setup"?

Why are you using "Cygwin"?

Do you wish to build wxMSW or wxGTK version of wxWidgets? Please answer the question!!

Tim S.
by stahta01
Sat Jan 30, 2021 5:43 am
Forum: Compiler / Linking / IDE Related
Topic: Make error during linking on cygwin
Replies: 18
Views: 313

Re: Make error during linking on cygwin

If you wish to use an non standard make under Cygwin at least put it in a path with no spaces or special characters like "(" or ")".

Edit: The other option is to edit the makefile to use double quotes around the path; this may or may not fix the problem.

Tim S.
by stahta01
Fri Jan 29, 2021 11:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Make error during linking on cygwin
Replies: 18
Views: 313

Re: Make error during linking on cygwin

Git rid of the configure option "--enable-monolithic"; it is not worth trying! Note: You should delete the build folder after changing the "monolithic" setting to false. You need to state what compiler you are trying to use! You need to state if you are trying to build wxGTK or wxMSW build of wxWidg...
by stahta01
Wed Jan 20, 2021 4:20 am
Forum: Compiler / Linking / IDE Related
Topic: Compile wxWidgets source using __stdcall instead of __cdecl on Windows
Replies: 10
Views: 480

Re: Compile wxWidgets source using __stdcall instead of __cdecl on Windows

I tried compiling the source using "nmake /f makefile.vc BUILD=release SHARED=1 TARGET_CPU=X86 CPPFLAGS="/Gz"" but it is givining linker error whilst compiling the code. Please post the wxWidgets version? Please post the error message you got when you compile wxWidgets? Edit: Your code that uses wx...