First SDL application on the playbook, builds, but does not create a binary file.
/*This source code copyrighted by Lazy Foo' Productions (2004-2012) and may not be redestributed without written permission.*/ //Include SDL functions and datatypes #include "SDL.h" int main( int argc, char* args[] ) { //The images SDL_Surface* hello = NULL; SDL_Surface* screen = NULL; //Start SDL SDL_Init( SDL_INIT_EVERYTHING ); //Set up screen screen = SDL_SetVideoMode( 640, 480, 32, SDL_SWSURFACE ); //Load image hello = SDL_LoadBMP( "hello.bmp" ); //Apply image to screen SDL_BlitSurface( hello, NULL, screen, NULL ); //Update Screen SDL_Flip( screen ); //Pause SDL_Delay( 2000 ); //Free the loaded image SDL_FreeSurface( hello ); //Quit SDL SDL_Quit(); return 0; }
This generates without error, but does not generate a binary file to get started. Only a .o
Any suggestions?
EDIT: I am also including TCO with her. It's trip over. Did I miss something in my code for TCO runs correctly?
C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_create_read_struct' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `xmlStrncasecmp' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `xmlDocGetRootElement' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_init_io' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_get_image_height' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_get_image_width' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_create_info_struct' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_set_tRNS_to_alpha' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_set_longjmp_fn' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_read_image' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_set_palette_to_rgb' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `xmlReadFile' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `xmlFreeDoc' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_read_info' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_set_bgr' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `xmlCleanupParser' C:\Users\Acer\Desktop\TouchControlOverlay\Device-Debug/libTouchControlOverlay.so: undefined reference to `png_destroy_read_struct'
EDIT: missed me png and xml2
It seems to be missing the library 'png' on the link phase. Can you confirm for me that the link against it?
Go into the settings of your project, build C/c++, select tab "settings of the tool. You will see the folders 'QCC Linker, libraries' on the list. You must have "png" it.
Another way to check is when you compile look at the last line (the link phase, starting with "qcc o", you should see a '-lpng ' modifier.)
Tags: BlackBerry Developers
Similar Questions
-
upgrade to windows 10, cannot open itunes, it opened the first time, and imported all my songs, but does not open a second time, get the error that the path is not correct and file not found
Try to repair the security permissions for iTunes for Windows and the empty/corrupted after upgrade/crash iTunes library.
TT2
-
First elements of Windows 8.1 does not share the drive and folder out of operation but does not create something like never help
What version of the program do you use?
What steps do you take to share your video, and what happens when you do?
Is it only a DVD that will not be out of Premiere Elements, it or will it not exit/share any video size?
-
Laptop quick launch mute my computer Pavilion dv6-1050us button does not work properly. He puts the speakers muted, but does not change color. It's still orange, not mater if your speakers are on or off. His other (white) State works because it is white to start windows, but then goes to orange and does not change when selected but by selecting the button speaker turn the speakers on and outside as it should.
I've loaded and reinstalled the quick launch driver software (sp46731.exe), but the problem is still there. The problem is about 2 weeks old. Have not added any new software that I know. But computer installs updates as received.
SimonHello
First download the audio driver by using the links below and save the installer to your desktop.
Once the download is complete, right-click on the Setup program and select "Run as Administrator" to launch the installation - ignore the warnings that you can see everything that is an earlier version. Once the installation is complete, restart the laptop.
Kind regards
DP - K
-
I use creative cloud of Adobe Premiere Pro and it does not allow me to drag. In the line of time, only the audio files of the video MXF files. Video plays in the source window, but does not to drag me and thenedit on the time line with the. MXF files. audio will slide to the time line, but not the video. Interestingly, not later than end of December 2015 it allowed me to change with .mxf files, but no, it won't. Any help out there?
Neil, get it fixed, I do not have the video channels set correctly on the left
side of the line of the time. Learn the new adobe; Thank you
Monday, February 15, 2016 13:20, R Neil Haugen [email protected]>
-
New document opens in the layers panel, but does not appear in the workspace
new document opens in the layers panel, but does not appear in the workspace
Could you please reset the Photoshop preferences once.
Preference file functions, names, places | Photoshop CC 2014
-
I bought creative cloud + 500px great, have the activation code, but does not know where to enter. Can someone tell me what to do?
Please see the link How to activate/use Adobe CC Redemption Code
Hope this will help you.
Kind regards
Hervé Khare
-
How paste an accordion MENU navigation on a mobile scrollbar page and make it work properly?
Like I can't pin, I keep it at the top of the page with scroll effect 0.
It collapse, shows the menu buttons but does not close back once it reaches the anchorpoint.
Appreciate your help. Thanks.Guess I need to find another solution. Am an artist and don't know anything about coding.
-
I have CS4 and updated to OS x 7.5 to 10.5 Yosemite. Applications are still there, but can not be opened. After the restart, the application displays error 6. I have the
Original key, but does not have a place to enter.
We recommend that you reinstall the applications. You can use the Cleanup tool to remove the applications and products CS4 download from here.
-
I have a HP G60 Notebook PC with Windows Vista Home Premium, it is about 4 years old. I recently got a new Cisco Linksys E1500 wireless router, which is connected to my home computer. My laptop shows that it is connected to the home network, but it does not connect to the internet. Other laptops in the House are able to connect to the network and to the internet. Mine seems to be the only one not working do not. Why it is not working? What should I do about it?
I ran the network diagnostics. It is said "a problem with you network router or modem broadband could prevent an internet connection." I have disconnected these two and tried again. It did not work! I have also connected my laptop directly on the modem and it does not always connect to the internet. I tried to reset the network card. My IP settings are set to automatic.
My internet connection was not a problem before last week (when I got a new router). What is the problem with my computer? Help, please!
Hello:
If you have an Atheros wireless adapter in your PC and you have not updated the driver, I recommend that you install it.
Wireless adapters Atheros with former pilots, dislikes the new Linksys routers.
If you have an Atheros wireless card, and your wireless driver is more than 2 years, I am very confident that this will solve your connection problem.
Paul
-
My storm blackBerry smartphones comes on the screen upward, but does not show a picture!
My storm blackberry 9530 recently fell to the ground, but nothing happened. But today its very slow and most of the time the screen turns on but does not display any image at all, just a black screen
What can I do?
Hi Mxgaudelli,
Welcome to the BB Community Forum...
There seems to be a hardware problem... have u tried a reboot of your BB battery pull, if you have not then try it once... If the problem persists, I recommend you to visit a centre of Service of BB and they have a quick glance at your question...
-
Adobe photoshop cc 2015 is compatible with windows 10? Just upgraded Windows 8 and PS opens but does not work properly. INCREDIBLY SLOW. What I can do or should I return to Windows 8? Windows love 10. Disappointed.
Hi Ravenm,
Could you please check and make sure that Photoshop is updated to the latest version 2015.1.2
Also, please try the steps in the following article: Optimize performance Adobe Photoshop CC
Let me know if it helps.
Concerning
Tanuj
-
I need help
Windows Live Movie Maker does not support animated .gif files.
The following article is maybe worth a visit:
Windows Live Movie Maker - Animated GIFs
If you have an older version of Movie Maker you can import the
.gif to the file and save it as a .wmv file. Then use the .wmv in WLMM.And the free software IrfanView can extract the images of an animation
file .gif and you can import them into WLMM individually.Open a .gif animated in IrfanView and go... Options / extract all
Frames... Choose a destination directory, choose a format, left click
the Start button. -
Application builder appears complete but does not create executable not
I'm working on a major project (~ 5000 screws, LV2011 SP1, Win7 32 bit) and have recently from problems with the Application Builder. This is after 3-4 years of success is based on this project...
When I try to build my application of following higher level occurs:
1. "build status' window opens as usual and starts the processing of my file:
2. Subsequently, the progress bar reaches about halfway and the message becomes "Compilation."... » :
3. then the progress bar jumps sharply at the end and the message becomes "Save...". ». In addition, the 'Done' button becomes active, as if the build is completed. The window remains like this for always. Notes on this dialog box:
- The 'Explorer' and 'Help' buttons work normally in this State.
- If I press the 'Done' button (or close the window with the Red 'X') then the window closes but Labview is suspended. The only way out of here is to kill the process in Task Manager.
4. If I sail in my generation folder so I see temporary build files are still sitting here, i.e. the manufacturer failed to create my exe...
When I turn on logging, I see that all the files seem to be treated successfully (in comparison with a previous successful build log), but the paper stops before writing the article ' [output file Version]]... ".
Anyway - I'm trying to restore a large number of small changes to see if I can isolate that my changes of code causing the problem.
Someone out there knows what could cause request the manufacturer to get as much as he does, thinking it's done (even if this isn't the case)?
Thanks for all the ideas...
Well - I finally managed to isolate the problem... Corrupted code is attached!
The attached code is a version of a dialog box that is used in my project. The question turned out to be associated with the order by radio inside the tab control:
- If you open the library and then try to REMOVE the two controls private library (simultaneously), then you are greeted with the accident below report. NOTE: Remove the private items one-at-a-time does not cause the accident. (weird...)
- The same happens if you try to rename the library
The solution:
- The inclusion of this library in my project was originally my application build will fail every time.
- Given that the report mentions "RadioClust.cpp", I made the amazing jump that the question has been connected with the radio control... so I just unplugged all instances of this control their typedef. That seems to have fixed!
ASIDE: I have not checked if including this library in a different application will cause his generation to not too... Something to try out a rainy day!
-
When I select print the printer responds but does not print on the first attempt.
I have a printer HP psc 2170 and when I select print the printer responds but will print on the first attempt. It will start and then it is as if she is not detecting or responding and take up to 3 pages before it will print completely. I went back and set the parameters by default, unplugged the printer for a while and reconnected with no luck. Does anyone have ideas to help me solve it?
Hello
1. what version of Windows is installed on the computer?
I suggest you to follow these steps and check if that helps:
Method 1:
Try to run the printer Troubleshooter and check that if it helps, here is the link:
http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-TroubleshooterMethod 2:
Try to run the below fixit and check if this may help:
http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-printIt will be useful.
Maybe you are looking for
-
How to fix pop-up messages saying that my internet connection has a virus?
I keep getting messages that my internet connection was infected by a virus and dial a number. This message is authentic?
-
Slow down the WIN XP Pro desktop icons
Hello For some time, when I turn on my Windows XP Pro desktop computer, all icons appear on the desktop in their generic form (squares with dots of color on the inside). Then, one by one, the icons change very slowly, to their shape. No idea how to s
-
My computer works fine.
My task manager does not No matter what Antivirus will not open and some anitvirus not installed when I open the setup and then install automaticlly close any software fix that windows does not.And registry also does not work. Help me!
-
the printer isn't spooler.
-
Not getting my windows updates after downgrading to windows 7 Windows 10.
I was not able to update my computer after that I had to reinstall windows 7. I did Windows Update agent 7.6.7600.320, that I was stuck on this issue for 2 days now. I've tried everything. Help, please