Home > Cannot Find > Sdl Cannot Find Lsdlmain

Sdl Cannot Find Lsdlmain

Contents

Lab colleague uses cracked software. What do I do? That is the only line I have in the Other Linker Options From this post I am guessing you are using Code::Blocks IDE, if not true say so! Setting up libsdl1.2debian:amd64 (1.2.15-8ubuntu1) ... http://stevemattley.com/cannot-find/qt-usr-bin-ld-cannot-find-lgl.html

Topic archived. Done Building dependency tree Reading state information... If I have placed it incorrectly so how should I place it? Try these setup instructions -- http://www.noquarterarcade.com/setting-up-a-codeblocks-project-with-sdl-on-windows   Quote: main.cpp: Code: #include "SDL/SDL.h" int main( int argc, char* args[] ) {     //Start SDL     SDL_Init( SDL_INIT_EVERYTHING );     http://stackoverflow.com/questions/29386232/sdl2-cannot-find-lsdlmain-and-lsdl-codeblocks

Cannot Find Lsdl2main

As another poster has already written, adding the library path or copying the libs from the SDL subdirectory to the top libs directory are two possible solutions. Then reload sources & see. If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.

Creating a game, from start to finish Recent additions How to create a shared library on Linux with GCC - December 30, 2011 Enum classes and nullptr in C++11 - This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out it links perfectly to lsdl2main and lsdl2 –Ryncops Apr 1 '15 at 9:32 @Ryncops well, what is the problem then? Sdl Download libsdl1.2debian is already the newest version.

And the error is that it cannot find IMG_Load() function 08-08-2013 #10 Matticus View Profile View Forum Posts Registered User Join Date Jun 2011 Posts 4,183 Verify that you replaced all Cannot Find Lsdlmain Eclipse I've begun to use the SDL. I am thinking to find some other ways to install them. http://www.cplusplus.com/forum/general/21848/ c++ sdl codeblocks share|improve this question edited Apr 1 '15 at 14:37 genpfault 35.7k83777 asked Apr 1 '15 at 8:34 Ryncops 606 add a comment| 2 Answers 2 active oldest votes

Why is the 'You talking to me' speech from the movie 'Taxi Driver' so famous? I read on lazy foo something about the compiler picking 32-bit libs over 64-bit , but I am using the 32-bit ones from the 32-bit folder, so I'm not sure if I've the SDL.dll in the project I have put the SDL_image.lib in the lib folder. Double quote value assignments stored in a CSV?

Cannot Find Lsdlmain Eclipse

Something like: Jim 08-08-2013 #12 DecoratorFawn82 View Profile View Forum Posts Registered User Join Date Feb 2013 Location Sweden Posts 116 Thank you! http://forums.codeblocks.org/index.php?topic=9216.0 Content © SDL Search: Forum General C++ Programming cannot find -lSDLmain cannot find -lSDLmain Apr 4, 2010 at 11:57am UTC avinash89 (3) This is the error i am receiving compiling Cannot Find Lsdl2main Browse other questions tagged c++ sdl mingw or ask your own question. Sdl Cannot Find Lsdl2 Should I allow my child to make an alternate meal if they do not like anything served at mealtime?

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed have a peek at these guys as you requested. Also, in addition to telling us which compiler you're using (per stahta01's request), also tell us which OS you're using. 08-08-2013 #9 DecoratorFawn82 View Profile View Forum Posts Registered User Join I finally figured out all the errors except this one: Code: -------------- Build: Debug in SDLTest --------------- Linking executable: bin\Debug\SDLTest.exe C:\Program Files (x86)\CodeBlocks\MinGW\bin\ld.exe: cannot find -lSDLmain collect2: ld returned 1 exit Undefined Reference To Sdl_init

Unpacking libsdl1.2debian:amd64 (1.2.15-8ubuntu1) over (1.2.15-8ubuntu1.1) ... Thanks for helping! . That, or remove SDLmain from the linker and use the backwards compatibility layer. http://stevemattley.com/cannot-find/rmdir-cannot-find.html I am running Windows Vista.

Join them; it only takes a minute: Sign up SDL2 - cannot find lsdlmain and lsdl. sdl share|improve this question edited May 23 '15 at 11:33 asked May 20 '15 at 19:22 Evan S 1021312 It looks like your system has a mix of trusty After replacing the linker options with -lmingw32 -lSDL2main -lSDL2 the linker stopped complaining about not finding missing statically linked libraries.

Code: #include #include "SDL/SDL.h" #include "SDL/SDL_image.h" using namespace std; void prtPNG() { SDL_Init(SDL_INIT_EVERYTHING); SDL_Surface *picture = NULL; SDL_Surface *screen = NULL; screen = SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE); picture = IMG_Load("MY_IMAGE.png");

I am running 64-bit Windows 7 by the way... So I go to lesson 1, setting up SDL and try configuring CodeBlocks/Dev C++/etc. EDIT2: Just found out i'm not alone with this problem, there is an old, unanswered question about the exact same problem on stackoverflow: http://stackoverflow.com/questions/17011028/i-can-compile-with-sdl1-2-but-not-with-sdl2-cb Source code: #include int main(int argc, I finally figured out all the errors except this one: Code: -------------- Build: Debug in SDLTest --------------- Linking executable: bin\Debug\SDLTest.exe C:\Program Files (x86)\CodeBlocks\MinGW\bin\ld.exe: cannot find -lSDLmain collect2: ld returned 1 exit

But it is still not working. I just copied lsdl2main back into the lib folder but under another name (lsdlmain). If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware. http://stevemattley.com/cannot-find/rundll32-cannot-find.html WebDéveloppement Web et Webmarketing Développement Web AJAX Apache ASP CSS Dart Flash / Flex JavaScript PHP Ruby & Rails TypeScript Web sémantique Webmarketing (X)HTML EDIEnvironnements de Développement Intégré EDI 4D Delphi

Basic Geometric intuition, context is undergraduate mathematics Two-way high power outdoor Wi-Fi Can a president win the electoral college and lose the popular vote My cat sat on my laptop, now A.B. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed SDL problem0Where are the compiled SDL libraries?1SDL app code arm linaro cannot find -lSDL0I can I install a 32 bit version of libsdl1.2debian on a 64 bit machine?1Do I have to

A good rule of thumb is to ask yourself "would a professional game developer give me a better/different/more specific answer to this question than other programmers?"" – Byte56If this question can If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices. So I now have both lsdl2main and lsdlmain, but they actually are the same library aka lsdl2main. The time now is 09:39 AM.

After building and installing SDL like this: svn co http://svn.libsdl.org/trunk/SDL cd SDL ./autogen.sh ./configure --prefix=/mingw make make install or extracting the mingw development package to c:\MinGW do this: gcc -o out.exe One more step Please complete the security check to access openclassrooms.com Why do I have to complete a CAPTCHA? What is this line of counties voting for the Democratic party in the 2016 elections? That is the only line I have in the Other Linker Options 08-08-2013 #2 Matticus View Profile View Forum Posts Registered User Join Date Jun 2011 Posts 4,183 Did you place

Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn 0 0 09/06/2009,16h20 #2 GR3lh442kR Membre confirmé Développeur informatiqueInscrit enfévrier 2008Messages283Détails du profilInformations personnelles :Sexe : Âge : 28Localisation : FranceInformations professionnelles :Activité : Installed all the 1.2.7 files SDL_image.h and SDL_image.lib. libsdl-image1.2 is already the newest version. Searched a lot in google to no avail.

I started learning C/C++ a month ago and nailed down all the basics and decided to try out LazyFoo's tutorial series. But it is still not working. However, trying to build the project always results to a build error of the form: `SDL_main': undefined reference to `SDL_Init' undefined reference to `SDL_Quit' undefined reference to `[email protected]' === Build finished: Apr 4, 2010 at 1:55pm UTC R0mai (730) try compiling with <...> -lmingw32 -lSDLmain -ISDL <...> Apr 4, 2010 at 3:05pm UTC Duoas (10453) Make sure you followed the instructions here:

I only have lsdl2main and lsdl2. Edit: Please state the name of your compiler. Please login or register.Did you miss your activation email? 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length News: When registered with our