minGW, external problem
Jun 2, 2006 at 12:25am
minGW, external problem
I’m trying to use the Bloodshed IDE (which compiles with minGW 3.4.2) to whip up a couple of the externals provided as examples in the SDK. I can get everything imported okay, and it compiles with no errors. However, I put it in my externals folder, and it doesn’t work. I type in the object name and get “invalid external [name], undefined main”. I would assume this refers to the main function of the ext, which I did not change. Given that it compiled with no errors, I find this rather befuddling.
Jun 2, 2006 at 12:33am
If you searchthe jitter-dev forum for cygwin development, you may get
Jun 2, 2006 at 1:15am
On Jun 1, 2006, at 5:25 PM, Mike Sayre wrote:
It might be possible that it’s not exporting a main function (needs
gcc -shared -mno-cygwin -o minimum.mxe minimum.o minimum.def -L../../
> Anyone else have a similar problem with this or any other dev
I was able to have success with cygwin/mingw/gcc from the command
> I would really rather use Bloodshed.
Sounds promising, but you might be he first to wrestle with building
Best of luck.
Jun 2, 2006 at 1:03pm
On Thu, 1 Jun 2006, Joshua Kit Clayton wrote:
> decorated, though the former sounds more likely to me. Make sure that the GCC
I used cygwin to compile rtcmix~ for windows which draws upon a mixed
I also found this article on the web:
I haven’t read through it closely yet, but it looks like it contains some
Jun 2, 2006 at 2:15pm
Jun 2, 2006 at 5:38pm
for struct alignment you might want to try
the final pack pragma is to reset the struct packing to the default.
The default struct packing should be whatever is most efficient to
Jun 2, 2006 at 6:47pm
On Jun 2, 2006, at 7:15 AM, Mike Sayre wrote:
> I can’t seem to find a way through the IDE to set the struct
This as Mark specified can be set using compiler #pragma directives.
> The other major complication was finding the right libraries.
Are you writing your object in Obj C? Great language, but I don’t
I would suggest you approach the problem systematically:
1. download latest gcc, and mingw libraries together through cygwin’s
2. try to get the minimum object SDK example file compiling from the
3. try to resolve any issues with BloodShed and the minimum project
4. try to resolve any problems with your own extern in BloodShed
Jun 5, 2006 at 12:56am
You must be logged in to reply to this topic.