Author Topic: Another free compiler alternative (with IDE)  (Read 32909 times)

0 Members and 2 Guests are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Another free compiler alternative (with IDE)
Define USE_LUA to get rid of the Lua warnings. I'm going to be taking out that #define tonight anyways, it keeps causing problems.
-C

 

Online Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Another free compiler alternative (with IDE)
If that's going to require people to download the Lua SDK (or whatever it is), then bad move.  Just keep the #defines up to date.

 

Offline Shade

  • 211
Re: Another free compiler alternative (with IDE)
Finally had another go, using VC++ 6 this time. Works much better, except for just a few errors:

error LNK2001: unresolved external symbol "void __cdecl ship_start_animation_type(struct ship *,int,int,int)"
error LNK2001: unresolved external symbol "public: __thiscall triggered_rotation::triggered_rotation(void)"
error LNK2001: unresolved external symbol "int __cdecl match_animation_type(char *)"
error LNK2001: unresolved external symbol "void __cdecl ship_animation_set_initial_states(struct ship *)"
error LNK2001: unresolved external symbol "int __cdecl ship_get_animation_time_type(struct ship *,int,int)"
error LNK2001: unresolved external symbol "void __cdecl submodel_trigger_rotate(struct model_subsystem *,struct ship_subsys *)"
Release/fs2_open_r.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.

The following environment variables were not found
$(FS2PATH)

There were actually several errors for each of those shown above, but weeded duplicates out for easier reading. Since the rest of the errors before were caused by missing dependancies, I assume these two are as well, but I simply can't seem to find out what. Anyone want to post a list of the dependacies on a working project so I can see what I'm missing? So close now and I'd really like to get this to work :) Especially since I know it should work with VC++ 6.

Windows Server 2003 R2 Platform SDK and DirectX 9 SDK (april 2006) are installed and linked.
« Last Edit: April 19, 2006, 12:54:11 pm by Shade »
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Another free compiler alternative (with IDE)
Be sure to add code/model/animation.cpp to the project file.

 

Online Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Another free compiler alternative (with IDE)
Yeah, that file was added only this week.  The project files haven't yet been updated.

Also, FS2PATH should point to C:\Games\FreeSpace2 or wherever you have it installed.

 

Offline Shade

  • 211
Re: Another free compiler alternative (with IDE)
Quote
fs2_open_r.exe - 0 error(s), 0 warning(s)
Adding that file solved everything. Thanks :) Now to have some fun.

[Edit] And it runs perfectly too. That was definitely worth the effort as well as the couple of bucks for a second (or third or fourth, given its age by now) hand copy of VC++ 6.
« Last Edit: April 19, 2006, 04:33:39 pm by Shade »
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Re: Another free compiler alternative (with IDE)
Did anyone ever get the MSVC_2005 version working?

I've already got a working setup with another compiler at home, but if I could compile with this VC2005Express, I could work on things more often, while away from my home computer.  If anyone has a working project from within the last, I dunno, 4 months, could they post it, or send it to me?

I mean, I've been trying all of what Shade was doing, but it's still running into problems.  If someone's got something already working it would save me a lot of time and frustration... :ick:

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Another free compiler alternative (with IDE)
I did get a VC2005Express project setup and building late last year (started from scratch, to work better than the CVS one).  The problem is that I don't have that stuff anymore.  It was in a virtual machine I was using with VMware, but I hosed it a couple months back and had to delete the VM and create a new one.  I've only gotten MSVC6 on it now, but if I get time this week I'll try and get 2005 back on it and create a new project file.  And I'll get it updated in CVS this time. :)

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Re: Another free compiler alternative (with IDE)
Woot.  Noticed the MSVC6 workspace was updated recently, so I took another few hammers at it :hammer: -- converting the May 15th MSVC6 workspace to MSVC2005.  Finally got it working!  Compile successful!  So don't worry about messing with VMware for my sake -- now I can compile when away from home as well [which partially explains my lack of activity] :)

What I did:
added libci.lib to Ignore Specific Library
added ole32.lib advapi32.lib gdi32.lib user32.lib to Additional Dependencies.

who knows, maybe there's other workarounds... those libraries are in the Platform SDK, so I would have thought they would have worked without having to specifically specify them.  heh, 'specifically specify'

Also, the openal\include  .h files were complaining that they were in Mac format, but eh, easy fix on my end.  Which reminds me, should I be submitting source files in Unix format, or is PC ok?  (I'm guessing 'real' compilers can handle all formats...  afaik VC2005 alone complains with only Mac format, which is dumb because VC2003 worked just fine. :rolleyes: But thought I'd doublecheck.)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Another free compiler alternative (with IDE)
Which reminds me, should I be submitting source files in Unix format, or is PC ok?
Unix (I believe everything is Unix already and we need to keep with one format).  I think that there is a WinCVS option to automatically convert everything to Unix format on commit though so it shouldn't be too difficult for you to deal with.  Other than PC files being larger, they can be a pain for non-Win platforms.  The files will compile fine but are extrememly annoying to edit on.

 

Offline CaptJosh

  • 210
Re: Another free compiler alternative (with IDE)
How about some project files for compiling this under Borland C++ Builder 6. I tried converting one of the MSVC ones and it didn't work. Just got errors that I have no idea how to fix.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Re: Another free compiler alternative (with IDE)
Well, depends which one 'one of' was... I'd recommend converting the MSVC_6 one as it's the only one of the MSVC I see that is recently updated.  And then, post some of your errors.  :)  Wow, I haven't touched the Borland stuff for ages.  Hope I can help.

 

Offline CaptJosh

  • 210
Re: Another free compiler alternative (with IDE)
I think that was the one I tried to convert, and I think it was *****ing multiple times about the same piece of syntax. I recently wiped and reloaded, so I'll have to reinstall, get the CVS into windows again, and try once more.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 
Re: Another free compiler alternative (with IDE)
What about WX-Dev C++ Its what a friend of mine recommended i use,
their website is http://wxdsgn.sourceforge.net/
its completely free completely open source. in case anyone wanted to try it out

  

Offline ShivanSpS

  • 210
Re: Another free compiler alternative (with IDE)
And what about the new 2008 version?

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Another free compiler alternative (with IDE)
Hmm, it's nice to know something is still going on with Dev-C++, I thought Bloodshed let it die.  I'll have to check out this WX version.  I've mostly moved to VC++ Express 2005 and Code::Blocks though.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Online Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Another free compiler alternative (with IDE)
Thread unstickied, due to the original link no longer being valid.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Another free compiler alternative (with IDE)
I would have updated it to the new link, since it's still free, or maybe even to the new VS 2008 Express Editions Beta2.

http://msdn2.microsoft.com/en-us/express/aa975050.aspx

Actually, I clicked the link in the first post, you just hit download and it takes you to the main page for the 2005 editions.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline akenbosch

  • Pretentious Noob
  • 29
  • doesent care about canon
Re: Another free compiler alternative (with IDE)
who unstickied this?

Burn the sucker out of the sky!
EAT PHOTONS INFIDEL! MAY THE HEAT OF A THOUSAND SUNS CONSUME YOU! :mad2:


snail gives a debriefing: http://www.hard-light.net/forums/index.php/topic,48825.msg991954.html#msg991954

 

Online Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Another free compiler alternative (with IDE)
:wtf:

Okay, you're banned for two days for being a complete moron.  Repeatedly.


@chief: Thanks (the old link no longer worked for me).  Link updated; thread restickied.