ming in visual studio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I just downloaded version 0.4.0beta5.   I'm running windows XP with
the Microsoft Visual Studio Express C++. This compiles both C and C++
code. I tested a simple "hello world' file in c and I got an EXE when
I used the 'cl'  command, so I know that I'm able to compile C code.

Now I'm trying to compile some of the C samples that came with the
Ming download. A simple one I'm trying to get to work is this test.c
which I put in the ming-0.4.0.beta5\src directory :

#include <libming.h>
int main()
{
	SWFMovie m = newSWFMovieWithVersion(8);
}


I open the command line, I cd to ming-0.4.0.beta5\src  and set the
vsvars32 there by typing:  c:\Program Files\Microsoft Visual Studio
9.0\Common7\Tools\vsvars32.bat

Next, I type cl test.c /I./
The /I option (a capital 'i' not a lower case 'L')  is to search the
current directory for the includes.

This gives me an unresolved externals error:

test.obj : error LNK2019: unresolved external symbol
_newSWFMovieWithVersion referenced in function _main
test.exe : fatal error LNK1120: 1 unresolved externals

How do I fix this? Are there some CL options i'm missing?

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ming-users mailing list
Ming-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ming-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux