Administrators Jon Posted May 23, 2011 Author Administrators Share Posted May 23, 2011 Seems to work properly now. Btw, the exe size is smaller now...Hmm, that's not right - it means the compiler profiling (more speed for slightly bigger .exe) isn't working.Valik, can you remember if the VC10 profile builds were ever finished? I thought they were because the build output briefly mentioned them but I can't remember what state it was left in. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Valik Posted May 23, 2011 Share Posted May 23, 2011 (edited) Profiling? Hmm, I don't know, I thought they should be working. They didn't change between VC9 and VC10, did they? Edited May 23, 2011 by Valik Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 23, 2011 Author Administrators Share Posted May 23, 2011 Profiling? Hmm, I don't know, I thought they should be working. They didn't change between VC9 and VC10, did they?Not that I know of.Hmm, it's definately running the compilation twice and running the profiling script. But on the 2nd compilation it's not mentioning anything about "xxx of xxx functions optimized" so I wonder if whatever compilation bit you flipped in the project file isn't being picked up. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Valik Posted May 23, 2011 Share Posted May 23, 2011 I can't even compile using the build script. I get errors with PGO on the first run through:3>PreLinkEvent: 3> The system cannot find the path specified. 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: The command "if exist C:\Data\My Programs\C++\Autoit\bin\Aut2Exe\pgd\AutoItSC.pgd copy /y C:\Data\My Programs\C++\Autoit\bin\Aut2Exe\pgd\AutoItSC.pgd C:\Data\My Programs\C++\Autoit\bin\Aut2Exe\AutoItSC.pgd 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: :VCEnd" exited with code 3. 3> 3>Build FAILED.It looks like it isn't generating the PGD file on the first pass. You maybe have an old stale PGD laying around which lets compilation work for you. For me I get the above error even when doing a normal build from either the build script or the UI itself,Also, urge to kill rising. Why the fuck do these scripts prompt me for admin rights again? I've never understood while a build process requires administrative rights. Link to comment Share on other sites More sharing options...
Valik Posted May 23, 2011 Share Posted May 23, 2011 Project file format is completely different. Build script will need updated to specifically support VC10. Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 23, 2011 Author Administrators Share Posted May 23, 2011 (edited) It looks like it isn't generating the PGD file on the first pass. You maybe have an old stale PGD laying around which lets compilation work for you. For me I get the above error even when doing a normal build from either the build script or the UI itself,Also, urge to kill rising. Why the fuck do these scripts prompt me for admin rights again? I've never understood while a build process requires administrative rights.I can't really remember. I _think_ it was because some test or other needed to register AutoItX or something else admin related so we made it prompt for admin at the start rather than hanging halfway though. I'm not sure though tbh. Edited May 23, 2011 by Jon Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
UEZ Posted May 23, 2011 Share Posted May 23, 2011 Got an error during compilation: >Running AU3Check for obfuscated file(1.54.20.0) from:C:\Program Files (x86)\AutoIt3\Beta !>14:45:33 AU3Check Obfuscated code ended.rc:3 Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
skyteddy Posted May 23, 2011 Share Posted May 23, 2011 Got an error during compilation:Be happy, I got not an error, AU3check happy computing!R@iner Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 23, 2011 Moderators Share Posted May 23, 2011 Jon,Au3Check 1.54.20.0 in the Beta crashes on Obfucated code each time I compile - it runs successfully on the original code.Replacing it with Au3Check 1.54.19.0 from v3.3.6.1 runs successfully for both cases.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Richard Robertson Posted May 23, 2011 Share Posted May 23, 2011 Build scripts have been my enemy since I first started programming in C++. No other language causes me so much trouble. Link to comment Share on other sites More sharing options...
Valik Posted May 23, 2011 Share Posted May 23, 2011 You whores are going to make me actually test my code in Au3Check, aren't you? Fuckers. Link to comment Share on other sites More sharing options...
GEOSoft Posted May 23, 2011 Share Posted May 23, 2011 I just tested a few scripts and AU3Check didn't fail so it may be something to do with the combination of OS, OS Architecture and AU3Check itself. I also don't bother obfuscating so that could also be a problem. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
wraithdu Posted May 23, 2011 Share Posted May 23, 2011 I think Melba23 above mentioned it only crashes on Obfuscated code... but that still leaves a question as to how it's obfuscated. Link to comment Share on other sites More sharing options...
Valik Posted May 23, 2011 Share Posted May 23, 2011 Jon, how the hell are you building AutoIt at all!? The committed version of the VC10 project file contains a pre-link build event that is missing quotes around the paths so it gives errors. You must not have any spaces in your path or something because otherwise the VC10 project is broken. I'll fix that and then look at getting automated PGO working with VC10. Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 23, 2011 Author Administrators Share Posted May 23, 2011 Jon, how the hell are you building AutoIt at all!? The committed version of the VC10 project file contains a pre-link build event that is missing quotes around the paths so it gives errors. You must not have any spaces in your path or something because otherwise the VC10 project is broken. I'll fix that and then look at getting automated PGO working with VC10.My build path has always been "C:\Data\svn\autoit\trunk" - have I just been lucky? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 23, 2011 Moderators Share Posted May 23, 2011 wraithdu, Melba23 above mentioned it only crashes on Obfuscated code#Obfuscator_Parameters=/sf /sv /om /cs=0 /cn=0 Stripping the unused functions and constants (from the includes as I hope my script does not have any! ) and changing the function and variable names to 3-char abbreviations. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Valik Posted May 23, 2011 Share Posted May 23, 2011 My build path has always been "C:\Data\svn\autoit\trunk" - have I just been lucky? Yes. Link to comment Share on other sites More sharing options...
Richard Robertson Posted May 23, 2011 Share Posted May 23, 2011 I try to avoid paths with spaces. Then again, I'm also known to name files using an 8.3 limit. Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 23, 2011 Author Administrators Share Posted May 23, 2011 It's probably better to always run from a dev env with spaces because at least things will break early on rather than when you move something around and then the world ends. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
jchd Posted May 23, 2011 Share Posted May 23, 2011 Jon, I strongly second that. Fixing simple things first with "worst case" situation one step at a time is, when things evolve to more complex, easier than having to figure out what breaks in a multi-platform 20kb makefile all at once. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Recommended Posts