Search found 610 matches

by eranif
Mon Feb 08, 2021 7:51 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets and codelite build problem
Replies: 38
Views: 59552

Re: wxWidgets and codelite build problem

No, always append $(PATH) (or prepend it).
Just do it on the workspace or project level rather than on the global IDE level
by eranif
Mon Feb 08, 2021 7:35 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets and codelite build problem
Replies: 38
Views: 59552

Re: wxWidgets and codelite build problem

The better solution is to add this to the project environment variables or to the workspace environment variables: right click on the workspace icon -> environment variables (this will affect all projects in the workspace) OR: or right click on the project -> settings -> environment page (this will ...
by eranif
Mon Feb 08, 2021 7:16 pm
Forum: Compiler / Linking / IDE Related
Topic: Issue with Codelite 14.0.4 on Windows
Replies: 10
Views: 15162

Re: Issue with Codelite 14.0.4 on Windows

FWIW:
On Windows, you need to specifiy WXWIN and WXCFG to point to installation and build configuration you are interested.
For example, if you installed wxWidgets on C:\wx\

Then:

Code: Select all

WXWIN=C:\wx
WXCFG=gcc_810_x64_dll\mswu
for debug verion, just change the WXCFG to the debug build folder

Eran
by eranif
Sat Feb 29, 2020 8:21 pm
Forum: C++ Development
Topic: URL Encode/Decode
Replies: 4
Views: 21342

Re: URL Encode/Decode

wxString FileUtils::DecodeURI(const wxString& uri) { static wxStringMap_t T = { { "%20", " " }, { "%21", "!" }, { "%23", "#" }, { "%24", "$" }, { "%26", "&" }, { "%27", "'"...
by eranif
Sat Jun 08, 2019 7:49 pm
Forum: Announcements and Discoveries
Topic: wxCustomControls
Replies: 3
Views: 23329

Re: wxCustomControls

The wxCustomControls are currently independent, i.e. you can run and build them without the CodeLite sources I don't think I will merge them into CodeLite in the forseen future. Same as Notebook - you can build it without the need of CodeLite sources. Some features are enabled when built with CodeLi...
by eranif
Sat Sep 08, 2018 9:04 pm
Forum: Announcements and Discoveries
Topic: wxCustomControls
Replies: 3
Views: 23329

wxCustomControls

Hi,
I have developed a new control which I suspect some of you might find it interesting.
Its a drop in replacement for wxTreeCtrl and wxDataViewListCtrl with columns support.
You can get the code and read more here:

https://github.com/eranif/wxCustomControls
by eranif
Wed Feb 28, 2018 3:39 pm
Forum: Announcements and Discoveries
Topic: [ANN] CodeLite 12.0 is available for download
Replies: 0
Views: 17997

[ANN] CodeLite 12.0 is available for download

We are happy to announce that CodeLite IDE v12 has been released and is available for download This version of CodeLite introduces many new changes and several new plugins (Smart Code Completion, Goto Anywhere and other cool features) FYI: CodeLite 12.0 comes with wxCrafter 2.9 bundled Check the Mai...
by eranif
Sun Dec 10, 2017 6:52 am
Forum: Compiler / Linking / IDE Related
Topic: Current status of wxWidgets with MinGW based compilers
Replies: 5
Views: 15943

Re: Current status of wxWidgets with MinGW based compilers

Hi, To add to that list: I am compiling wxWidgets with MinGW-w64 GCC7.1 and GCC7.2 without a problem My build command is: I run these 2 commands (the first is needed to generate the setup. file): mingw32-make -f makefile.gcc setup_h SHARED=1 UNICODE=1 BUILD=release mingw32-make -j8 -f Makefile.gcc S...
by eranif
Sun Sep 25, 2016 4:59 pm
Forum: General Development
Topic: Using SFTP to copy local files to a distant server
Replies: 11
Views: 17307

Re: Using SFTP to copy local files to a distant server

Hi, a bit late, but better late than never... I have already implemented this in CodeLite IDE - which is an open source GPLv2. You can see the sources here: clSFTP class: https://github.com/eranif/codelite/blob/master/CodeLite/cl_sftp.h clSFTP uses clSSH for the session: https://github.com/eranif/co...
by eranif
Fri Jul 15, 2016 12:18 pm
Forum: The Code Dump
Topic: Sending email via GMail & curl
Replies: 14
Views: 41756

Re: Sending email via GMail & curl

C:/wxWidgets310/include/wx/thread.h:479:12: error: declaration does not declare anything [-fpermissive]
static void Yield();
This error usually means wrong order of include files.
You should try and move the header file wx/app.h to be the first file included by your application.


Eran
by eranif
Thu Mar 24, 2016 6:24 pm
Forum: Compiler / Linking / IDE Related
Topic: mac/wxwidgets g++ compiling rage
Replies: 16
Views: 43345

Re: mac/wxwidgets g++ compiling rage

I did notice that he is on 10.9, however, I wrote this wiki page when I was using 10.8 - so I assumed its OK

Eran
by eranif
Thu Mar 24, 2016 3:25 pm
Forum: Compiler / Linking / IDE Related
Topic: mac/wxwidgets g++ compiling rage
Replies: 16
Views: 43345

Re: mac/wxwidgets g++ compiling rage

Kiithsjet, this is how we build wxWidgets for building CodeLite on OSX:

http://codelite.org/Developers/BuildingCodeLiteOnAMac

Notice that we use clang++ and not g++

HTH,
Eran
by eranif
Tue Mar 15, 2016 5:19 pm
Forum: C++ Development
Topic: wxSTC Multicursor edit
Replies: 4
Views: 21110

Re: wxSTC Multicursor edit

wxSTC supports this: Adding another selection (Ctrl-K in CodeLite): https://github.com/eranif/codelite/blob/master/LiteEditor/cl_editor.cpp#L5245 You need to enable multiple carets: https://github.com/eranif/codelite/blob/master/LiteEditor/cl_editor.cpp#L498 And also, enable multiple selection and p...
by eranif
Mon Mar 07, 2016 1:07 pm
Forum: C++ Development
Topic: Issues wxAuiToolBar (Upgrade to 3.1)
Replies: 9
Views: 13872

Re: Issues wxAuiToolBar (Upgrade to 3.1)

Is your bitmaps really 16x16?

Eran
by eranif
Mon Feb 22, 2016 2:12 pm
Forum: C++ Development
Topic: What happens when code in Notify() of wxTimer takes longer than the timer interval?
Replies: 4
Views: 21890

Re: What happens when code in Notify() of wxTimer takes longer than the timer interval?

Usually, I use a 'one-shot' timer and trigger another one in the handler itself. This way I assure that the timer starts again once the handler code is done. I have my doubts about the latter because the documentation states that "A timer can only be used from the main thread". I don't see...