From Project Options, Parameters, use Add library or Object and select the libsmartwin.a. Enter '-lcomctl32' in the linker box on the next line. Execute Compile & Run should now build your program and run it. (Or it may be easier to simply copy an existing.dev file, rename it, and textedit the differences for your new project.). Aug 10, 2005 i cant get glut to work with dev-c. I used the glut.3.7.6+.DevPak to autoinstall everything, and i've checked everything seems to be in the right place, but when i try and compile i get a about a hundred linker errors, 'undefined reference to blah'. Any ideas whats wrong?
- Mar 28, 2013 How to add graphics.h header file in dev c You may be wondering how to add graphics.h in dev C. Dev C does not support BGI Graphics we have to include graphics library manually. STEP 4: Set linker parameters Navigate to 'Project' menu and choose 'Project Options'.
- Now, when you run the executable generated by Dev-C, the call graph profile file ('gmon.out') is not created. This, I think, is the reason why Dev-C keeps asking you to run your application over and over again, as you try to profile it.
Hello all i am working on a C++ console application using Dev c++ 5.11. I am trying to add resource file so they 'ship' with the .exe. in other words i need the resource files in this case .wav files to be embedded in the program so i can distribute the .exe and everything will work. this is what i have tried so far.
1. adding the . wav file to the project{and include with compilation)
2. making a notepad file saving it as a .rc then adding that to the program.
neither option worked for me can someone please in detail explain how this is done. I keep getting makefile errors every time i include the . rc file to the project. the program works and complies fine as long as i dont include the .rc file. i cant find any additional info or tutorials on the subject at all on the whole wide internet. so if someone is looking a make a tutorial video this would be a great subject to make it on.
the errors i get with the .rc file is 'recipe for target failed'
any help would be much appreciated this is day 3 trying to do this.
1. adding the . wav file to the project{and include with compilation)
2. making a notepad file saving it as a .rc then adding that to the program.
neither option worked for me can someone please in detail explain how this is done. I keep getting makefile errors every time i include the . rc file to the project. the program works and complies fine as long as i dont include the .rc file. i cant find any additional info or tutorials on the subject at all on the whole wide internet. so if someone is looking a make a tutorial video this would be a great subject to make it on.
the errors i get with the .rc file is 'recipe for target failed'
any help would be much appreciated this is day 3 trying to do this.
Are you linking with ws2_32.lib?
....................................
Erik Tkal
Juniper OAC/UAC/Pulse Development
![C++ C++](/uploads/1/2/6/1/126195415/880103161.gif)
From:[hidden email] [mailto:[hidden email]] On Behalf Of g A b R i E L
Sent: Friday, November 12, 2010 10:56 AM
To:[hidden email]
Subject: compiling openssl dev-c++
Sent: Friday, November 12, 2010 10:56 AM
To:[hidden email]
Subject: compiling openssl dev-c++
Dev C++ Linker Parameters 1
Dev C++ Linker Parameters Chart
Hi Users.
How I can compiling openssl in dev-c++ for Windows?
I tried with -lssl and -lcrypto in linker option (Project->Project Options->Parameters->Linker), but it not work.
Part of Compile log is:
'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0x40):bss_conn.c: undefined reference to `connect@12'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0xe4):bss_conn.c: undefined reference to `setsockopt@20'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0x192):bss_conn.c: undefined reference to `htons@4'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0x1bf):bss_conn.c: undefined reference to `htonl@4'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0x1d5):bss_conn.c: undefined reference to `socket@12'
...
'
I have installed the OpenSSL 0.9.8a package for Dev-C++
Thanks!!
gabriel
How I can compiling openssl in dev-c++ for Windows?
I tried with -lssl and -lcrypto in linker option (Project->Project Options->Parameters->Linker), but it not work.
Part of Compile log is:
'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0x40):bss_conn.c: undefined reference to `connect@12'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0xe4):bss_conn.c: undefined reference to `setsockopt@20'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0x192):bss_conn.c: undefined reference to `htons@4'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0x1bf):bss_conn.c: undefined reference to `htonl@4'
C:/Dev-Cpp/lib/libcrypto.a(bss_conn.o)(.text+0x1d5):bss_conn.c: undefined reference to `socket@12'
...
'
I have installed the OpenSSL 0.9.8a package for Dev-C++
Thanks!!
gabriel