Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error with D2007 #1

Closed
GoogleCodeExporter opened this issue Apr 11, 2015 · 5 comments
Closed

Compilation error with D2007 #1

GoogleCodeExporter opened this issue Apr 11, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Get source coe from SVN at revision 149
2. Open ProfilerGroup.bpg in Delphi2007 (latest patch)
3. Build all projects

What is the expected output? What do you see instead?
It does not build succesfully, 7 errors saying "Undeclared 
identifier 'PeMapImgNtHeaders'" in JclDebug.pas

What version of the product are you using? On what operating system?
Delphi2007 for Win32, AsmProfiler from SVN at revision 149

Please provide any additional information below.
What do I need to compile ?


Original issue reported on code.google.com by trident.job on 20 Nov 2008 at 9:55

@GoogleCodeExporter
Copy link
Author

I've found this : see at bottom of the document.
http://delphi.newswhat.com/geoxml/forumhistorythread?
groupname=jedi.jcl&messageid=eqd2tt$lho$1@news.talkto.net

Original comment by trident.job on 20 Nov 2008 at 9:56

@GoogleCodeExporter
Copy link
Author

In JCL sources, I've found these lines :

{$IFDEF KEEP_DEPRECATED}
function PeMapImgNtHeaders(const BaseAddress: Pointer): PImageNtHeaders;
{$ENDIF KEEP_DEPRECATED}

I should (re)compile jcl with the KEEP_DEPRECATED option right ?
Maybe you should write it somewhere, in your code maybe, near the function 
using 
PeMapImgNtHeaders!

Original comment by trident.job on 20 Nov 2008 at 10:01

@GoogleCodeExporter
Copy link
Author

With the directive enabled in Jcl install, the compilcation can continue.

BUT, another error is pushing, always in 
D:\Projets\Imported\asmprofiler\ProfTestApp\ProfTestApp.dproj

[DCC Error] Unit1.pas(8): F1026 File not found: 'VirtualTrees.dcu'

Original comment by trident.job on 20 Nov 2008 at 10:17

@GoogleCodeExporter
Copy link
Author

Sorry for my late reaction: I see this issue right now! No email notification 
from
Google...

Anyway, you need to install Virtual Treeview:
http://www.delphi-gems.com/
http://www.soft-gems.net/index.php?option=com_content&task=view&id=12&Itemid=33
http://www.soft-gems.net/supplement/download.php?ID=28

This dependency is also listed in the wiki:
http://code.google.com/p/asmprofiler/wiki/Dependencies

Good luck!

Original comment by andre.mussche on 14 Jan 2009 at 2:27

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

By the way, you don't need to compile all sources!
You only need 3 files:
- _uAsmProfDllLoader.pas      (add this to your project)
- _uAsmProfDllInterface.pas   (add this to your project)
- AsmProfiler.dll             (put in exe directory)

Then add 1 line to you code/project:
  if LoadProfilerDll then ShowProfileForm;

You can see this working in a demo:
http://asmprofiler.googlecode.com/files/DllTestApp%20v1.0.1.2.zip

Original comment by andre.mussche on 14 Jan 2009 at 2:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant