LNK4204 error - can’t debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-14
12:12 PM
- last edited on
2021-09-15
11:53 AM
by
Noemi Balogh
On Mac I was able to debug flawlessly

On windows I’m getting lnk4204- says that API_c.pdb is missing and that it’s linking as if no debug info.
Even if I’m changing project settings to create API_c.pdb instead of myprojectname.pdb, it still can’t find it.
Thanks in advance!
- Labels:
-
Add-On (C++)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-14 06:53 PM
Ralph wrote:I am just using Ctrl alt p and attaching to ac process.
Are you usingStart Debuggingfrom VS to begin the debugging process?
That’s what I did Back with AC21 and worked..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-22 01:00 PM
On which platform toolset should I work and how if the answer is 2017? (Of course I prefer newest toolset)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-22 01:02 PM
Active Thread Ltd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-22 01:05 PM
Ralph wrote:Ok, seems like no errors but no debug too. I am using Windows SDK v10.0.17763.0
You should use the 2017 toolset. What kind of errors are you seeing?
Is it ok?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-22 01:12 PM
Active Thread Ltd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-22 02:38 PM
Ralph wrote:So I installed 8.1 SDK and now using it. Still can’t debug. Still error lnk4099 about the API_c.pdb not found..
The example projects use the Windows 8.1 SDK, so we're doing the same. I haven't seen any documentation with a specific recommendation for that.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-04-22 03:51 PM
Tomer1 wrote:The warning about
I installed 8.1 SDK and now using it. Still can’t debug. Still error lnk4099 about the API_c.pdb not found..
I can't think of many reasons for debugging not working. Do you see the console output in VS from ARCHICAD as it launches? If so, check the log to see if there are any anomalies reported when your add-on is loaded. Also check that you don't have a duplicate release build loaded (which would block the debug version from loading).
Active Thread Ltd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-06-10 11:30 AM
'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\ACLibraryManagement.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\GSXML.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\GSRoot.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\GSXMLUtils.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\InputOutput.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\TextEngine.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\Geometry.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\GSUtils.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\VectorImage.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\LibraryLocalization.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\LibraryManager.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\ObjectDatabase.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\BuiltInLibrary.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\TWClientBase.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\TWRoot.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\Teamwork.Server.ProjectManager.Common.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\VBUtils.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\AttributeManager.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\VBAttributes.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\ElementManager.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\VBElements.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\VBElemOperations.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\DG.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\GDL.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\Model3D.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\GSModeler.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\GSModeler2D.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\LibPartFile.dll'. Cannot find or open the PDB file. 'ARCHICAD.exe' (Win32): Loaded 'C:\Program Files\GRAPHISOFT\ARCHICAD 24\Pattern.dll'. Cannot find or open the PDB file.I really don't know what to do so i can make it work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-06-11 08:30 PM
Please note that while your Add-On is not loaded into memory the breakpoint will appear as disabled and comes alive only when your Add-On is executing a command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-06-15 09:53 AM
Thank you very much, Viktor Kovacs.
PS: Is it okay that I deleted the ALLBuild project from the projects?
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »