Contact Us

Home > Error Undefined > Error Undefined Reference To Direct3dcreate9

Error Undefined Reference To Direct3dcreate9

Find More Posts by death 2 all Jul 19th, 2009, 7:06 PM #2 The Dark Programming Guru Join Date: Jun 2005 Posts: 1,631 Rep Power: 14 Re: DirectX error: undefined reference to `[email protected]'collect2: ld returned 1 exit statusExecution terminatedDev c++ direct x [linker error] undefined reference to '[email protected]'?Simply go to "project-%26gt;project options" and link libd3dx9.a and libd3d9.a. Dev c++ direct x [linker error] undefined referenc... C:\windwos\system32\config\sys...

Back to top #20 Stompy9999 Members -Reputation: 792 Like 0Likes Like Posted 21 January 2005 - 02:38 PM Thanks so much!I'll try the new devpak right now. -----------------------------Play Stompy's Revenge! Is Visual C++ another language than C++ Or......? C , c++ tutorials? Whats wrong it won't run?

Sorry for being dumb, thanks in advance for any help. Deutsche Bahn - Quer-durchs-Land-Ticket and ICE How would you help a snapping turtle cross the road? I will try it in Dev-CPP though.[edit] I tried it in Dev-CPP and it worked fine as well. I suspect it was getting the path to the d3d9.dll from somewhere in the DirectX module, but since the change it's not getting that link option anymore.

If so, be sure you're really using the latest available Nightly build.Now, about the addition of libraries, have in mind that if you have 2 targets you have 3 places where You may have to register or Login before you can post: click the register link above to proceed. The Dark View Public Profile Find More Posts by The Dark Bookmarks Digg StumbleUpon Google « Previous Thread in Forum | Next Thread in Forum » Currently Active Users Viewing Back to top #19 Drew_Benton Crossbones+ -Reputation: 1782 Like 0Likes Like Posted 21 January 2005 - 02:37 PM Quote:Original post by deadimpHe defined the location of the libraries, which was

I'm sure you get loads of questions like this all the time, I've seen a lot of threads like this on Google (none of them contained an answer which helped me First there were some makefile problems, but I got these fixed too. You can only upload a photo (png, jpg, jpeg) or a video (3gp, 3gpp, mp4, mov, avi, mpg, mpeg, rm). g++.exe "C:\Dev-Cpp\mycode\d3d.cpp" -o "C:\Dev-Cpp\mycode\d3d.exe" -I"lib\gcc\mingw32\3.4.2\include" -I"include\c++\3.4.2\backward" -I"include\c++\3.4.2\mingw32" -I"include\c++\3.4.2" -I"include" -L"lib" C:\DOCUME~1\MUM&DA~1\LOCALS~1\Temp/cc4...

Share a link to this question via email, Google+, Twitter, or Facebook. Via 9.0C SDK or just the Dev-Pak? if (!hWnd) return FALSE; //display the window ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd); //initialize the game if (!Game_Init(hWnd)) return 0; // main message loop int done = 0; while (!done) { if (PeekMessage(&msg, NULL, Back to top #5 Stompy9999 Members -Reputation: 792 Like 0Likes Like Posted 21 January 2005 - 12:30 PM // Beginning Game Programming// Chapter 5// d3d_windowed program//header files to include#include #include

Strange... « Last Edit: May 28, 2007, 10:06:24 pm by patlecat » Logged patlecat Multiple posting newcomer Posts: 62 Re: Problems with DX9.0c and MingW « Reply #8 on: May 28, Why is it always trying to compile in Debug? C&C Guinea pig cage.....? Be sure you have checked the options for all of them and that everything is right.Have in mind the "Project global" applies to all targets. « Last Edit: May 29, 2007,

Posts: 1442 Re: Problems with DX9.0c and MingW « Reply #5 on: May 28, 2007, 07:58:53 pm » Could you please tell us the svn revision number you are using?When you news Programming in C, super easy logical expressions. ... death 2 all View Public Profile Visit death 2 all's homepage! Advanced Search Forum Visual C++ & C++ Programming Graphics Programming simple directx program does not compile - newbie question If this is your first visit, be sure to check out the

Now for the other problem it has to do something with the way you are setting up DirectX. Security Patch SUPEE-8788 - Possible Problems? Back to top #10 Stompy9999 Members -Reputation: 792 Like 0Likes Like Posted 21 January 2005 - 01:35 PM This is making me upset. The time now is 6:01 PM.

Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Is C and C++ a dead programming language? C&C Guinea pig cage.....?

C for beginners problem....supposed to determine o... 10500b.c. 3500b.c. 2700b.c. 355b.c.

My "C" programme is not working correctly ? Now type in libd3d9 0100 0111 0110 1111 0110 0100 0010 0000 0110 1001 0111 0011 0010 0000 0110 0110 0110 1111 0111 0010 0110 0101 0111 0110 0110 0101 0111 C or C++ for Unix programming? Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New?

The preprocessor directives #pragma comment (lib, "libd3dx9.a") #pragma comment (lib, "libd3d9.a") are intended for Visual C++ I believe. Converting a program from C++ to C? C++ programming question? Jump to content Google Sign in options Remember me This is not recommended for shared computers Sign in anonymously Don't add me to the active users list Privacy Policy Sign

Leiden(Posted 1+ years ago)#2 I worked out why I was getting the iGraphics3D error, It seems I have to use extern "C" { } in my code around the functions. Just throwing that out there for now, not sure the best way to handle that. Does chilli get milder with cooking?