Linker Error Undefined Reference To Selectobject 8
topic ForumsMembersHelp Files Developer Journals Gallery Calendar Downloads Resources Store Classifieds Tracker Links Home For Beginners Articles All Articles Post an Article Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL and Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile Development Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Music and Sound Visual Arts Business Breaking into the Industry Production and Management Interviews Business and Law Event Coverage Forums All Forums Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL & Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile & Console Development Build Systems & Source Control Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Writing For Games Music and Sound Visual Arts Gallery Business Breaking into the Industry Business & Law Production & Management Community GDNet Lounge Coding Horrors Article Writing Comments, Suggestions and Ideas Your Announcements Hobby Project Classifieds Indie Project Showcase Community Developer Journals Gallery Classifieds Jobs Freelancers Hobby Projects GDNet+ Membership Store Marketplace Newsletter » Home » Forums » The Technical Side » Game Programming Chat Watched Content New Content 0 Dev-C++... Linker Errors Started by caldiar, Mar 17 2005 05:38 PM 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 4 replies to this topic #1 caldiar Members -Reputation: 715 Like 0Likes Like Posted 17 March 2005 - 05:38 PM Hey everyone. Trying to get the sourcecode to a small RPG this guy sent to me to work. It was originally started with Dev-C++ but then ported to MSVSC (I believe th
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring http://www.gamedev.net/topic/307674-dev-c-linker-errors/ developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join http://stackoverflow.com/questions/6999086/linker-errors-when-statically-linking-libcurlopenssl-to-my-project them; it only takes a minute: Sign up Linker errors when statically linking libcurl+openssl to my project up vote 0 down vote favorite I am trying to statically link libcurl (with SSL) into my project, but I am encountering lots of linker errors: ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xa9c): undefined reference to `CreateDCA@16' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xaa9): undefined reference to `CreateCompatibleDC@4' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xaba): undefined reference to `GetDeviceCaps@8' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xaca): undefined reference to `GetDeviceCaps@8' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xae0): undefined reference to `CreateCompatibleBitmap@12' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xaee): undefined reference to `SelectObject@8' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xb00): undefined reference to `GetObjectA@12' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xb71): undefined reference to `BitBlt@36' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xb7b): undefined reference to `GetBitmapBits@12' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xbd2): undefined reference to `SelectObject@8' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xbd9): undefined reference to `DeleteObject@4' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xbe3): undefined reference to `DeleteDC@4' ../lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xbed): undefined reference to `DeleteDC@4' ../lib/librtmp.a(rtmp.o):rtmp.c:(.text+0x1b3b): undefined reference to `inet_addr@4' ../lib/librtmp.a(rtmp.o):rtmp.c:(.text+0x1ba4): undefined reference
+ Ask a Question Need help? https://bytes.com/topic/c/answers/876287-could-someone-please-help-me-fix-problem-ive-been-having-my-windows-gui Post your question and get tips & solutions from a community of 418,582 IT Pros & Developers. It's quick & easy. Could someone please help me fix this problem i've been having with my Windows GUI. P: 2 muddy22 I'm only having a problem with a small part, i'm linker error fairly new to computer programming and the program i'm using is Dev-C++. The part that i'm having a problem with is this: int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR CmdLine, int CmdShow); ;{ static WNDCLASS Wc; memset(&Wc,0,sizeof(Wc)); static MSG Msg; memset(&Msg,0,sizeof(Msg)); Wc.style=CS_HREDRAW | CS_VREDRAW; Wc.lpfnWndProc=WndProc; Wc.cbClsExtra=0; Wc.cbWndExtra=0; Wc.hInstance=hInst; Wc.hIcon=LoadIcon(NULL,IDI_WINLOGO); linker error undefined Errors: 54 C:\Users\Matthew\Dev-Cpp\Bouncing ball.cpp expected unqualified-id before '{' token 54 C:\Users\Matthew\Dev-Cpp\Bouncing ball.cpp expected `,' or `;' before '{' token Line 54 is the problem and it's the ";{" line. Please help me out with this problem, i honestly have no idea what i can do to fix it. Oct 30 '09 #1 Post Reply Share this Question 4 Replies Expert Mod 5K+ P: 8,916 Banfa Remove the ; at the end of the previous line and the beginning of that line 54. Make sure you have include Windows.h (directly or indirectly). Make sure you haven't #defined any symbols with clashing names. Oct 30 '09 #2 reply P: 2 muddy22 That didn't fix the problem, here is all of the work i've done. Expand|Select|Wrap|Line Numbers #include