[x86] [LINKER] Unknown error

Windows specific forum
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

[x86] [LINKER] Unknown error

Post by es_91 »

Image
"PureBasic - Linker error" / "Unknown error"

I don't know damn about why it happened, but even reinstallation of PureBasic 5.41 x86 does not allow me to compile or run anything.

All x86 installations on my PC refuse to compile! Tested with 5.31 and 5.41 - same error message.

5.00 x86 brings up this message instead:

Image
"PureBasic - Resource error" / "Unknown error"

Installations of 5.31 x64 and 5.24 LTS x64 work fine, however.

Before that error first came up i gave command (5.41 x86) to compile this:

Code: Select all

file$ = ProgramParameter (0)

file = OpenFile (#PB_Any, file$)

If file
  
  *memory = AllocateMemory (Lof (file))
  
  ReadData (file, *memory, Lof (file))
  
  string$ = PeekS (*memory, Lof (file))
  
  string$ = ReplaceString (string$, "EscapeString (", "HTTPRequest (#PB_HTTP_Get, ProgramFilename () + " + Chr (34) + ".xhp" + Chr (34) + ", ")
  string$ = ReplaceString (string$, ");", "), #Null)")
  
  FileSeek (file, 0)
  
  WriteData (file, @string$, Len (string$))
  
  TruncateFile (file)
  
  CloseFile (file)
  
  RunProgram (Trim (ProgramParameter (1), Chr (34)) + "Compilers\sbcompiler.exe", file$, "")
EndIf
; IDE Options = PureBasic 5.41 LTS (Windows - x86)
; CursorPosition = 26
; EnableUnicode
; EnableXP
; Executable = something.exe
Fred
Administrator
Administrator
Posts: 16687
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [x86] [LINKER] Unknown error

Post by Fred »

To be honnest, I don't know where to start to look at this bug. It can be anti-virus, or other software preventing correct file creation. The "unknown error" is from the linker (polink), so I don't have more info (it's not a PB error). If you can reproduce it, I could take a closer look.
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: [x86] [LINKER] Unknown error

Post by es_91 »

Sorry i see no way for reproduction. I did not have any anti-virus software installed.
Post Reply