forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SRC /r not working with /BINARY

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
simon



Joined: 05 Jul 2006
Posts: 152

PostPosted: Thu Dec 28, 2017 7:52 pm    Post subject: SRC /r not working with /BINARY Reply with quote

I have been having trouble linking a resource file from within Plato, and eventually worked out that SRC mfile.rc /r /BINARY mydir\resource.res is not working. I have confirmed that it does not work from the command prompt either. The resource.res file is created, but it is not being output in mydir. SRC without /r does output resource.res in the specified directory.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5499
Location: Salford, UK

PostPosted: Thu Dec 28, 2017 10:07 pm    Post subject: Reply with quote

I will take a look. Maybe /binary is only for .obj files and so doesn't work with /r (which is required for 64 bits).

What did you do from Plato? Did you work via a project?
Back to top
View user's profile Send private message
simon



Joined: 05 Jul 2006
Posts: 152

PostPosted: Fri Dec 29, 2017 5:01 am    Post subject: Reply with quote

Thanks, Paul. Yes, I was working from a project within Plato. The BuildLog contains the following:

SRC.EXE "C:\...\src\resource.rc" /r /BINARY "CheckMate\Win32\resource.res"

I have abbreviated the resource file directory. The project file is in a subdirectory of "C:\...\src\"

But I also tried from a command prompt using the same SRC command above.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5499
Location: Salford, UK

PostPosted: Fri Dec 29, 2017 4:50 pm    Post subject: Reply with quote

Yes I can confirm that /binary has no effect when used with /r.
I will make a note that it needs fixing.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5499
Location: Salford, UK

PostPosted: Fri Dec 29, 2017 5:41 pm    Post subject: Reply with quote

This has now been fixed for the next release of the resource compiler SRC.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group