Werner,

I appreciate your encouragement and help. I was so
confused these several days. Here is what I get in the
project file:

<FileConfiguration 
Name="Release|Win32">
<Tool
Name="VCCustomBuildTool"
Description="Generating plhershey-unicode.h"
CommandLine="plhershey-unicode-gen.exe
D:/plplot-5.7.3/fonts/plhershey-unicode.csv
plhershey-unicode.h"
AdditionalDependencies="D:\plplot-5.7.3\VC2005\include\plhershey-unicode-gen.exe;D:\plplot-5.7.3\fonts\plhershey-unicode.csv;"
Outputs="D:\plplot-5.7.3\VC2005\include\plhershey-unicode.h"/>
</FileConfiguration>

In this configuration, the path seems
D:\plplot-5.7.3\VC2005\include\plhershey-unicode-gen.exe

But where I found the file on my computer for release
build is
D:\plplot-5.7.3\VC2005\include\release\plhershey-unicode-gen.exe
And for debug build is
D:\plplot-5.7.3\VC2005\include\debug\plhershey-unicode-gen.exe

It still does not seem to work after I modified the
project file manually. I am not sure though, as I just
tried once and got error again. Instead, I tried to
cheat again by copying a copy of
'plhershey-unicode-gen.exe' into the 'include' folder,
and build. Then there is no error anymore. And I got
an extra lib file 'csirocsa.lib', which was missing
yesterday. Hope that I got the right files this time.
I will try it soon.

Winson  


--- Werner Smekal <[EMAIL PROTECTED]> wrote:

> Hi Winson,
> > One question I have now is that how I should
> change
> > the configuration so that the compiler can find
> > 'plhershey-unicode-gen.exe' on my computer and do
> the
> > header file generation? Perhaps add a couple of
> lines
> > in CMakeLists.txt, but which one and what shall I
> add?
> > Thanks.
> >   
>  That you got this far is already a great success!
> As already told, 
> nobody tested so far the project files for Visual
> C++ 2005. Anyway, it 
> is no surprise that exactly here are some problems.
> First from c-code 
> 'plhershey-unicode-gen.exe' is build and than this
> exe must be run to 
> build the header file. I don't know why Visual C++
> 2005 doesn't find the 
> exe file, since in the CMakeLists.txt the path to
> that exe is explicitly 
> given:
> 
> add_custom_command(
> OUTPUT
> ${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode.h
> COMMAND
>
${CMAKE_CURRENT_BINARY_DIR}/plhershey-unicode-gen${EXEEXT}
> ${CMAKE_SOURCE_DIR}/fonts/plhershey-unicode.csv
> 
> via ${CMAKE_CURRENT_BINARY_DIR}. I can't test it in
> the moment, but you could have a look at the project
> file which is just a normal text file and find
> 'plhershey-unicode-gen.exe' and see what path is
> given. I think that this might be a cmake bug since
> this works for all other platforms/compilers tested
> so far.
> 
> regards,
> Werner
> 
> 
> 
> 
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Plplot-general mailing list
> Plplot-general@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/plplot-general
> 



 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to