compiling with vs.net, got it to work :)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
Stellar
Posts: 48
Joined: Mon Dec 12, 2005 9:13 am

compiling with vs.net, got it to work :)

Post by Stellar »

Ive avoided posting for the past two days but I cant even think anymore.


1) im having issues building projects with visual studio.... I followed this thread [ How to compile, link and transfer PSP programs from VS.NET ] and ended up installing the (very cool) MSVC PSP Wizard. and right off the bat, I get an error....

Performing Makefile project actions
Converting Project1.vcproj...
make: psp-config: Command not found
Makefile:19: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'. Stop.
Project1 : error PRJ0002 : error result returned from 'c:\docume~1\stella~1\locals~1\temp\bat000012.bat'.

It seems like anything i set does not get defined. ie DIR=/path/

thanks again for any assistance, my mind thanks ye
Last edited by Stellar on Wed Jan 11, 2006 12:28 pm, edited 1 time in total.
Image
User avatar
Stellar
Posts: 48
Joined: Mon Dec 12, 2005 9:13 am

Post by Stellar »

Well, i got it.

i had to change my make batch file from this..

@VSMakefile.exe -a
@c:\cygwin\bin\bash -c 'export PROJECTDIR=`pwd`;/bin/bash --login -c "cd \"$PROJECTDIR\";%1 %2 %3 %4"'

to this ...

set path=%path%;C:/cygwin/usr/local/pspdev/bin
@VSMakefile.exe -a
@c:\cygwin\bin\bash -c 'export PROJECTDIR=`pwd`;/bin/bash --login -c "cd \"$PROJECTDIR\";%1 %2 %3 %4"'


is there a more appropriate place i can place the [ set path=%path%;C:/cygwin/usr/local/pspdev/bin ] command. like in my .bashrc script. ild like the value to be set anytime shell is called. I know the syntax is different for cygwin tho. any suggestions?
Image
Post Reply