[WIN64] can't add .o to application

BlitzMax Forums/BlitzMax NG/[WIN64] can't add .o to application

Fielder(Posted 2016) [#1]
C:/BlitzmaxNG/MinGW32/bin/ld.exe: cannot find C:/Users/user/Google Drive/test/test.o

i've to remove this:

Import "test.o"


test.o contains ICON and application infos (name.. version.. etc..etc..)

but why the "cannot find" message? the file .o is in the correct place..
usually to make the .o file i use this command:

windres -i resource-WebCam.rc -o test.o


and the .rc contains:

101 ICON "test.ico"

1 VERSIONINFO 
FILEVERSION 13,0,0,0 
PRODUCTVERSION 13,0,0,0
FILEOS 0x40004
FILETYPE 0x1
{ 
BLOCK "StringFileInfo" 
{ 
 BLOCK "040904b0" 
 { 
  VALUE "Comments", "test"
  VALUE "CompanyName", "my company" 
  VALUE "FileVersion", "1xx" 
  VALUE "FileDescription", "test main application" 
  VALUE "InternalName", "test" 
  VALUE "LegalCopyright", "Freeware with no Warranty"  
  VALUE "OriginalFilename", "test.exe" 
  VALUE "ProductName", "test" 
  VALUE "ProductVersion", "1xx" 
 } 
}
BLOCK "VarFileInfo"
{
  VALUE "Translation", 0x0409, 0
}
}



Derron(Posted 2016) [#2]
Maybe that is connected to this relatively new issue by Brucey himself:

https://github.com/bmx-ng/bmk/issues/27


bye
Ron


Brucey(Posted 2016) [#3]
"Cannot find" generally refers to the fact that the object file is of the wrong format - so, an i386 file instead of amd64.

You cannot use an x86 object file with an x64 exe.