Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Development / Re: Link error with wxWidget 3.1.0
« Last post by Rinaldo on April 23, 2017, 09:23:46 pm »
It is working now, thanks
52
Development / Re: Link error with wxWidget 3.1.0
« Last post by BlueHazzard on April 23, 2017, 09:18:03 pm »
You have to look at the left site and click trought all targets and set the library right
53
Development / Re: Link error with wxWidget 3.1.0
« Last post by Rinaldo on April 23, 2017, 09:02:30 pm »
I did it already but no results, still searching for version 3.0.x

Regards Rinaldo
54
Development / Re: Link error with wxWidget 3.1.0
« Last post by BlueHazzard on April 23, 2017, 08:58:30 pm »
thank you for the build log
You can set the library name under Project->build options->linker settings->libraries

you have to set the target on the right
55
Development / Link error with wxWidget 3.1.0
« Last post by Rinaldo on April 23, 2017, 08:35:17 pm »
I am running Code::Blocks version 16.01 on windows 10 creators
When I ...
Build and run in release mode.
Build log:
Code: [Select]
-------------- Build: Release in help2 (compiler: GNU GCC Compiler)---------------

C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2App.cpp:34:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
x86_64-w64-mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -O2 -std=c++11 -IC:\wxWidgets-3.1.0\include -IC:\wxWidgets-3.1.0\lib\gcc_dll\mswu -c D:\GCC\help2\help2Main.cpp -o obj\Release\help2Main.o
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
D:\GCC\help2\help2Main.cpp:103:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from C:\wxWidgets-3.1.0\include/wx/msw/private.h:21:0,
                 from C:\wxWidgets-3.1.0\include/wx/wxprec.h:33,
                 from ./wx_pch.h:14,
                 from <command-line>:0:
C:\wxWidgets-3.1.0\include/wx/window.h:1917:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
windres.exe -IC:\wxWidgets-3.1.0\include -IC:\wxWidgets-3.1.0\lib\gcc_dll\mswu  -J rc -O coff -i D:\GCC\help2\resource.rc -o obj\Release\resource.res
x86_64-w64-mingw32-g++.exe -LC:\wxWidgets-3.1.0\lib\gcc_dll -LC:\wxWidgets-3.1.0\lib\gcc_dll\mswu\wx\msw -o bin\Release\help2.exe obj\Release\help2App.o obj\Release\help2Main.o  obj\Release\resource.res -s -mthreads  -lwxmsw30u C:\wxWidgets-3.1.0\lib\gcc_dll\libwxmsw31u.a
D:/TDM/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw30u <---------- should be 31u
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 7 second(s))
2 error(s), 39 warning(s) (0 minute(s), 7 second(s))
 

Look in the wizard script and can't modify
57
Using Code::Blocks / Re: Error message at the end of the wizard using wxWidget
« Last post by Rinaldo on April 23, 2017, 07:33:55 pm »
I can't choose for 3.1 in the wizard, only 3.0 and 2.X

I downloaded 3.1 and compiled in build\msw the makefile.gcc with mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS=-fno-keep-inline-dllexport
58
General (but related to Code::Blocks) / Re: Main file is not shown!
« Last post by stahta01 on April 23, 2017, 07:30:02 pm »
Isn't the internet amazing?

There are people who cannot see that their very same question was already answered in two other threads that are still shown on the first page.

And then there are the masters of search, they find 5 years old threads and sign up just to answer these.

Imagine one of each kind would make a baby together, the combined power of search and writing output, the internet would be a totally different place :D

LOL

Tim S.
59
Using Code::Blocks / Re: Error message at the end of the wizard using wxWidget
« Last post by stahta01 on April 23, 2017, 07:22:52 pm »
Then choose 3.1 instead of 3.0 in the wizard.


Edit: What command did you use to build wxWidgets 3.1.0 release build?
60
Using Code::Blocks / Re: Error message at the end of the wizard using wxWidget
« Last post by Rinaldo on April 23, 2017, 05:51:51 pm »
Hi,
I did ignore the message and compile it but the linker give an error ld.exe||cannot find -lwxmsw30u| while i am using 3.1.0 of wxWidgets and set it in the linker options.

I try further.

Thanks for the reply's if someone knows how to correct this.
Pages: 1 2 3 4 5 [6] 7 8 9 10