Do you recommend a particular example or examples. Could you point me to these 
please.

Steve
  ----- Original Message ----- 
  From: Dan Tran [via Maven] 
  To: stevek 
  Sent: Monday, March 21, 2011 10:10 PM
  Subject: Re: Maven native:link naming exe


  do you have  chance to take a look at existing examples? 

  If the examples dont work out for you, perhaps a pom file will help to 
  figure out the issue 

  -D 

  On Mon, Mar 21, 2011 at 2:00 PM, stevek <[hidden email]> wrote: 

  > Hi All 
  > 
  > New to Maven and trying to figure out how I might use it for C++ projects 
on 
  > a windows platform. Downloaded Maven 3.0.2 and trying to use the Native 
  > Maven plugin. Using compiler provider msvc and compilerExecutable as cl I 
  > have been able to get source compiled. However when I try to link it seem 
to 
  > be using the wrong cl option i.e. /out rather than /Fe. I get the following 
  > type of output: 
  > 
  > [INFO] --- native-maven-plugin:1.0-alpha-7:link (default-cli) @ my-cpp-app 
  > --- 
  > [INFO] cmd.exe /X /C "cl 
  > /out:c:\Users\Steve\my-cpp-app\target\my-cpp-app-1.0-SNAPSHOT.exe 
  > target\objs\HelloWorldApp.obj" 
  > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 
  > 80x86 
  > Copyright (C) Microsoft Corporation.  All rights reserved. 
  > 
  > cl : Command line warning D9035 : option 'o' has been deprecated and will 
be 
  > removed in a future release 
  > Microsoft (R) Incremental Linker Version 9.00.21022.08 
  > Copyright (C) Microsoft Corporation.  All rights reserved. 
  > 
  > /out:HelloWorldApp.exe 
  > /out:ut:c:\Users\Steve\my-cpp-app\target\my-cpp-app-1.0-SNAPSHOT.exe 
  > target\objs\HelloWorldApp.obj 
  > LINK : fatal error LNK1104: cannot open file 
  > 'ut:c:\Users\Steve\my-cpp-app\target\my-cpp-app-1.0-SNAPSHOT.exe' 
  > 
  > Thanks in advance 
  > 
  > Steve 
  > 
  > 
  > -- 
  > View this message in context: 
http://maven.40175.n5.nabble.com/Maven-native-link-naming-exe-tp4239754p4239754.html
  > Sent from the Maven - Users mailing list archive at Nabble.com. 
  > 
  > --------------------------------------------------------------------- 
  > To unsubscribe, e-mail: [hidden email] 
  > For additional commands, e-mail: [hidden email] 
  > 
  > 

  --------------------------------------------------------------------- 
  To unsubscribe, e-mail: [hidden email] 
  For additional commands, e-mail: [hidden email] 




------------------------------------------------------------------------------

  If you reply to this email, your message will be added to the discussion 
below:
  
http://maven.40175.n5.nabble.com/Maven-native-link-naming-exe-tp4239754p4241740.html
 
  To unsubscribe from Maven native:link naming exe, click here.

--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-native-link-naming-exe-tp4239754p4243013.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to