Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Trying to use eclipse.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 SteveDeFacto   Banned   -  Reputation: 109

Like
0Likes
Like

Posted 15 January 2012 - 06:16 AM

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


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



Sponsor:

#2 wqking   Members   -  Reputation: 756

Like
-1Likes
Like

Posted 15 January 2012 - 07:48 AM

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.

http://www.cpgf.org/
cpgf library -- free C++ open source library for reflection, serialization, script binding, callbacks, and meta data for OpenGL Box2D, SFML and Irrlicht.
v1.5.5 was released. Now supports tween and timeline for ease animation.


#3 SteveDeFacto   Banned   -  Reputation: 109

Like
0Likes
Like

Posted 15 January 2012 - 02:29 PM

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.

#4 daviangel   Members   -  Reputation: 600

Like
0Likes
Like

Posted 15 January 2012 - 06:12 PM

Which version of Elipse are you trying to use?
As you know there is a billion versions and using the right version is the first problem Posted Image
Anyways, this might help.
Migrate Visual Studio C and C++ projects to Eclipse CDT
Don't talk about writing games, don't write design docs, don't spend your time on web boards. Sit in your house write 20 games when you complete them you will either want to do it the rest of your life or not * Andre Lamothe




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS