Hello everyone!
In windows 10 in Code::Blocks v16.01, wxWidgets-3.0.2, wxSmith does not update the form after compilation ... And I have installed a Git. And I newbee with Git. :'( Can it one block some file?
I have updated wxSmith form with moving, adding and editing component properties, have save the project files and
after rebuilding project and running my app I have see the old version of my apps GUI.
Please help me understand which files are locked or which project paths is wrongs.
Project path D:\DEV\Gazomer\
The extension section in *.cbp:
<Extensions>
<code_completion />
<envvars />
<debugger />
<wxsmith version="1">
<gui name="wxWidgets" src="src/GazomerApp.cpp" main="GazomerFrame" init_handlers="necessary" language="CPP" />
<resources>
<wxFrame wxs="wxsmith/Gazomerframe.wxs" src="src/GazomerMain.cpp" hdr="src/GazomerMain.h" fwddecl="0" i18n="1" name="GazomerFrame" language="CPP" />
</resources>
</wxsmith>
</Extensions>-----------------------------------------------------------------------------------------
Updated: wxSmith not parsed form modification (Gazomerframe.wxs file successful updated) to
source and header of window (GazomerMain.cpp and GazomerMain.h)
Thanks in advance!
Quote from: Anaflion on July 21, 2019, 08:09:01 AM
In windows 10 in Code::Blocks v16.01, ...
This is really a very old C::B version, I would suggest you to use a more recent nighty build version, see here:Nightly builds (http://forums.next.codeblocks.org/index.php/board,20.0.html)
QuoteThe extension section in *.cbr:
cbp file? or cbr file?
Did you press the "save everything" menu item? which saves all the source files and project files.
Quote from: ollydbg on July 21, 2019, 08:55:04 AM
cbp file? or cbr file?
Did you press the "save everything" menu item? which saves all the source files and project files.
*.cbp:
Thank you, ollydbg! I corrected a typo: * .cbp should have been written.
I click "control + shift + s" and save all files.
Did you delete the special wxSmith comments from the source files?
You are not supposed to delete the special comments or add code between the special comments.
Tim S.
'
Did you add the object files or exe files to git?
I consider it to be wrong to add object files and exe files to git in nearly all cases.
Tim S.
Quote from: stahta01 on July 22, 2019, 05:15:40 AM
Did you delete the special wxSmith comments from the source files?
You are not supposed to delete the special comments or add code between the special comments.
Tim S.
'
Yes, once I deleted some comments from the implementation file. OMG Was it wxSmith metadata? Now I need to study the wxSmith metadata and restore them, or is there a possibility of their automatic recovery besides Git?
Quote from: stahta01 on July 22, 2019, 05:21:28 AM
Did you add the object files or exe files to git?
I consider it to be wrong to add object files and exe files to git in nearly all cases.
Tim S.
I made a .gitignore file in which I ignore files of these types * .o, * .pdf, * .exe, but I did it after a while - not from the first commit.
Thank a lot, stahta01!
Quote from: Anaflion on July 22, 2019, 11:48:25 AM
Quote from: stahta01 on July 22, 2019, 05:15:40 AM
Did you delete the special wxSmith comments from the source files?
You are not supposed to delete the special comments or add code between the special comments.
Tim S.
'
Yes, once I deleted some comments from the implementation file. OMG Was it wxSmith metadata? Now I need to study the wxSmith metadata and restore them, or is there a possibility of their automatic recovery besides Git?
I am guessing they will come back automatically; because the normal compliant is the added code goes away. But, I am not an wxSmith user; so, I might be wrong.
Tim S.