如上图。 该怎么创建工程?谢谢
15 个解决方案
#1
managed c++/c是msvc的,肯定没有,其它的你不是已经会了么?建立工程,添加文件。
自己写Makefile是愚蠢的行为,即便gnu的开发,也是使用Makefile工具,绝不会什么记事本+gcc+手写Makefile
自己写Makefile是愚蠢的行为,即便gnu的开发,也是使用Makefile工具,绝不会什么记事本+gcc+手写Makefile
#2
原来在LINUX 里用ECLIPSE 。基本的还是会的 , 可是现在转到WINDOWS下,怎么用呢 , 那个MAKEFILE怎么生成呢? 还需要什么工具吗?
#3
我感觉你的情况像是没有gcc,Windows不像Linux,大部分版本都带gcc且环境变量已配好。
Eclipse是纯ide,没有编译器,去下载个mingw(就是gcc for Windows)吧。
#4
是不是先用记事本写个CPP,然后import ,可是import是让选xml文件呀 , 不懂不懂 。 哪位高手帮我说说写个简单的工程的详细步骤 。
#5
推荐你用NETBEANS+MINGW5.1.6
#6
winGW 是装过 , 环境变量也是设置过的。
#7
请教一下,netbeans默认的C/C++工程只支持msys或cygwin的make,不支持mingw的make,如何弄?
#8
还有一些时候是自己先写一个生成makefile的工具
#9
修改下源码,应该不难吧
#10
其实你有DEVCPP,就可以配合Eclipse了
#11
Win下用Eclipse……您真幽默,不管在LIN下还是WIN下,Eclipse做C++开发都不怎么样吧。
宁肯用Code::Blocks
宁肯用Code::Blocks
#12
#
# There exist several targets which are by default empty and which can be
# used for execution of your targets. These targets are usually executed
# before and after some main targets. They are:
#
# .build-pre: called before 'build' target
# .build-post: called after 'build' target
# .clean-pre: called before 'clean' target
# .clean-post: called after 'clean' target
# .clobber-pre: called before 'clobber' target
# .clobber-post: called after 'clobber' target
# .all-pre: called before 'all' target
# .all-post: called after 'all' target
# .help-pre: called before 'help' target
# .help-post: called after 'help' target
#
# Targets beginning with '.' are not intended to be called on their own.
#
# Main targets can be executed directly, and they are:
#
# build build a specific configuration
# clean remove built files from a configuration
# clobber remove all built files
# all build all configurations
# help print help mesage
#
# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
# .help-impl are implemented in nbproject/makefile-impl.mk.
#
# Available make variables:
#
# CND_BASEDIR base directory for relative paths
# CND_DISTDIR default top distribution directory (build artifacts)
# CND_BUILDDIR default top build directory (object files, ...)
# CONF name of current configuration
# CND_PLATFORM_${CONF} platform name (current configuration)
# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration)
# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration)
# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration)
# CND_PACKAGE_DIR_${CONF} directory of package (current configuration)
# CND_PACKAGE_NAME_${CONF} name of package (current configuration)
# CND_PACKAGE_PATH_${CONF} path to package (current configuration)
#
# NOCDDL
# Environment
MKDIR=mkdir
CP=cp
CCADMIN=CCadmin
RANLIB=ranlib
# build
build: .build-post
.build-pre:
# Add your pre 'build' code here...
.build-post: .build-impl
# Add your post 'build' code here...
# clean
clean: .clean-post
.clean-pre:
# Add your pre 'clean' code here...
.clean-post: .clean-impl
# Add your post 'clean' code here...
# clobber
clobber: .clobber-post
.clobber-pre:
# Add your pre 'clobber' code here...
.clobber-post: .clobber-impl
# Add your post 'clobber' code here...
# all
all: .all-post
.all-pre:
# Add your pre 'all' code here...
.all-post: .all-impl
# Add your post 'all' code here...
# help
help: .help-post
.help-pre:
# Add your pre 'help' code here...
.help-post: .help-impl
# Add your post 'help' code here...
# include project implementation makefile
include nbproject/Makefile-impl.mk
# include project make variables
include nbproject/Makefile-variables.mk
这是NETBEANS的makefile。你怎么说啊?你用没用过啊 ?
#13
哎,俺vi Makefile有十几年了,从gcc 2.0 到现在的4.X.X,看来俺已经是无可救药的笨蛋了
#14
当然了,win下集成环境很多, 可是我就是觉得纳闷,在ECLIPSE中该怎么搞!就是想弄明白而已
#15
安装cdt插件吧
#1
managed c++/c是msvc的,肯定没有,其它的你不是已经会了么?建立工程,添加文件。
自己写Makefile是愚蠢的行为,即便gnu的开发,也是使用Makefile工具,绝不会什么记事本+gcc+手写Makefile
自己写Makefile是愚蠢的行为,即便gnu的开发,也是使用Makefile工具,绝不会什么记事本+gcc+手写Makefile
#2
原来在LINUX 里用ECLIPSE 。基本的还是会的 , 可是现在转到WINDOWS下,怎么用呢 , 那个MAKEFILE怎么生成呢? 还需要什么工具吗?
#3
我感觉你的情况像是没有gcc,Windows不像Linux,大部分版本都带gcc且环境变量已配好。
Eclipse是纯ide,没有编译器,去下载个mingw(就是gcc for Windows)吧。
#4
是不是先用记事本写个CPP,然后import ,可是import是让选xml文件呀 , 不懂不懂 。 哪位高手帮我说说写个简单的工程的详细步骤 。
#5
推荐你用NETBEANS+MINGW5.1.6
#6
winGW 是装过 , 环境变量也是设置过的。
#7
请教一下,netbeans默认的C/C++工程只支持msys或cygwin的make,不支持mingw的make,如何弄?
#8
还有一些时候是自己先写一个生成makefile的工具
#9
修改下源码,应该不难吧
#10
其实你有DEVCPP,就可以配合Eclipse了
#11
Win下用Eclipse……您真幽默,不管在LIN下还是WIN下,Eclipse做C++开发都不怎么样吧。
宁肯用Code::Blocks
宁肯用Code::Blocks
#12
#
# There exist several targets which are by default empty and which can be
# used for execution of your targets. These targets are usually executed
# before and after some main targets. They are:
#
# .build-pre: called before 'build' target
# .build-post: called after 'build' target
# .clean-pre: called before 'clean' target
# .clean-post: called after 'clean' target
# .clobber-pre: called before 'clobber' target
# .clobber-post: called after 'clobber' target
# .all-pre: called before 'all' target
# .all-post: called after 'all' target
# .help-pre: called before 'help' target
# .help-post: called after 'help' target
#
# Targets beginning with '.' are not intended to be called on their own.
#
# Main targets can be executed directly, and they are:
#
# build build a specific configuration
# clean remove built files from a configuration
# clobber remove all built files
# all build all configurations
# help print help mesage
#
# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
# .help-impl are implemented in nbproject/makefile-impl.mk.
#
# Available make variables:
#
# CND_BASEDIR base directory for relative paths
# CND_DISTDIR default top distribution directory (build artifacts)
# CND_BUILDDIR default top build directory (object files, ...)
# CONF name of current configuration
# CND_PLATFORM_${CONF} platform name (current configuration)
# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration)
# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration)
# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration)
# CND_PACKAGE_DIR_${CONF} directory of package (current configuration)
# CND_PACKAGE_NAME_${CONF} name of package (current configuration)
# CND_PACKAGE_PATH_${CONF} path to package (current configuration)
#
# NOCDDL
# Environment
MKDIR=mkdir
CP=cp
CCADMIN=CCadmin
RANLIB=ranlib
# build
build: .build-post
.build-pre:
# Add your pre 'build' code here...
.build-post: .build-impl
# Add your post 'build' code here...
# clean
clean: .clean-post
.clean-pre:
# Add your pre 'clean' code here...
.clean-post: .clean-impl
# Add your post 'clean' code here...
# clobber
clobber: .clobber-post
.clobber-pre:
# Add your pre 'clobber' code here...
.clobber-post: .clobber-impl
# Add your post 'clobber' code here...
# all
all: .all-post
.all-pre:
# Add your pre 'all' code here...
.all-post: .all-impl
# Add your post 'all' code here...
# help
help: .help-post
.help-pre:
# Add your pre 'help' code here...
.help-post: .help-impl
# Add your post 'help' code here...
# include project implementation makefile
include nbproject/Makefile-impl.mk
# include project make variables
include nbproject/Makefile-variables.mk
这是NETBEANS的makefile。你怎么说啊?你用没用过啊 ?
#13
哎,俺vi Makefile有十几年了,从gcc 2.0 到现在的4.X.X,看来俺已经是无可救药的笨蛋了
#14
当然了,win下集成环境很多, 可是我就是觉得纳闷,在ECLIPSE中该怎么搞!就是想弄明白而已
#15
安装cdt插件吧