Building under Windows problem
-
- CodeLite Expert
- Posts: 167
- Joined: Wed Oct 22, 2008 6:50 am
- Contact:
Re: Building under Windows problem
On one of my other projects, I had problems with windres and IIRC, I had to create an environment variable TMPDIR to allow windres to work.
On this topic, though, I got a chance to work on this issue late yesterday and I found that somehow I had ended up with junk on the resource compiler options line in the configuration.
After cleaning it up, I did manage to build the windows version. Sorry for being so slow in closing this thread.
However, after I had succeeded in building it, I went and downloaded the 'latest' from sourceforge
http://sourceforge.net/project/showfile ... _id=634740
but when I finally compiled and ran it, it still seems to be an older version and tells me I need to upgrade?
On this topic, though, I got a chance to work on this issue late yesterday and I found that somehow I had ended up with junk on the resource compiler options line in the configuration.
After cleaning it up, I did manage to build the windows version. Sorry for being so slow in closing this thread.
However, after I had succeeded in building it, I went and downloaded the 'latest' from sourceforge
http://sourceforge.net/project/showfile ... _id=634740
but when I finally compiled and ran it, it still seems to be an older version and tells me I need to upgrade?
Win 10/11 64-bit, MSVC 2019/2022, wxWidgets 3.2.1, CodeLite 17.0 Mint 21.2
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Building under Windows problem
When you go to 'Help -> About...' what is the revision number set there?
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 167
- Joined: Wed Oct 22, 2008 6:50 am
- Contact:
Re: Building under Windows problem
the slpash screen says palin 1.0
The 'About box says Version: SVN build: <blank>
I did notice that on the last compile there was a comment about svn not being an internal or external command, so I installed SVN 1.4.5 - I have been using only TortoiseSVN till now; this time, at the end of the compile I get a complaint about it is not "not a working copy"
The 'About box says Version: SVN build: <blank>
I did notice that on the last compile there was a comment about svn not being an internal or external command, so I installed SVN 1.4.5 - I have been using only TortoiseSVN till now; this time, at the end of the compile I get a complaint about it is not "not a working copy"
Code: Select all
----------Building project:[ LiteEditor - WinReleaseUnicode ]----------
Executing Pre Build commands ...
autorev .
Done
svn: '.' is not a working copy
g++ -o ../Runtime/CodeLite.exe ./WinReleaseUnicode/cpp_symbol_tree.o ./WinReleaseUnicode/filedroptarget.o ./WinReleaseUnicode/fileview.o ./WinReleaseUnicode/resources.o ./WinReleaseUnicode/shell_window.o ./WinReleaseUnicode/filehistory.o ./WinReleaseUnicode/breakpoint_dlg_base.o ./WinReleaseUnicode/breakpointdlg.o ./WinReleaseUnicode/debuggersettingsbasedlg.o ./WinReleaseUnicode/debuggersettingsdlg.o ./WinReleaseUnicode/quickwatchbasedlg.o ./WinReleaseUnicode/quickwatchdlg.o ./WinReleaseUnicode/dbgcommandbasedlg.o ./WinReleaseUnicode/dbgcommanddlg.o ./WinReleaseUnicode/attachdbgprocbasedlg.o ./WinReleaseUnicode/attachdbgprocdlg.o ./WinReleaseUnicode/quickdebugbase.o ./WinReleaseUnicode/quickdebugdlg.o ./WinReleaseUnicode/ext_db_page3.o ./WinReleaseUnicode/extdbwizard.o ./WinReleaseUnicode/ext_db_page2.o ./WinReleaseUnicode/ext_db_page1.o ./WinReleaseUnicode/simpletable.o ./WinReleaseUnicode/simpletablebase.o ./WinReleaseUnicode/listctrlpanelbase.o ./WinReleaseUnicode/listctrlpanel.o ./WinReleaseUnicode/close_all_dlg.o ./WinReleaseUnicode/lexer_page.o ./WinReleaseUnicode/keyvaluetabledlg.o ./WinReleaseUnicode/free_text_dialog.o ./WinReleaseUnicode/add_option_dialog.o ./WinReleaseUnicode/envvar_dlg.o ./WinReleaseUnicode/envvar_table.o ./WinReleaseUnicode/options_base_dlg.o ./WinReleaseUnicode/findreplacedlg.o ./WinReleaseUnicode/findinfilesdlg.o ./WinReleaseUnicode/replaceinfilesbasepanel.o ./WinReleaseUnicode/replaceinfilespanel.o ./WinReleaseUnicode/dialogspage.o ./WinReleaseUnicode/dialogspagebase.o ./WinReleaseUnicode/syntaxhighlightbasedlg.o ./WinReleaseUnicode/syntaxhighlightdlg.o ./WinReleaseUnicode/editorsettingsgeneralpagebase.o ./WinReleaseUnicode/editorsettingsgeneralpage.o ./WinReleaseUnicode/quickoutlinedlg.o ./WinReleaseUnicode/setters_getters_base_dlg.o ./WinReleaseUnicode/setters_getters_dlg.o ./WinReleaseUnicode/symbols_dialog.o ./WinReleaseUnicode/symbols_dialog_base.o ./WinReleaseUnicode/tags_options_dlg.o ./WinReleaseUnicode/addincludefiledlg.o ./WinReleaseUnicode/addincludefiledlgbase.o ./WinReleaseUnicode/movefuncimplbasedlg.o ./WinReleaseUnicode/movefuncimpldlg.o ./WinReleaseUnicode/tags_options_base_dlg.o ./WinReleaseUnicode/compiler_page.o ./WinReleaseUnicode/advanced_settings.o ./WinReleaseUnicode/editcmpfileinfobase.o ./WinReleaseUnicode/editcmpfileinfodlg.o ./WinReleaseUnicode/configuration_manager_base_dlg.o ./WinReleaseUnicode/configuration_manager_dlg.o ./WinReleaseUnicode/build_page.o ./WinReleaseUnicode/edit_configuration.o ./WinReleaseUnicode/edit_workspace_conf_dlg.o ./WinReleaseUnicode/new_configuration_dlg.o ./WinReleaseUnicode/buildsettingstab.o ./WinReleaseUnicode/buildsettingstabbase.o ./WinReleaseUnicode/batchbuildbasedlg.o ./WinReleaseUnicode/batchbuilddlg.o ./WinReleaseUnicode/depend_dlg_page.o ./WinReleaseUnicode/depends_dlg.o ./WinReleaseUnicode/project_settings_base_dlg.o ./WinReleaseUnicode/project_settings_dlg.o ./WinReleaseUnicode/buildorderbasepage.o ./WinReleaseUnicode/open_resouce_dlg.o ./WinReleaseUnicode/new_item_dlg.o ./WinReleaseUnicode/importfilesbasedlg.o ./WinReleaseUnicode/importfilesdlg.o ./WinReleaseUnicode/newworkspacebasedlg.o ./WinReleaseUnicode/newworkspacedlg.o ./WinReleaseUnicode/newprojectbasedlg.o ./WinReleaseUnicode/newprojectdlg.o ./WinReleaseUnicode/plugindlgbase.o ./WinReleaseUnicode/pluginmgrdlg.o ./WinReleaseUnicode/commentpage.o ./WinReleaseUnicode/commentpagebase.o ./WinReleaseUnicode/acceltablebasedlg.o ./WinReleaseUnicode/acceltabledlg.o ./WinReleaseUnicode/newkeyshortcutbasedlg.o ./WinReleaseUnicode/newkeyshortcutdlg.o ./WinReleaseUnicode/aboutdlg.o ./WinReleaseUnicode/aboutdlgbase.o ./WinReleaseUnicode/app.o ./WinReleaseUnicode/stack_walker.o ./WinReleaseUnicode/iconsextra.o ./WinReleaseUnicode/generalinfo.o ./WinReleaseUnicode/frame.o ./WinReleaseUnicode/customstatusbar.o ./WinReleaseUnicode/singleinstancethreadjob.o ./WinReleaseUnicode/webupdatethread.o ./WinReleaseUnicode/newversionbasedlg.o ./WinReleaseUnicode/newversiondlg.o ./WinReleaseUnicode/checktreectrl.o ./WinReleaseUnicode/checkdirtreectrl.o ./WinReleaseUnicode/windowstack.o ./WinReleaseUnicode/fileexplorertree.o ./WinReleaseUnicode/debuggertip.o ./WinReleaseUnicode/cc_box.o ./WinReleaseUnicode/cc_boxbase.o ./WinReleaseUnicode/ccvirtuallistctrl.o ./WinReleaseUnicode/quickfindbarbase.o ./WinReleaseUnicode/quickfindbar.o ./WinReleaseUnicode/context_base.o ./WinReleaseUnicode/context_cpp.o ./WinReleaseUnicode/context_manager.o ./WinReleaseUnicode/context_text.o ./WinReleaseUnicode/generic_context.o ./WinReleaseUnicode/menumanager.o ./WinReleaseUnicode/menu_event_handlers.o ./WinReleaseUnicode/editor_creator.o ./WinReleaseUnicode/cl_editor.o ./WinReleaseUnicode/renamesymbolbase.o ./WinReleaseUnicode/renamesymboldlg.o ./WinReleaseUnicode/stringhighlighterjob.o ./WinReleaseUnicode/scopejob.o ./WinReleaseUnicode/manager.o ./WinReleaseUnicode/navigationmanager.o ./WinReleaseUnicode/importfilessettings.o ./WinReleaseUnicode/buildtabsettingsdata.o ./WinReleaseUnicode/colourthread.o ./WinReleaseUnicode/colourrequest.o ./WinReleaseUnicode/refactorindexbuildjob.o ./WinReleaseUnicode/code_parser.rc.o ./WinReleaseUnicode/svninfo.o ./WinReleaseUnicode/output_pane.o ./WinReleaseUnicode/workspace_pane.o ./WinReleaseUnicode/debuggerpane.o ./WinReleaseUnicode/localvarstree.o ./WinReleaseUnicode/fileexplorer.o ./WinReleaseUnicode/mainbook.o ./WinReleaseUnicode/tiptree.o ./WinReleaseUnicode/openwindowspanel.o ./WinReleaseUnicode/openwindowspanelbase.o ./WinReleaseUnicode/threadlistbasepanel.o ./WinReleaseUnicode/threadlistpanel.o ./WinReleaseUnicode/buidltab.o ./WinReleaseUnicode/outputtabwindow.o ./WinReleaseUnicode/findresultstab.o ./WinReleaseUnicode/shelltab.o ./WinReleaseUnicode/findresultscontainer.o ./WinReleaseUnicode/workspacetab.o ./WinReleaseUnicode/memoryview.o ./WinReleaseUnicode/memoryviewbase.o ./WinReleaseUnicode/taskbasepanel.o ./WinReleaseUnicode/taskpanel.o ./WinReleaseUnicode/pluginmanager.o ./WinReleaseUnicode/keyboardmanager.o -L. -L../lib/gcc_lib -Ld:/wxWidgetsEclipse2.8.9//lib/gcc_dll -lplugin_sdku -lCodeLiteu -lwxscintillau -lwxsqlite3u -lsqlite3 -lwxmsw28u -O2 -mthreads -Ld:\wxWidgetsEclipse2.8.9\lib\gcc_lib -lwxmsw28u -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -Wl,--subsystem,windows -mwindows -Wl,-M=codelite.map
0 errors, 0 warnings, total time: 00:00:18 seconds
----------Build Ended----------
Win 10/11 64-bit, MSVC 2019/2022, wxWidgets 3.2.1, CodeLite 17.0 Mint 21.2
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Building under Windows problem
Hi,
It looks like you are building the sources from the tar ball and not from SVN.
to solve this:
open the file 'svninfo.cpp' and copy this:
However, I really recommend that you use the sources from SVN:
open 'cmd' shell, and type:
this will checkout the updated codelite sources into 'codelite' directory
Once compiling from within this directory, It will be generating the correct svninfo.cpp file
Eran
It looks like you are building the sources from the tar ball and not from SVN.
to solve this:
open the file 'svninfo.cpp' and copy this:
Code: Select all
#include <wx/string.h>
const wxChar* SvnRevision = wxT("2348");
open 'cmd' shell, and type:
Code: Select all
svn co https://codelite.svn.sourceforge.net/svnroot/codelite/trunk codelite
Once compiling from within this directory, It will be generating the correct svninfo.cpp file
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 167
- Joined: Wed Oct 22, 2008 6:50 am
- Contact:
Re: Building under Windows problem
OK, I'll try that later today - I hope.
Although I thought I did check out the SVN head in my first try using Tortoise; but I'll try it with svn, now that I have it installed as well
Although I thought I did check out the SVN head in my first try using Tortoise; but I'll try it with svn, now that I have it installed as well
Win 10/11 64-bit, MSVC 2019/2022, wxWidgets 3.2.1, CodeLite 17.0 Mint 21.2
-
- CodeLite Expert
- Posts: 167
- Joined: Wed Oct 22, 2008 6:50 am
- Contact:
Re: Building under Windows problem
I just downloaded the SVN head as you suggested.
After fixing things to find my wxWidgets includes & libraries it compiled, except for the same problem I described earlier with windres.
I have to either disable the resource compiler for LiteEditor or leave it enabled and remove the string "$(shell wx-config --rcflags)" from the resource compiler options. Then it compiles without errors.
In either case, most of the tool bar icons are greyed; their outline shows, but even with a project loaded, they still are greyed.
Also, when I try to debug, this version cannot find GDB, while IIRC, the original 2304 version found it without my assistance.
That Is as far as I got for now in testing.
I am getting to like CL more and more - as I am getting to understand it better
Thanks for a very useful application
After fixing things to find my wxWidgets includes & libraries it compiled, except for the same problem I described earlier with windres.
I have to either disable the resource compiler for LiteEditor or leave it enabled and remove the string "$(shell wx-config --rcflags)" from the resource compiler options. Then it compiles without errors.
In either case, most of the tool bar icons are greyed; their outline shows, but even with a project loaded, they still are greyed.
Also, when I try to debug, this version cannot find GDB, while IIRC, the original 2304 version found it without my assistance.
That Is as far as I got for now in testing.
I am getting to like CL more and more - as I am getting to understand it better
Thanks for a very useful application
Win 10/11 64-bit, MSVC 2019/2022, wxWidgets 3.2.1, CodeLite 17.0 Mint 21.2