Jump to content
  • Advertisement
Sign in to follow this  
SteveDeFacto

Trying to use eclipse.

This topic is 2523 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Created an empty c++ project. Added a cpp file. Then I typed the following code:



int main()
{

return 0;
}


When I build it I get:

LINK : fatal error LNK1561: entry point must be defined[/quote]

That's when I use the Microsoft Visual C++ toolchain but when I use the GCC tool chain I get this error:




Cannot run program "make": Launching failed
Error: Program "make" is not found in PATH[/quote]

Share this post


Link to post
Share on other sites
Advertisement
Hi

From your another post about cross platform data type, I think you are focusing on cross platform C++ development.

Not to answer your this question, I would share my some experience on cross platform development.

1, Eclipse + CDT was a pain to me. AFAIR, I tried and gave it up immediately.
2, There is lacking of elegant cross platform IDEs. Code::blocks maybe good, but still painful to debug.
3, So, I would recommend, use a cross platform building system, which can generate project file for each IDEs.

Currently I'm using CMake. It works quite well with VC, MingW, Mac, Linux, and it can generate projects for VC, C::B, and XCode.
When I need to debug, I use CMake to generate project for VC and I use VC 2008 Express (Free!) to debug.
If I need to debug on Linux, just generate another project for C::B.
That's all, easy and elegant.

Just my 2 cents and very personal experience, hope it will help you.

Share this post


Link to post
Share on other sites

Hi

From your another post about cross platform data type, I think you are focusing on cross platform C++ development.

Not to answer your this question, I would share my some experience on cross platform development.

1, Eclipse + CDT was a pain to me. AFAIR, I tried and gave it up immediately.
2, There is lacking of elegant cross platform IDEs. Code::blocks maybe good, but still painful to debug.
3, So, I would recommend, use a cross platform building system, which can generate project file for each IDEs.

Currently I'm using CMake. It works quite well with VC, MingW, Mac, Linux, and it can generate projects for VC, C::B, and XCode.
When I need to debug, I use CMake to generate project for VC and I use VC 2008 Express (Free!) to debug.
If I need to debug on Linux, just generate another project for C::B.
That's all, easy and elegant.

Just my 2 cents and very personal experience, hope it will help you.


Yes that is what I'm trying to do and I'm actually already using cmake.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!