Eureka log link issue
Eureka log link issue
Eureka Log is not linked in when using TC as it is when using the normal built in build system.
Re: Eureka log link issue
Interesting. They must be using an IDE build event that TwineCompile isn't calling. I've asked them what event they use, so that I can fix it in TC. In the meantime, create a post-build event that calls ecc32 with the --el_alter_exe option to add the EurekaLog system into the compiled executable.
Jon
Re: Eureka log link issue
Any news with this issue I use EurekaLog 6 and have the same problem. I use TwineCompile 3.3.1.231 and EurekaLog 6.1.0.4 Ent in RadStudio XE.
Best Regards,
Macma
Best Regards,
Macma
Re: Eureka log link issue
Any news with this issue, is it corrected in TC 5.0? I am using EurekaLog 7.4 and TwineCompile 4.5. The workaround works, but has the unintended side effect of causing EurekaLog to to run it's process even if there are no code changes. For example...
1.) Compile
a.) ecc32 runs
2.) Close your debug program
3.) Run it again
a.) ecc32 runs
Without this EurekaLog workaround or with the built in Embarcadero compile, step 3a does not happen. When you run step 3 it immediately kicks off the application. In our case ecc32 takes ~30 seconds to run. Thanks!
1.) Compile
a.) ecc32 runs
2.) Close your debug program
3.) Run it again
a.) ecc32 runs
Without this EurekaLog workaround or with the built in Embarcadero compile, step 3a does not happen. When you run step 3 it immediately kicks off the application. In our case ecc32 takes ~30 seconds to run. Thanks!
Re: Eureka log link issue
Unfortunately, we do not have a built-in solution for this. I would suggest editing the TwineCompile .targets file to put the EurekaLog command at the end of the link step, and only run the command if the link was actually performed. Then you will not need to use the post-build event. For example:
Code: Select all
<Target Name="TCPerformLink" DependsOnTargets="_ResolveOutput;_CheckLinkDependencies">
<TCLink
...
/>
<Exec
Condition="'$(TLibLink)'!='true' And ('@(OutputOutOfDate)'!='' Or '$(ForceLink)'=='true')"
Command="ecc32.exe --el_alter_exe=$(MSBuildProjectFullPath)"
/>
...
</Target>
Jon
Re: Eureka log link issue
That sounds like it will address my problem. I'll give it a try and let you know how it goes. Thanks!
Re: Eureka log link issue
I was unable to find a "TwineCompile.Targets" file, is it by chance a 5.0 thing? I'm on 4.5. I took a chance that going to "TwineCompile->Options->Notifications/Compile Events" and entering the following two lines in the "On Link Start" event would be the same thing...
However when I do that it does not appear to link properly, and EurekaLogs fails when the program runs. It does produce an EXE and can be run.
We do use TMS Software as a 3rdparty app, but I suspect that that showing up is a coincidence and not the real problem. Would this be better suited to a support ticket? Let me know if so, whatever is easiest for you.
Code: Select all
Condition="'$(TLibLink)'!='true' And ('@(OutputOutOfDate)'!='' Or '$(ForceLink)'=='true')"
Command="ecc32.exe --el_alter_exe=$(MSBuildProjectFullPath)"
However when I do that it does not appear to link properly, and EurekaLogs fails when the program runs. It does produce an EXE and can be run.
Code: Select all
...
All files up to date. No files to compile.
Executing Condition="'$(TLibLink)'!='true' And ('@(OutputOutOfDate)'!='' Or '$(ForceLink)'=='true')" Command="ecc32.exe --el_alter_exe=$(MSBuildProjectFullPath)"...
"Condition="'$(TLibLink)'!='true' And ('@(OutputOutOfDate)'!='' Or '$(ForceLink)'=='true')" Command="ecc32.exe --el_alter_exe=$(MSBuildProjectFullPath)""
䌧湯楤楴湯‧獩渠瑯爠捥杯楮敺獡愠湩整湲污漠硥整湲污挠浯慭摮ബ漊数慲汢牰杯慲牯戠瑡档映汩ments\tmssoftware\TMS Component Pack\cp32mt.libCommand returned 1.
Linking...
Target TCPerformLink:
...
We do use TMS Software as a 3rdparty app, but I suspect that that showing up is a coincidence and not the real problem. Would this be better suited to a support ticket? Let me know if so, whatever is easiest for you.
Re: Eureka log link issue
On Link Start is too early. The EurekaLog process has to run after the link has completed.
Regarding the targets file, the actual file name of the targets file depends on the IDE being used. For example:
10.3 -> TCTargets103.targets
10.2 -> TCTargets10Tokyo.targets
10.1 -> TCTargets10Berlin.targets
10.0 -> TCTargets10Seattle.targets
XE8 -> TCTargetsXE8.targets
etc..
These files are located in the Program Files (x86)\JomiTech\TwineCompile folder.
Regarding the targets file, the actual file name of the targets file depends on the IDE being used. For example:
10.3 -> TCTargets103.targets
10.2 -> TCTargets10Tokyo.targets
10.1 -> TCTargets10Berlin.targets
10.0 -> TCTargets10Seattle.targets
XE8 -> TCTargetsXE8.targets
etc..
These files are located in the Program Files (x86)\JomiTech\TwineCompile folder.
Jon
Re: Eureka log link issue
Oh duh, I should have seen those other .target files, sorry my bad. I moved it into that file and it appears to be resolving all the problems around EurekaLogs. Thanks!!
Re: Eureka log link issue
Hi Jon,
Would this work for 64-bit builds too?
Would this work for 64-bit builds too?